soap

Why would a WebService return nulls when the actual service returns data?

I have a webservice (out of my control) that I have to talk to. I also have a packet-sniffer on the line, and (SURPRISE!!!) the developers of the webservice aren't lying. They are actually sending back all of the data that I requested. But the web-service code that is auto-generated from the WSDL file is giving me "null" as a value. UP...

iphone web service access

Hi, I have .net webservice methods login and summary. After getting the result from login, I need to show second view and need to call summary method. I am following this tutorial. http://icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/ I created two new classes loginaccess.h and loginaccess.m. @impl...

C# incorrectly parsing array type from SOAP

I have a SOAP service that returns an array of a complex type. The definition in NuSOAP in PHP looks like this: // The type itself $server->wsdl->addComplexType( "Clip", "complexType", "struct", "all", "", array( "Id" => array( "name" => "id", "type" => "xsd:int" ) // ---snip--- ...

Transferring binary data through a SOAP webservice? C# / .NET

I have a webservice that returns the binary array of an object. Is there an easier way to transfer this with SOAP or does it need to be contained in XML? It's working, but I had to increase the send and receive buffer to a large value. How much is too much? Transferring binary in XML as an array seems really inefficient, but I can't see...

Problem parsing a soap response (iphone / touchxml)

Hi I make a webservice and it works, the problem is with the webservice response. I have this xml (and i want to parse with touchxml), the problem is with touchxml that it founds two xml, one inside the other and it make crash. Here is my question, how i can parse this xml? how i can remove all the stuff like soap-env, xmlns .... <?xml ...

WCF Webservices and FaultContract - Client's receiving SoapExc insted of FaultException<TDetails>

Hi All, i'm developing a WCF Webservice and consuming it within a mvc2 application. My problem is that i'm using FaultContracts on my methods with a custom FaultDetail and i'm throwing manyally the faultexception but when the client receive the exception , it receives a normal SoapException instead of my FaultException that i throwed fr...

PHP nuSoap issue when connecting to a .NET server: "Object reference not set to an instance of an object."

I am currently working on a SOAP project using PHP. The script is connecting to a remote .NET service server. I get a nice response using the HelloWorld action the provide, but when the script goes to get any other data using other actions, I get "Object reference not set to an instance of an object." in a diffgram sub array of ...

Implementing a SOAP 1.2 server with Rails 3

SOAP? Why would you use that? I am using Ruby Enterprise Edition and Rails 3 to write my web application. The application uses Ustream's Watershed white label broadcasting services to provide live streaming for my users. Unfortunately I have hit a snag during development. Watershed allows an application to provide it's own authentic...

Serialization problem: Different namespaces (.NET)

We released a program that serializes a very complex object using the .NET soap formatter. Soap didn't handle new versions of the classes involved very well so we're switching to the binary formatter. To handle old object versions, I wrote a converter that deserializes the object in soap, and re-serializes it in binary. The converter ...

Best way to generate a soap xml message?

What is the best way to generate soap xml in c#? I prefer to use xml-serialization if possible. Also, I need to add some custom attributes to the soap header, so not sure if this complicates things. One more note: I'm connecting to a soap server on a linux server over TCP - the soap server was built in C++. Also, the soap server do...

gSOAP: How to send encrypted SOAP header

I want to send some info, like user credentials in the SOAP header from my gSOAP client to my WCF webservice. I wish I could send them in encrypted form. I am using GPRS to commuicate. As GPRS bandwidth is low, I don't want to use HTTPS. So I want to encrypt the header only. Is it possible? If yes, how? Please guide me. ...

wsimport and header params for logging

I have this situation. Generating form based on the WSDL. I made it but I came to the situation when the wsimport tool generates classes with methods with params for header(for authentication) and the params are not just simple types. But some complex. The problem is that I dont know which classes will be generated so I need simple type...

SOAP app variables - NSNumber or NSString for integer?

In a SOAP app, all communication with the server is as text, when the server needs an integer it is the text value that gets sent and returned integers are sent back as text. To have the app working with integers one has to convert the returned strings into numbers e.g. NSInteger but then to, for example, save them to an array they must...

maximum string length quota error consuming WCF webservice from Biztalk.

I'm getting this error message "The Maximum string content length quota (8192) has been exceeded while reading XML data. This quotea may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader" In the one of my orchestrations that consumes a wcf webservice...

Make Visual Studios "Add Service Reference" Feature use an existing Class

When I add a service reference to my Visual Studio 2010 C# project, a new class for one of the types defined in the WSDL will be generated. A de-facto equivalent definition of that type already exists in our solution in a different assembly. When adding the SoapTypeAttribute to the existing class and replacing the references to the gene...

Required element did not contain a wsu:id ??

Hey, I am new to soapUI 3.5. I tried some wsdl that acquire security against web service deployed on jboss 4.2.1 while running test on soapUI . It gives me <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&gt; <env:Header/> <env:Body> <env:Fault> <faultcode>env:Server</faultcode> <faults...

Looking for a RESTful or SOAP pipeline between WordPress and InterWoven TeamSite

I've been Googling my brains out trying see if there's a simple way to bridge content to and from WordPress to and from TeamSite. I'm coming at this from the perspective of a WordPress developer. I see in the book "The Definitive Guide to Interwoven TeamSite" (http://bit.ly/d3z4wI) mention of objects for the Interwoven LiveSite product:...

Help with SOAP request using PHP

I'm having a SOAP related problem in PHP. I'm trying to create arbitrary SOAP request using Nusoap_client class. The complete request including headers should look like the example below. Ofcourse the placeholders (string) should be replaced with actual values. POST /services/RecipeCouponAPI11.asmx HTTP/1.1 Host: example.com Content-Typ...

Axis webservice calls fail sometimes, access.log shows content!

Hi, our app is a webservice client (axis 1) to a third party webservice (also axis 1). We use it for some years now. Since a few weeks, we (as a client) get sometimes HTTP status 400 (bad request) or read timeouts when calling the webservice. Strangely, the access.log of the service shows part of the request or the response instead of...

Soap Delphi Client end with a timeout for a 1MB call

Hi, we are developing a SOAP webservice (Apache/PHP). All run well for small size calls, but with a 1Mb soap call (the HTTPS call size is 1MB) our Delphi Soap client stop with a timeout on all PC but one, and our PHP clients run well with a default_socket_timeout=300, but stop with a "Error Fetching http headers" with default_socket_ti...