on 01-27-2016 4:36 PM
Hello Experts,
I am trying to use am External webservice which we re planning to buy. This web service basically has User and Password tags in the header itself.
Following is the web service
<soapenv:Header>
<ser:Header>
<ser:Username>?</ser:Username>
<ser:Password>?</ser:Password>
</ser:Header>
</soapenv:Header>
<soapenv:Body>
<ser:ConvertRealTimeValue>
<ser:From>?</ser:From>
<ser:To>?</ser:To>
<ser:Amount>?</ser:Amount>
</ser:ConvertRealTimeValue>
</soapenv:Body>
</soapenv:Envelope>
I am able to consume the webservice in an external webservice integration mechanism available in SDK and this has to be executed at the click of button. but in ABSL I do not get the option to enter the User and password under Header for the request message as ABSL intellisense only shows payload fields as attached screenshot.
Because of this I am not able to execute the service.
Does anyone has solution for this.
Thanks,
Saurabh
Hi Saurabh,
Did you try to consume this web service in SOAP UI?
If not? try to consume in SOAP UI like below:
<soapenv:Header>
<ser:Header>
</ser:Header>
</soapenv:Header>
<soapenv:Body>
<ser:ConvertRealTimeValue>
<ser:From>?</ser:From>
<ser:To>?</ser:To>
<ser:Amount>?</ser:Amount>
</ser:ConvertRealTimeValue>
</soapenv:Body>
</soapenv:Envelope>
Don't pass userid and password in header part, and pass those values in SOAP Authentication settings.
If you are able to achieve consume.Then do the following steps in BYD:
Step 1 : create External Web Service Integration, It will create wsid file.
Step 2 : Right click on wsid file and create communication scenario.
Step 3 : Right click on scenario file and create communication arrangement, here you need to select scenario then it will ask for authentication method then select UserID and Password as authentication method. Then pass your credentials.
Then consume your wsid file in backend script.
Let me know if it is working fine.
Regards,
Shiva G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.