Question

SOAP Webservice namespace with # before action

  • 23 September 2022
  • 3 replies
  • 52 views

Hi,

I’m implementing my own SOAP Webservice based on the provided WSDL.

 

At the provided WSDL the trailing slash is replaced by a # before the action.

Ex.: http://www.sonos.com/Services/1.1#search

At my implementation the action URL si the following

Ex.: http://www.sonos.com/Services/1.1/search

 

So the calls to my SOAP Webservice fail with the following error:

System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://www.sonos.com/Services/1.1#search.

 

I’ve already added my custom music service to the device at the APP but I get no calls to the API

 

My Web Service is implemented with C# ASMX


3 replies

Why reinvent the wheel?

 

https://github.com/search?l=C%23&q=sonos&type=Repositories

Userlevel 7
Badge +22

If you are going to post StackOverflow-type questions here, please include the full request/response payload.

Yes, you are so right!

Somehow I've missed this repositories.

 

I’ll take a look to them
Much appreciated for your input! 

Reply