Skip to Content
avatar image
Former Member

cannot send messages from SOAP test tool

Followed below and configured auth against user in identify management.

I am now trying to send a test message from Soa.p UI to test the same. I imported PI keystore onto UI and trigger the data. I still get 401 unauthorized error.

Any help?

Sender SOAP Adapter: HTTPS with Client Authentication

Venkat.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 21, 2015 at 12:08 AM

    The error is:

    CLIENT: 7794, REQUEST:
    POST /XISOAPAdapter/MessageServlet?senderParty=&senderService=Salesforce&receiverParty=&receiverService=&interface=SI_Name_Out&interfaceNamespace=http://company.com/Notification HTTP/1.1
    accept-encoding: gzip,deflate
    content-type: text/xml;charset=UTF-8
    soapaction: "http://sap.com/xi/WebService/soap1.1"
    content-length: 3260
    host: company.com:50200
    connection: Keep-Alive
    user-agent: Apache-HttpClient/4.1.1 (java 1.5)

    <soapenv:Envelope xmlns:out="http://soap.sforce.com/2005/09/outbound" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sobject.enterprise.soap.sforce.com">
    <soapenv:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><ds:Signature Id="SIG-46837448BF81C10D14144538519736150" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="out soapenv urn" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#id-46837448BF81C10D14144538493518725"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="out urn" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>WGt8yK1cMPpZmjt49fsvpP+5IM8=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>SWPYYfgFnOKD+7M83GTc9CXBmoG9tv6W/oyf7jPfQEjP5z1OiwA/cA23IQdFX6q8oWvemUZ0ejuS
    /JAVuD7Ra50omJwtoiowOL7HjewigKGYNNocdQlNq4OqaPXmWO9C4nbPeTKLbMtFZqtBQcTWq5Y6
    TOeuqWGT0PT1wgxxWD8lqxru4jRv1ToevR2u/LJ5Ii6fTuPNL4VN4nNmSM7WO54pIGIQ1zdw/Rra
    64ujh4dR2xqYL3h4LNQjf+qDQKhuRAiGumNM8C01OHL/Sul3gSEsPtY5AVDJXSxhhGgq4fS/GDhZ
    xdtJlaT4ZL94KXnigaRIKpyvYOy1MgU6vjL8/g==</ds:SignatureValue><ds:KeyInfo Id="KI-4234567819736048"><wsse:SecurityTokenReference wsu:Id="STR-468456789538519736049"><ds:X509Data><ds:X509IssuerSerial><ds:X509IssuerName>CN=XXXX Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,O=GoDaddy.com\, Inc.,L=Scottsdale,ST=Arizona,C=US</ds:X509IssuerName><ds:X509SerialNumber>8600420628167822110340</ds:X509SerialNumber></ds:X509IssuerSerial></ds:X509Data></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security></soapenv:Header>
    <soapenv:Body wsu:Id="id-46837443456788493518725" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <out:notifications>
         <Deleted the content>
    </out:notifications>
    </soapenv:Body>
    </soapenv:Envelope>


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Raghuraman S

      No password maintained. I am trying this using keystore from SOAP UI.

      It did not hit the channel. The above is the error from TCT tool.

  • Oct 21, 2015 at 07:23 AM

    Hi Venkat,

    You should do some configuration in your PI, before to test.

    Please refer this answer

    Also you can try with the sender soap axis:

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I am trying it with Authentication so that the certification can be validated before entering PI.

      Regards,

      Venkat.