Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Soap message w/http authorization question...

Thread Tools

Soap message w/http authorization question...

Posts: n/a

I'm new to using WSE and sending SOAP messages - and I'm trying to
figure out how to incorporate Http authorization. I am trying to send
a SOAP envelope to a web service that requires http authorization and
follows basic credential format, and I'm not really sure what I need
to do.

I've been looking at the WSE samples from Microsoft, and have an
understanding of what I need to do to build the message with the
SoapSender & SoapEnvelope classes, but how would I attach the
credential/login/password information? Here is what needs to go with
the SOAP envelope:

POST /MyLocation/Directory HTTP/1.1
SOAPAction: ""
Authorization: Basic
User-Agent: Java/1.4.2_08
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 366
[SOAP envelope]

Can anyone point me to any samples or information how this would be
incorporated into the SOAPEnvelope object?

Thanks for any help,
Greg Removed)
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add SOAP header to a SOAP message? Peter van der veen ASP .Net Web Services 6 11-14-2006 06:44 PM
URL Authorization does not override File Authorization? SeanRW ASP .Net Security 1 05-25-2006 06:18 AM
how to use servlet to receive message (not soap message) John Java 8 03-28-2005 01:39 PM
writing a SOAP message service, how do I get the attachment from a message? rabbits77 Java 0 02-26-2004 08:52 PM
access denied message for failed authorization Edward Jones ASP .Net 0 08-07-2003 08:26 PM