Advertisement

07.01.2008 at 08:26AM PDT, ID: 23530545 | Points: 500
[x]
Attachment Details

How do I call a Web Service from Classic ASP that uses WSE 2.0 Security

Asked by NetworkArchitek in Active Server Pages (ASP), Programming for ASP.NET, SOAP

Tags: ,

I need help on how to call this web service. I can't give much details about it as it is proprietary to *another* entity. But I can tell you that it is uses WSE 2.0 security. In the SOAP Header documentation it has the section:

..
<soap:Header>
   <wsse:Security soap:mustUnderstand="1">
      <wsse:UsernameToken namespace>
        <wsse:Username>Username</wsse:Username>
        <wsse:Password Type="type info">Password</wsse:Password>
        <wsse:Nonce>nonce</wsse:Nonce>
        <wsu:Created>date created</wsu:Created>
       </wsse:UsernameToken>
   </wsse:Security>
</soap:Header>


How do I call this service from Classic ASP. I can call it from an ASP.NET application (VS 2003, WSE 2.0) just fine.

I have tried the SOAP toolkit and I get "wrong or incorrect number of arguments" or something to that effect. But I don't know how to enter the username and password, etc, for the Web Service. Is it possible to call a web service with the SOAP Toolkit that uses WSE 2.0 Security?

If not, how else do I call it? Do I post the XML manually? I tried that but I get "bad request," although, I know I'm not putting the right stuff in for Nonce, etc.

This should be pretty straightforward as it is a "standard" but I can't figure it out. Thanks for the help.Start Free Trial
[+][-]07.13.2008 at 03:39PM PDT, ID: 21994571

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.18.2008 at 07:37AM PDT, ID: 22511403

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628