cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP

Former Member
0 Kudos

Hi,

Iam using SOAP Client to post a SOAP Request.Please let me know what are the configurations need to be done in XI.

i created SOAP adapter at the sender side but iam unable to see any message in SSMBMONI.

To test my scenario i replaced the SOAP adapter with HTTP and this is working fine.

Thanks in advance.

Ravi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ravi,

check these blogs, for settings

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

Regards

Vishnu

former_member181962
Active Contributor
0 Kudos

Hi All,

We are getting the follwing error in the SOAP Response when we tried to send a soap request from a SOAP Client.

<?xml version='1.0'?>

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode xmlns="">SOAP:Server</faultcode>

<faultstring xmlns="">Server Error</faultstring>

<detail xmlns="">

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context xmlns="">XIAdapter</context>

<code xmlns="">Exception</code>

<text xmlns="">

java.lang.Exception: invalid channel (party:service:channel) = &lt;null&gt;

at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:493)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

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

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

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

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

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

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

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

can any body help??

Its Urgent.

Thanks and Regards,

Ravi

Former Member
0 Kudos

Hi Ravi,

the log says that there is something wrong with the comm channel

1) did you check this page to form the url for the soap sender,

http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm

[The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel]

2) Also, check your configurations in your Int Dir. like comm channels, sndr/recr agreements

3) Also, check the RWB, component monitoring, your soap sender adapter.

Hope this fixes your issue.

Regards

Vishnu

former_member181962
Active Contributor
0 Kudos

Hi Vishnu,

The url we used is according to the template you have mentioned.

We don't see any ADAPTER in the component monitoring of RWB. We are pretty sure of the ID configuraton for RX /SEnder Agreements and comm ch/ls

We have got a different message after we made some other changes as well.

<?xml version='1.0'?>

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode xmlns="">SOAP:Server</faultcode>

<faultstring xmlns="">Server Error</faultstring>

<detail xmlns="">

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context xmlns="">XIAdapter</context>

<code xmlns="">TransportException</code>

<text xmlns="">

com.sap.aii.messaging.net.TransportException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#5 $)

at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:519)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

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

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

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

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

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

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

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Regards,

Ravi

Former Member
0 Kudos

Hi Ravi,

did you try to refresh CPAcache. at time AE cache goes stale and even though you have proper configurations in ID XI throws errors like the one you got.

http://server:port/CPACahce/refresh?mode=full

you wll need XIDRUSER for refreshing the cache.

cheers,

naveen

former_member181962
Active Contributor
0 Kudos

Hi,

Now I'm getting another error.

Can anybody help on this?

<?xml version="1.0" encoding="UTF-8" ?>

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">

<Body>

<find_business xmlns="urn:uddi-org:api_v3" maxRows="5" listHead="1">

<authInfo>adam_uddi</authInfo>

<findQualifiers>

<findQualifier>approximateMatch</findQualifier>

</findQualifiers>

<name xml:lang="EN-us">Business%</name>

<identifierBag>

<keyedReference tModelKey="uddi:uddi.org:ubr:identifier:dnb.com:D-U-N-S" keyName="DUNS#" keyValue="197062"/>

</identifierBag>

<categoryBag>

<keyedReference tModelKey="uddi:uddi.org:ubr:categorization:naics:1997" keyName="Mining" keyValue="21"/>

<keyedReferenceGroup tModelKey="uddi:uddi.org:ubr:categorizationGroup:wgs84">

<keyedReference tModelKey="uddi:uddi.org:ubr:categorization:wgs84_latitude" keyName="WGS 84 Latitude" keyValue="+49.682700"/>

<keyedReference tModelKey="uddi:uddi.org:ubr:categorization:wgs84_longitude" keyName="WGS 84 Longitude" keyValue="+008.295200"/>

</keyedReferenceGroup>

</categoryBag>

<tModelBag>

<tModelKey>uddi:udditest.sap.com:tm1key</tModelKey>

</tModelBag>

<find_tModel maxRows="4" listHead="0">

<authInfo>adam_uddi</authInfo>

<findQualifiers>

<findQualifier>approximateMatch</findQualifier>

</findQualifiers>

<name xml:lang="en-us">tModel%</name>

<identifierBag>

<keyedReference tModelKey="uddi:uddi.org:ubr:identifier:dnb.com:D-U-N-S" keyName="DUNS#" keyValue="197062"/>

</identifierBag>

<categoryBag>

<keyedReference tModelKey="uddi:uddi.org:ubr:categorization:naics:1997" keyName="Mining" keyValue="21"/>

<keyedReferenceGroup tModelKey="uddi:uddi.org:ubr:categorizationGroup:wgs84">

<keyedReference tModelKey="uddi:uddi.org:ubr:categorization:wgs84_latitude" keyName="WGS 84 Latitude" keyValue="+49.682700"/>

<keyedReference tModelKey="uddi:uddi.org:ubr:categorization:wgs84_longitude" keyName="WGS 84 Longitude" keyValue="+008.295200"/>

</keyedReferenceGroup>

</categoryBag>

</find_tModel>

<discoveryURLs>

<discoveryURL useType="homepage">http://www.business1.comm</discoveryURL>

</discoveryURLs>

<find_relatedBusinesses maxRows="5" listHead="1">

<authInfo>adam_uddi</authInfo>

<findQualifiers>

<findQualifier>approximateMatch</findQualifier>

</findQualifiers>

<businessKey>uddi:udditest.sap.com:bus1key</businessKey>

<keyedReference tModelKey="uddi:uddi.org:relationships" keyName="Holding Company" keyValue="parent-child"/>

</find_relatedBusinesses>

</find_business>

</Body>

</Envelope>

Former Member
0 Kudos

hi ravi,

what error are you excatly seeing?? what do you u see in rwb ??

naveen

Answers (0)