cancel
Showing results for 
Search instead for 
Did you mean: 

cannot send messages from SOAP test tool

Former Member
0 Kudos

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?

Venkat.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

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

Regards,

Venkat.

Former Member
0 Kudos

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>


Former Member
0 Kudos

LOGIN.FAILED

User: N/A

IP Address: 191.123.23.2

Authentication Stack: sap.com/com.sap.aii.adapter.soap.app*XISOAPAdapter

Authentication Stack Properties:

        template = client_cert

        policy_domain = /XISOAPAdapter

        auth_method = basic

        realm_name = XISOAPApps

Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details

1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   OPTIONAL    ok          false                 false     

No logon policy was applied

===============================

Login failed!

[EXCEPTION]

java.security.PrivilegedActionException: com.sap.engine.services.security.exceptions.BaseLoginException: Login failed.

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:280)

at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:111)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Login failed.

at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:139)

... 41 more

former_member186851
Active Contributor
0 Kudos

Hello Venkat,

you have any password and did you maintain the same in Soap ui?

And what is the status of the channel?

Former Member
0 Kudos

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.