soap

Which one is best for Iphone REST API or SOAP?

I am working on iPhone Applications. Recently i have used SOAP api to integrate with iPhone application. my main aspect of this particular query is whether SOAP is best or REST is best considering performance issue as a iPhone application. I have tried with SOAP, there will be frequent crashes happened to me. so is it better to use REST...

SOAP object over HTTP post in C# .NET

I am trying to compose a SOAP message(including header) in C# .NET to send to a URL using HTTP post. The URL I want to send it to is not a web-service, it just receives SOAP messages to eventually extract information from it. Any ideas on how to do this? ...

How do you catch a thrown soap exception from a web service?

I throw a few soap exceptions in my web service successfully. I would like to catch the exceptions and access the string and ClientFaultCode that are called with the exception. Here is an example of one of my exceptions in the web service: throw new SoapException("You lose the game.", SoapException.ClientFaultCode); In my client, I tr...

What does this line in a WSDL file mean?

In a Magento forum someone wrote that removing this line from the WSDL file has a huge impact on the performance of the SOAP server: <import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" /> What does this line actually do? Can it really be removed? (Everything...

Need Standard Approach to create a SOAP interface for a deployed REST service

We want to allow our enterprise of service providers to deploy REST or SOAP solutions. These services will become candidates as an "authoritative" service endpoint for a specific request made by a consumer to an enterprise broker. Therefore, we want a mechanism to create a SOAP based interface for exposure by the broker when a provider...

Sending form data to web service + call request

I am in the process of creating a system that sends specific user data to a web service. Basically, the user enters his name, telephone number and reference number. He then selects whether he is called immediately or at a specific time. This information that is sent is then added to a dialler system and the calls back are generated fr...

Signing SOAP messages using WSS4J

We need to sign a SOAP message with a certificate in Websphere 7. Currently we are looking at using WSS4J from Apache and are approaching this in the java code itself. Does anyone have any experience signing SOAP messages in Websphere or otherwise? ...

Integrating Fedex into your web application

I realize they have an API but some of the questions I have wouldn't be answered by it, and it would be great to receive feedback from others who have integrated it before. I basically am working with a web site where visitors may choose to sell a used item to the site owner. If the user decides to sell, he can enter in the...

Using SoapFormatter to Serialize Selective Properties of a Class

Hi I need to serialize several fields of my class class Foo { Guid value1; decimal value2; SomeCustomEnum value3; } Can I serialize all fields one by one: MemoryStream ms = new MemoryStream(); SoapFormatter sf = new SoapFormatter(); sf.Serialize(ms,value1; sf.Serialize(ms, value2); ...

SOAP calls using EventMachine

Is there any way to make non-blocking SOAP requests within EventMachine? I'm creating a ruby application which interacts with the google adwords api (which is SOAP based), using the adwords4r gem. The application uses EM to receive messages over a stomp connection, and then processes those messages by making SOAP calls to the adwords a...

Rails and actionwebservice: SOAP version 1.1 and 1.2

I am using SOAP web services with a Rails application. The rails application is the server in this instance; clients are mixed platforms. I am using datanoise-actionwebservice 2.3.2 and Rails 2.3.5. I want to know how to alternate between publishing a SOAP 1.1 and SOAP 1.2 web service, or even if this is possible. Help appreciated. ...

Consuming WCF REST service in multiple ways (.Net, plain XML)

I have become quite frustrated of WCF as I just want to use this simple scenario: Provide a webservice using REST, with a UriTemplate like /method/{param1}/{param2}/ and a 3th parameter that is sent to the service as XML as POST data. Use just plain XML, no SOAP overhead. Be able to generate a proxy in Visual Studio so a .Net using cli...

Is SOAPpy the same thing as SOAPy?

I would normally read the documentation to figure that out, but the links from both websites are on sourceforge and both are 404ing. ...

Calling web service (SOAP) with PHP involving enums

I wish to call a web service, using SOAP, from PHP (using the included SOAP extension). The web service in question is http://www.webservicex.net/CurrencyConvertor.asmx Now the Currency type is an enum, and I cannot figure out how to work with these in PHP in order to be able to call the 'ConversionRate' function. I know I have to do so...

PHP SoapClient call response missing parts of answer

I am having trouble with PHP parsing of a SoapClient call's response. For some types of answers, it is returning arrays of empty stdClass objects instead of initialized stdClass objects. The server is a java webservice deployed with axis2 on tomcat6. The Java signature of the problematic service call is public Course getCourseDetails(...

Sugar CRM Soap call not working properly

I have sugar crm instance and i was trying to get some data from it using soap service. Below is the code which i am using for it. When i run the same code , sometimes it is returning correct data, sometimes it not. Can any one tell me what the problem is?? include "nusoap.php"; $client = new soapclient('http://asdf.net/test/urba...

Python SOAP client library using a HTTPS connection with keys

I want to query a SOAP service that requires the use of keys. I could write a SOAP client myself making use of httplib's HTTPSConnection, I'm pretty sure that would work, but it means I have to write a load of XML. Is there a nicer way to do this? Perhaps getting an existing SOAP library to use a HTTPSConnection object. I found an exam...

Tools to test WSE enabled SOAP service

Is there a tool that can test WSE-Enabled SOAP Web service? ...

Masking sensitive information when logging from IClientMessageInspector

I'm using WCF (.NET 3.5) to communicate with a server using SOAP. When running in debug mode, I use System.ServiceMode.Dispatcher.IClientMessageInspector and log4Net to log the request content. public object BeforeSendRequest(ref Message request, IClientChannel channel) { log.Debug(request); } My difficulty is that sometimes t...

Sugar CRM Soap call not working properly

I am using a soap call to sugarcRM instance which is given below $response = $client->call('get_entry_list',array('session'=>$session_id,'module_name'=>'itf_Apartments', "query"=>"itf_apartments_cstm.neighborhood_c='$neighborhood'", 'order_by'=>'','offset'=>'','select_fields'=>array($type))); // Check for a fault if ($client->fault)...