Click here to Skip to main content
15,882,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Any help would be appreciated.....
Hi... My application as a client which should call a web service, uses WSE 3.0.
I have problem with soap header(SoapVersion: 12) which my code generates.
My soap should be :

XML
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"xmlns:ins="http://soa.comptel.com/2011/02/instantlink">
  <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">



but what the code generates is this :

XML
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
  xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope">


Instead of
"http://schemas.xmlsoap.org/ws/2004/08/addressing" in ENVELOPE HEADER,
I want to have
"http://schemas.xmlsoap.org/ws/2004/08/addressing" in my SOAP HEADER,
also What should I do with extra nameSpaces in envelope part !?

my generated proxy class is :

C#
public partial class InstantLinkWebServices : Microsoft.Web.Services3.WebServicesClientProtocol {}
Posted
Updated 22-Jun-14 6:14am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900