cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming SOAPENV Webservice

Sheela
Level 6

Hi All,

I wanted to consume a webservice which has a header with username and password. 

I'm using HTTP action. Could you please let me know how I should create the header for below request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.XX" xmlns:wsse="http://docs.oasis-open.orgXXXX>

<soapenv:Header>
        <wsse:Security soapenv:mustUnderstand="1">
            <wsse:UsernameToken>
                <wsse:Username>test@bp</wsse:Username>
                <wsse:Password
                    Type="http://xxxx#PasswordText">**</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </soapenv:Header>
 
   <soapenv:Body>
      <bsvc:

Any suggestions are appreciated.



------------------------------
Sheela Parthasarathy
Assistant Vice President
Deutsche Bank Group
Pacific/Apia
------------------------------
4 REPLIES 4

Hi Sheela,

Alternatively, you can add this web service with http authentication under system --> objects -- > SOAP web services and use the actions associated with the soap service in the process. Attached the web service guide for your reference (Refer from page 23) 

15870.png



------------------------------
Athiban Mahamathi ,
SimplifyNext,
Technical Consultant
------------------------------

@Athiban Mahamathi Mathialagan 

When Add webservice, provide credentials and call the method in object, we are getting "Internal Error on credentials".



------------------------------
Sheela Parthasarathy
Assistant Vice President
Deutsche Bank Group
Pacific/Apia
------------------------------

Hi Sheela,

can you please post the full error message? 



------------------------------
Athiban Mahamathi ,
SimplifyNext,
Technical Consultant
------------------------------

Can you also double check the web service credentials 



------------------------------
Athiban Mahamathi ,
SimplifyNext,
Technical Consultant
------------------------------