Eby
Eby

Reputation: 2789

SudzC iPhone Request

I wanted some clarification regarding SudzC for iPhone. Does SudzC support SOAP 1.2? I tried using SudzC with the web service http://www.restfulwebservices.net/wcf/CurrencyService.svc?wsdl and it works fine but with my web service it doesn't. The only difference I can spot is that the above service uses SOAP1.1 while mine used 1.2.

Regards,

EC

Upvotes: 2

Views: 755

Answers (1)

Sixto Saez
Sixto Saez

Reputation: 12680

You pretty much answered your own question. A service expecting a soap 1.2 message is not required to be backward compatible to soap 1.1 formatted messages. You can configure WCF to accept soap 1.1 messages by creating a custom binding as show here. Although that WCF config is for a client, you can also configure a service to use that custom binding. If the service needs to support soap 1.2 messages, you can just leave your existing endpoint configured as-is and create a new endpoint for the soap 1.1 custom binding.

Upvotes: 1

Related Questions