Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

ws Addressing problem

$
0
0
Any help would be appreciated.....

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 :

 

     <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soapenvelope"here
    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 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 name Spaces in envelope part !?

   

my generated proxy class is :

     public partial class InstantLinkWebServices : Microsoft.Web.Services3.WebServicesClientProtocol {}

Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>