on 01-19-2016 9:01 AM
Hello All
I am trying soap scenario when i post the soap request through SOAP UI with authentication type as Pre-emptive then i am getting the response perfectly
If i dont use authentication type as Pre-emptive i am getting an error. same error i am getting when i post request through PI using soap receiver channel.
how to solve this? I dont see any option in PI soap receiver channel to set the authentication type.
Regards
Sandeep
Hi All
To achieve the requirement i configured SOAP axis adapter and we can pass the authentication over http header.
Regards
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
The raw tab of SOAP UI should provide you with all the details needed. Can you post a screenshot here?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandeep,
1) Try the below blog.
2) Use below XSLT after your actual mapping.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>User</wsse:Username>
<wsse:Password>Password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body>
<xsl:copy-of select="*"/>
</soap:Body>
</soap:Envelope>
</xsl:template>
</xsl:stylesheet>
In the SOAP receiver communication channel click the check box 'Do Not Use Soap Envelope'
Regards,
Praveen.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.