Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Soap Header
Message
General information
Forum:
ASP.NET
Category:
Web Services
Title:
Miscellaneous
Thread ID:
00614510
Message ID:
00614583
Views:
18
>>I need to use a SOAP Header to access a web service.
>
>I think you will have to inspect your proxy class code to replace that Authentication() call with the one that the web service defines. There is a SoapHeader framework class that you have to work with.
>

Thanks, I will try to find a way to integrate this in my app.
But there is no Autentication ref in the proxy code :(
I have to figure out how and where to place the f.. header in the proxy class.
The web service was not a ASP.NET service so I dont have acces to a .disco or asmx file to help me how to build this proxy class.

The sample client use soap toolkit COM for the client access.
I have to build the equivalent of the 'ClientHeaderHandler' COM object to make this work...

>By the way, how are you creating your proxy code? Are you using the wsdl.exe? Do you know if there is any GUI interface instead of using the command line?
>

You can do it by the use of wsdl.exe or directly in VS Studio.

In VS Studio you just have to add a WebReference to your project (right click on the project in the solution explorer pane) and a kind of wizzard ask for the address of the web service and create the proxy class for you.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform