arishanapalli / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

Content type "application/soap+xml" creating problems #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. created objC files from wsdl using wsdl2objc 0.6
2. followed the usageInstructions
3. Run the Project
4. response was

"System.Web.Services.Protocols.SoapException: Unable to handle request without 
a valid action parameter. Please supply a valid soap action."

What is the expected output?
in function "(void)sendHTTPCallUsingBody" in servicename.m(created using 
wsdl2objc)
content type should be "text/xml"

What do you see instead?
content type: "application/soap+xml"

What version of the product are you using? On what operating system?
wsdl2objc 0.6
Mac OS X 10.6.3
xCode 3.2.3
web-service: tried many web services from webservicex.net

Please provide any additional information below.

working fine when I change the content type to "text/xml"

Original issue reported on code.google.com by harshava...@gmail.com on 20 Jan 2011 at 1:26

GoogleCodeExporter commented 9 years ago
That's because your server is a SOAP 1.1 server, and this generates 1.2 code.
We should add a version parameter that would conditionally generate the 
MIMEType for you.

Original comment by hasse...@gmail.com on 28 Feb 2011 at 8:32