467,883 Members | 1,310 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,883 developers. It's quick & easy.

SOAP Envelope 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
Oct 30 '07 #1
  • viewed: 2833
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Daniel Thune, MCSE | last post: by
reply views Thread by Daniel | last post: by
reply views Thread by info | last post: by
reply views Thread by Grzegorz Smith | last post: by
reply views Thread by broersen | last post: by
4 posts views Thread by thebjorn | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.