Hello everyone,
For some non-technical reasons, I can not change the web services implementation code at server side, but only the generated WSDL. Now I want to manipulate the WSDL of the web services to let it require client (web services consumer) to send some additional SOAP headers in each request.
My question is any reference documents about how to manipulate the WSDL so that each time when client is using the WSDL to generate the proxy, it could already have the data structures and other handy things in the proxy so that it is very convenient for the client to send request including the new SOAP headers. Any referred document to do this?
thanks in advance,
George
George GeorgePosted Sep 15, 2008, 8:54 AM
The sample is about how to add SOAP header from Web Services client, but my question is about how to add SOAP header from server side -- to add SOAP header into WSDL at server side directly. So, the input to me is a WSDL file and the output is a modified version of WSDL which adds specific SOAP header to some web services methods. Any comments?
regards,
George
Bechir BejaouiPosted Sep 14, 2008, 7:21 PM
George GeorgePosted Sep 11, 2008, 10:22 PM
It is something Java? I need to do it in C#. :-)
regards,
George
Bechir BejaouiPosted Sep 11, 2008, 10:20 PM
George GeorgePosted Sep 11, 2008, 8:38 PM
Thanks Bechir,
As I said before, for some legacy reasons, I can not change the code for the services at server side. I could only change the web services' WSDL content which could let client to refresh to generate new content. My purpose is to add a new SOAP header.
Any ideas or reference samples?
regards,
George
George GeorgePosted Sep 11, 2008, 8:38 PM
Thanks Bechir,
As I said before, for some legacy reasons, I can not change the code for the services at server side. I could only change the web services' WSDL content which could let client to refresh to generate new content. My purpose is to add a new SOAP header.
Any ideas or reference samples?
regards,
George
Bechir BejaouiPosted Sep 11, 2008, 7:55 PM