Closed GoogleCodeExporter closed 8 years ago
Did you use SOAP 1.2 ?
Looks like you're sending SOAP 1.1 to a SOAP 1.2 server.
Original comment by hasse...@gmail.com
on 28 Feb 2011 at 8:25
LocalTimeSoap12Binding *binding=[[LocalTimeSvc LocalTimeSoap12Binding] initWithAddress:@"http://www.ripedevelopment.com/webservices/LocalTime.asmx"];
binding.logXMLInOut=YES;
LocalTimeSvc_LocalTimeByZipCode *request=[[LocalTimeSvc_LocalTimeByZipCode alloc] init];
request.ZipCode=@"29687";
LocalTimeSoap12BindingResponse *resp=[binding LocalTimeByZipCodeUsingParameters:request];
for(id mine in resp.bodyParts)
{
if([mine isKindOfClass:[LocalTimeSvc_LocalTimeByZipCodeResponse class]])
{
NSLog(@"%s",[mine LocalTimeByZipCodeResult]);
}
}
Original comment by lingxin...@gmail.com
on 1 Mar 2011 at 2:03
How to set the default soap1.2
Original comment by lingxin...@gmail.com
on 1 Mar 2011 at 3:04
Well if you're using the Soap12 methods (which you are), the request should
send "application/soap+xml" and expect to receive the same. I'd need to see
what you're sending to the server.
Original comment by hasse...@gmail.com
on 1 Mar 2011 at 5:42
Thank you very much.
The issue have been solved.
Original comment by lingxin...@gmail.com
on 4 Mar 2011 at 2:28
Original comment by hasse...@gmail.com
on 4 Mar 2011 at 6:32
Original issue reported on code.google.com by
lingxin...@gmail.com
on 28 Feb 2011 at 7:50