Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Tue, 30 Oct 2007 20:34:39 +0100,    group: microsoft.public.xml.soap        back       


Soap Header   
Hello,

Does someone know how to create manually the header for an SOAP message, 
without having an WSDL?
I also use an X509 certificate for connecting to the webservice. Can anyone 
help me to get on the right road.

I have to talk to an old Java webservice, so that's why I don't have an 
WSDL.

I'm sending it with HTTPWebRequest or HTTPSWebRequest with VB but I needed a 
header like this:

Request:
<SOAP-ENV:  Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header>
    <kai:indentificatie xmlns:kai="http://www.url.com" >
        <Time>10:45</Time>
        <User>xxxxxx</User>
        <ServiceName>xxxx</ServiceName>
    < ExternalID>xxxxxx</ExternalID>
    </ kai:indentificatie>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
        <test></test>
    </SOAP-ENV:Body>
</SOAP-ENV:  Envelope >


The response what I have to read looks like thisL:

Response:
<SOAP-ENV:  Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header>
    <kai:indentificatie xmlns:kai="http://www.url.com" >
        <Time>10:45</Time>
        <User>xxxxxx</User>
        <ServiceName>xxxx</ServiceName>
    < ExternalID>xxxxxx</ExternalID>
    </ kai:indentificatie>
    < kai:Result>
        <Code>xxxx</Code>
    </ kai:Result>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
        <test></test>
    </SOAP-ENV:Body>
</SOAP-ENV:  Envelope >

Regards.
Wilco
date: Tue, 30 Oct 2007 20:34:39 +0100   author:   broersen

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us