on 02-15-2008 3:49 PM
Hi All,
I want to do a scenario on XI exposed webservice. I tried to use /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services but i didn't really understand it. What are overall steps for configuring such type of scenario?
Ranjeet Singh.
problem sovled.
Thanks all.
Ranjeet Singh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I have configured the scenario . While testing the webservice call using Stylus Studio I am getting authorisation error.
Where do i need to give credentials for connecting to XI system?
Error:
AxisFault
faultCode: HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Error Report</title>
<style>
td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
A:link
A:visited
A:active
</style>
</head>
<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
<tr bgcolor="#FFFFFF">
<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;401 &nbsp Unauthorized</b></font></td>
</tr>
<tr bgcolor="#3F73A3">
<td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
<td height="23"><img width=1 height=1 border=0 alt=""></td>
<td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/6.40&nbsp;</b></font></td>
</tr>
<tr bgcolor="#9DCDFD">
<td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
</tr>
</table>
<br><br><br><br><br><br>
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
<tr bgcolor="#FFFFFF">
<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;No login module succeeded.</b></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>&nbsp;&nbsp;Details:</b></font></td>
<td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>&nbsp;&nbsp;No details available</pre></font></td>
</tr>
</body>
</html>
HttpErrorCode:401
(401)Unauthorized
at com.ddtek.xquery.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:218)
at com.ddtek.xquery.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at com.ddtek.xquery.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at com.ddtek.xquery.axis.SimpleChain.invoke(SimpleChain.java:83)
at com.ddtek.xquery.axis.client.AxisClient.invoke(AxisClient.java:165)
at com.ddtek.xquery.axis.client.Call.invokeEngine(Call.java:2784)
at com.ddtek.xquery.axis.client.Call.invoke(Call.java:2767)
at com.ddtek.xquery.axis.client.Call.invoke(Call.java:1910)
at com.exln.stylus.webservice.AxisStub.send(AxisStub.java:112)
Ranjeet Singh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H All,
After doing some digging into the issue , I finally got success in call the SOAP sender adapter, but still one more error came up. It is
-
MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: XIServer:NO_RECEIVER_CASE_BE:: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
-
Any idea about this error?
Ranjeet Singh.
Hi,
can you please tell us which scenario you implemented. where you are getting this Error for sender SOAP adapter or for receiver?
If at sender side then please do chek the name of th BusinessService and Communication channel.
Better to copy the same URL to the browser and chek the status. ( http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel)
See the below URL for the same i.e. SOAP adapter...http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Thanks
Farooq
Hi Farooq,
Thanks for reply. I am getting this error in SOAP sender adapter: I have already checked the url
http://<server>:50000/XISOAPAdapter/MessageServlet?channel=:BS_webpage:Sender_SOAP.
and it is giving me
-
Message Servlet is in Status OK
Status information:
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#15 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
ModuleProcessorRemote not instantiated
-
So looks like I am giving correct url.
Hi,
If these things are ok then I dont think there will be any problem excepts proxies and firewall. couple of days back I tested one interface with XML spy and got the same error...but after 3 - 4 continous attempt I succsessufully sent the message:-)
Just cross chek once again from your side, and if possible try to use other test tool too...like MS Info path etc..
Thanks
Farooq
Hi Farooq,
I am able to hit the SOAP Sender Adapter in XI . Above error is coming in SOAP sender adapter. I guess it means alteast XI proxy is getting hit by SOAP request. Problem looks like that after reaching XI, message is not able to find correct receiver but don't know why as I have configured everything correctly.
Ranjeet Singh.
Hi all,
Looks like I have found the issue. There is cache problem because I can see some soap request message coming into XI server (in sxmb_moni) but due to wrong message interface given earlier, i was getting Recevier not found error. But I have corrected the message interface but somehow my cache is not getting updated.
I tried doing CPA cache refresh, don;t have authorisation for it.
Even it is not givng access for xiappluser , xisuper.
Ranjeet Singh.
hitting the SOap adapter does not mean messge will come in IE for processing. do one thing just chek in SXMB_MONI weather message is coming to xi or not.
it might be possible, Soap adapter is sending the message to xi but at the time of response (if interface is synch) it is going in Error state.
Messages are coming in moni?
thanks
farooq
Hi Farooq,
Message is coming XI, because everytime i send a SOAP request, there is message in Moni, but problem is that sender interface name is coming wrong. and hence receiver not found error.
I regenerated the wsdl file but still getting wrong message interface name. Looks like cache is not getting refreshed properly.
Ranjeet Singh.
Hi Farooq,
Appreciate your replies and patience. . Good thing is that I have figured out what was the issue. As you suggested sometime we have use different tools for trying out the soap request.
Though I did not changed the tool , I observed one thing in SXMB_MONI. The xml request message which are coming into XI was not as per the format which was required and hence it was failing.
XML coming in Moni was like this.
-
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Request Message Mapping
-->
<MT_Source xmlns="http://sap.com/xi/sap" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:p1="http://sap.com/xi/sap">
<ToZip>111</ToZip>
<FromZip>123</FromZip>
</MT_Source>
-
and XI was expecting request in this format.
-
<ns0:MT_Source xmlns:ns0="http://sap.com/xi/sap">
<ToZip>12</ToZip>
<FromZip>12</FromZip>
</ns0:MT_Source>
-
So i looked back at the SOAP Request message that i was triggering from Stylus studio and found that the SOAP request was like
-
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
* <p1:MT_Source xmlns="http://sap.com/xi/sap" xmlns:p1="http://sap.com/xi/sap">*
* <ToZip>12</ToZip>*
* <FromZip>12</FromZip>*
* </p1:MT_Source>*
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-
What i did basically .. i changed the bold content into the format i which XI want the xml request message
-
<ns0:MT_Source xmlns:ns0="http://sap.com/xi/sap">
<ToZip>12</ToZip>
<FromZip>12</FromZip>
</ns0:MT_Source>
-
and It worked !!!!!
Thanks once again.
Ranjeet Singh.
Edited by: Ranjeet Singh on Feb 18, 2008 12:59 PM
Edited by: Ranjeet Singh on Feb 18, 2008 1:00 PM
Edited by: Ranjeet Singh on Feb 18, 2008 1:01 PM
Hi,
Plesae see below links it will explain you the whole procedure.
This will show you to define the Web-Service in XI for SOAP Sender.
/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
The SOAP to JDBC will be the integration scenario, see below in more details
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ranjeet,
Go thru this -/people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.