SOAP and RFC
Hi All,
My scenario is SOAP-PI-RFC,
The webservice is being triggered from PORTAL-BPM and the values are updated to ECC through a RFC,
Could anyone explain me in detail for the following below queries,
1.I have created RFC connection as ABAP type for ,
a)PI-ECC(RFC)
b)ECC(RFC)-PI
is that fine ?
2.Other than JCo connections is anyother connections are needed for Portal-PI connectivity.
3.Should I need to install ESR content in to PI(7.1) server
Regards,
Lavanya
Hi All,
When the WSDL is being called by portal team,they are getting error as
"An error while downloading WSIL file. Error message: Deserializing xml stream http://xxxx:0000/sap/xi/engine?type=entry failed.com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (500) Empty HTTP request received. The requested URL was:"Connect to http://xxx:50000/sap/xi/engine?type=entry, used user to connect: xxx"
Regards,
Lavanya
Edited by: Lavanya Balanandham on Mar 11, 2011 5:08 AM
Similar Messages
-
Time out at communication channel type SOAP and RFC(synchronous interface)
Hello Experts.
I have a some interfaces here that have a Sender SOAP channel and Receiver RFC channe. We have problens with Timeout with soap channel and expiration with RFC time channel. I need a way to keep de connection alive in these interfaces, someome can indicate a way to do it?
Thanks a lot.The error that ocurred is that one:
SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4f451ed1-db17-11e0-ab5d-00001e05f032(INBOUND) expired: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4f451ed1-db17-11e0-ab5d-00001e05f032(INBOUND) expired
The RFC inbouc channel expired.
Thanks. -
V.V.Urgent( Soap- XI- RFC) and Viceversa
Hi,
I am Integrating Webservice with SAP.
I am Using soap and RFC adapters for this .....
I want the Information from Creating SLD...
How to create logical system for SOAP...
and also for RFC ( Both Sender and Receiver adapters)
Points will be awarded for the answer..
Regards,
jayasimha jangam.Hi !!
Check this out..
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 --> <b>Troubleshooting SOAP and RFC scenarios</b>.
heck these links related to SOAP and RFC:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
/people/community.user/blog/2006/09/21/xi-rfcadapter-reconnect-issue
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
regarding HTTP* Errors /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi -
Need Help in Soap- XI- RFC( V.V.Urgent)
Hi,
I need to integrate Web Service with SAP using soap and RFC adapters.
Can any one them explain how to configure sender SOAP adapter and Reciver RFC adapter.
They are providing url for soap message.
[ if any one enter some data in webservice it atomatically reflects in SAP with out any manual steps]
Points will be awarded for answer..
Regards,
Jayasimha JangamHi !!!!
Just try these
/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
Rewards point if useful -
Soap Sender and RFC Adapter receiver getting APPLICATION_ERROR
Hi, all,
I have a webservice soap sender and RFC Adapter receiver scenario, it works fine with RFC "RFC_SYSTEM_INFO", When i tried the RFC "RFC_READ_TABLE", getting the following error message, <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code> in
SXI_MONITOR, in webservice client, i am getting error message like this:
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<rfc:ZZTEST_RFC_READ_TABLE.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<Name>TABLE_NOT_AVAILABLE</Name>
<Text>QUERY_TABLE not active in Dictionary</Text>
</rfc:ZZTEST_RFC_READ_TABLE.Exception>
Thanks a lot!Hi
Its not compulsory but its good to wrap it as Z object.
Well if you are facing problem with SOAP data. Then try to do one thing. Check with the data you received from SOAP message. If this works
Then try to check in mapping is it passing the data correctly or not. With this check with the user authorization PIAPPLUSER. if its having less authorizations to execute this BAPI in ECC
Thanks
Gaurav -
RFC- XI -SOAP and response back to RFC
Hi,
I am doing RFC-XI-SOAP and get response back from SOAP to RFC.
if I am not check the "Do Not Use SOAP Envelop" then it gives error in SXMB_MONI says - NO SOAP envelop.
"No SOAP Envelope but 1 {}RESPONSES; HTTP 200 OK"
if I check thet check bos ""Do Not Use SOAP Envelop" then it gives no error in SXMB_MONI , but message is not giving response back from webservice in SXMB_MONI it shows only
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions" />
gurus ...Pl. reply asaphi, all
you are right the XML sp/tcpgateway response structure is different than what I used earlier,
now I build the same structure,but then also some problem occures it is giving only one element from structure in response.
it is giving
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<STATUS>Success</STATUS>
</ns1:MYRFC.Response>
while actual inbound from WS is ...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message -->
- <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success" DbgCmd_="testrequest" DbgTag_="REQUEST">
- <ns0:SAP_OUTPUT>
<ns0:E1 Value="3000194" />
<ns0:E2 Value="300"/>
<ns0:E3 Value="3"/>
</ns0:E4 Value="94">
</ns0:testrequestResponse> -
SOAP vs RFC - performance and pros and cons
Hi,
I have been playing around with the SAP .NET Connector 2.0 between an ASP.NET 1.1 application and SAP passing in either SOAP or RFC connection strings to the proxy classes as a proof of concept for some integration work required for our existing customer website and teh SAP system replacing our legacy applications.
Other than issues relating to the ports that need to be opened in Firewalls between application environments can anyone provide me with any information or point me in the direction of any documentation regarding the performance differences between and pros and cons of using these two protocols?
The impression I get is that RFC performs better than SOAP due to the XML conversion overhead inherent in using SOAP calls.
I know that the ESOA direction of SAP means that SOAP is the desired protocal in the long run but is there any reason why one should be used in preference to the other in the scenario menttioned above?
Sorry if there is an obvious answer and thank you in advance for any help.
AndyWe did a lot of load tests to find answers on how the protocol can have impact on the performance. With our test systems RFC was about 3 times faster than SOAP and the network traffic was doubled with SOAP (approx.). And it seems to me that RFC offers more parallel processes (for multithreading application), but I'm not hundred percent sure on that point.
We used rel. 640 with Web AS, Client was .NET Connector and ERPConnect with .NET 1.1 and .NET 2.0.
Krishtan -
Error while Testing Soap To RFC
Hi All,
While doing Soap To RFC I got the following error in testing part :
The SOAP response indicates that an error occurred:
Server Error
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text><![CDATA[
com.sap.aii.af.lib.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xpi.adapters/NW07_04_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#1 $)
at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:428)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
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:71)
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:71)
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:71)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
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:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
]]></text>
</s:SystemError>
</detail>
Please help me out to solve this.
Regards,
Nutan1 Check your seder soap url.
2 check your host in RFC destination
use these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79 - how to use soap adapter
RFC -> XI -> WebService - A Complete Walkthrough (Part 1) - rfc to xi to webservice(soap)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2) part-2
Invoke Webservices using SAPXI - invoke the web service
The specified item was not found. - sender rfc adapter steps
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131- [original link is broken] [original link is broken] [original link is broken] Looking for replacing SAP.NET connectors with SAP XI -
SOAP- XI- RFC , while posting soap request thru SPY , getting exception,
Hello friends,
I am trying <b>SOAP->XI->RFC</b> scenario. would like to explain in brief about requirement then <b>let me know if this is correct approach</b>
<i>Our client wants a pull approach from R/3 , for example lets say he wants to get Material Master data from R/3.
So he will send a SOAP request with the material number and r/3 should return back the details.</i>
<b>So we have decided to go with SOAP->XI->RFC approach
That means a sender SOAP Adapter and a receiver RFC adapter,</b>
I have done all the designing, like creating my own DataType,MessagType all interfaces etc.
then i created a Bussiness system of type third party with host name as XI host name to use for sender, and a business system of type Web As ABAP and used one of the R/3 as receiver system.
Doubts: Once i created Soap channel in my sender businees system(where Interface name i gave my Message Interface name and its Namespace), and the receiver channel in my another bussiness system, i created the entire scenario using Configuration Wizard.
NOW THE PROBLEM STARTS.
After clicking Define Web Service , it asks for URL
i gave following url
http://ps3181:50000/XISOAPAdapter/MessageServlet?channel=TPBS_Rohit:soapChannel
TPBS_Rohit is my Sender (third party bussiness system name), and soapChannel is the channel under it.
<b>tell me if this is right</b>
Then in the Message Interface i selected my Message Interface name that i had created in Design for publishing.
<u><b>MAJOR DOUBT</b></u>
<b>It Asks for
Service :
Interface Name :
Interface NameSpace :
what do i give here.</b>
this is what i have given
Service : TPBS_Rohit, Sender (third party bussiness system name)
Interface Name : MI_SOAP <again the same message interface name that i have published earlier>
Interface NameSpace : same namespace.
AM i right ???
I am sure somthing is wrong since when i tried sending a SOAP request using XML SPY , this is what i get.
[code]<?xml version="1.0"?>
<!-- see the documentation -->
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>Exception</code>
<text><![CDATA[
java.lang.Exception: invalid channel (party:service:channel) = TPBS_Rohit:soapChannel
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:498)
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>[/code]
Please Let me know where have i gone wrong ?hi manikandan,friends
i changed the url to http://ps3181:50000/XISOAPAdapter/MessageServlet?channel=:TPBS_Rohit:soapChannel
colon included.
but now i get the following error trace in SPY ..
[code]<?xml version="1.0"?>
<!-- see the documentation -->
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>failed to call the adapter engine</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>DeliveryException</code>
<text><![CDATA[
com.sap.aii.af.mp.module.ModuleException
at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:697)
at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:221)
at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:543)
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)
Caused by: com.sap.aii.messaging.srt.BubbleException: failed to call the adapter engine [null "null"]; nested exception caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
at com.sap.aii.af.mp.soap.ejb.AFCallerApplication.perform(AFCallerApplication.java:122)
at com.sap.aii.messaging.srt.ApplicationBubble.onMessage(ApplicationBubble.java:29)
at com.sap.aii.messaging.srt.ExtensionBubble.onMessage(ExtensionBubble.java:56)
at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:576)
... 20 more
Caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:366)
at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:123)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:419)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
]]></text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>[/code] -
SOAP to rfc XMLSPY not conneting with PI 7.1 server
hiii gurus,
I am trying soap to rfc scenario. i have completed all the steps.. generated the webservice . now i am testing from XMLSPY
when im sending the soap request to sender i m getting the following error.
"<?xml version="1.0"?>
<!-- see the documentation -->
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text><![CDATA["
"com.sap.aii.af.lib.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xpi.adapters/NW07_04_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#1 $)
The Channel has been configured correctly.. i dont know what is the problem... In some conversion i saw something like the userid which im giving should have the role as SAP_XI_APPL_SERV_USER. when i checked it not assigned .. so i assigned manually. but still the same problem exits..
please help me experts.
Regards,
Balaji
Edited by: Balaji Pichaimuthu on Sep 2, 2009 5:20 PM
Edited by: Balaji Pichaimuthu on Sep 2, 2009 5:21 PM<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions name="aryan_soap_rfc_mi" targetNamespace="http://aryansoap2rfc" xmlns:p1="http://aryansoap2rfc" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation />
- <wsdl:types>
- <xsd:schema targetNamespace="http://aryansoap2rfc" xmlns="http://aryansoap2rfc" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="aryan_req_soap_mt" type="file_req_soap_dt" />
<xsd:element name="aryan_soap_rfc_mt" type="file_res_soap_rfc_dt" />
- <xsd:complexType name="file_req_soap_dt">
- <xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/VersionID">5bf85d84978d11deab10001422b066ca</xsd:appinfo>
</xsd:annotation>
- <xsd:sequence>
<xsd:element name="company_code" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
- <xsd:complexType name="file_res_soap_rfc_dt">
- <xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/VersionID">811a2213978d11dec05a001422b066ca</xsd:appinfo>
</xsd:annotation>
- <xsd:sequence>
<xsd:element name="company_code" type="xsd:string" />
<xsd:element name="company_name" type="xsd:string" />
<xsd:element name="city" type="xsd:string" />
<xsd:element name="Country" type="xsd:string" />
<xsd:element name="Language" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="aryan_req_soap_mt">
<wsdl:documentation />
<wsdl:part name="aryan_req_soap_mt" element="p1:aryan_req_soap_mt" />
</wsdl:message>
- <wsdl:message name="aryan_soap_rfc_mt">
<wsdl:documentation />
<wsdl:part name="aryan_soap_rfc_mt" element="p1:aryan_soap_rfc_mt" />
</wsdl:message>
- <wsdl:portType name="aryan_soap_rfc_mi">
<wsdl:documentation />
- <wsdl:operation name="aryan_soap_rfc_mi">
<wsdl:input message="p1:aryan_req_soap_mt" />
<wsdl:output message="p1:aryan_soap_rfc_mt" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="aryan_soap_rfc_miBinding" type="p1:aryan_soap_rfc_mi">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
- <wsdl:operation name="aryan_soap_rfc_mi">
<soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
- <wsdl:input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="aryan_soap_rfc_miService">
- <wsdl:port name="aryan_soap_rfc_miPort" binding="p1:aryan_soap_rfc_miBinding">
<soap:address location="http://pi71server1.domain.com:50200/XISOAPAdapter/MessageServlet?channel=:aryan_3rdparty_recv_BS:aryam_soap_rfc_sender_cc&version=3.0&Sender.Service=aryan_3rdparty_recv_BS&Interface=http%3A%2F%2Faryansoap2rfc%5Earyan_soap_rfc_sender_cc" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Hii im trying to post my content of my wsdl file.. but in preview mode its loook like above ... actually thats my wsdl file only.. but when post a message .. it coming like above string.
Edited by: Balaji Pichaimuthu on Sep 3, 2009 7:02 AM -
In general in the soap to rfc scinnario if we will send the purchese order as request and we will get purchase order number as response. after getting the number what we will do with that number. is there is any imporatance. or we have to save that number some where?
Hi Ramakrishna
You can say this scenario like this
PO Number is the invoice created coresponding to your order. If you want you can trace your order by this PO number
and this info is stored in the Data Base
for more details on SOAP to RFC scnario follow these threads
/people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
/people/baris.buyuktanir2/blog/2007/03/06/how-to-create-a-web-service-with-attachments-soap-with-attachments
Regards
sandeep
if helpful kindly reward points -
SOAP --XI ---RFC or Java Client Proxy
Hello Gurus,
Need your adivce for a scenario in XI
Scenario --- To implement XI with SAP SCEM(Supply Chain Event Management).
Client is sending data from Web Portal (JSP Page) and wants to integrate with R/3.
(Request from client and Response from R/3 shown again at browser )
Web Portal (JSP Page) is on server A and XI on server B
Queries ---
1. Can I use Java Client Proxy Approach --- proxy --- xi -- rfc approach
If Web Portal (JSP page) is working in server A and XI in server B then can I call xi server from jsp page by passing xi server credential (username,password,bus service) and using sync Interface I can show result back to browser.
2. For SOAP Approach -- SOAP -- XI --- RFC approach
Suppose I need to send two parameters from my Web Portal (JSP page) to xi to R/3 and it will return some result.
Concept of Webservice --- any application (like BAPI ) exposed.
a. Pls tell me all the steps required for IR and ID
b.How can I invoke that generated webservice from my jsp page --- so that my request parameters values go to xi from my jsp page and to R/3 and then result from R/3 to xi and to my jsp page.
RegardsI think second approach is more appropriate ie. SOAP>XI>RFC
Some of the blogs you can refer:
/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
Sender SOAP adapter config: http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Hope this helps,
Rgds,
Moorthy -
Hello members:
we have a business scenario: SOAP to RFC sync
an external system (ABC) sends documentrequest thru XI SOAP adapter and makes an RFC call to a BAPI and gets back the resposne to the ABC system.we are handling 4 mappings. 1. request msg to a common msg 2. common msg to BAPI request3.bapi response to common msg 4. common msg to response msg(which is same as the req msg)
i have the request msg and common msg as external definitions. I did the following steps and wanted to
know if i am right.
1. there are no data type & msg type needed for this
2. 4 msg interfaces
i) document o/b sysnc
ii) document i/b sync
iii)common o/b sync
iiii) common i/b sync
3) 4 mappings
i) document to common
ii) common to bapi req
iii) bapi resp to common
iiii) common to req/response
4) 3 intf mappings
source intf********** target intf
i)document o/b common o/b uses mapping #1
ii)request :common i/b bapi i/b uses mapping #2
resposne:bapi i/b common i/b uses mapping #3
iii) common i/b document i/b uses mapping # 4
pls provide your inputs if my approach is rite? do i need to have 4 msg intefaces?has any made mappings where 4 mappings are involved ( without BPM)
Thanks in advanceHi,
I think you will have only 2 interfaces.
1. Sync Outbound interface (SOAP Structure)
Two message types Req and Res
2. Sync Inbound interface (RFC Structure)
Two message types Req and Res
Then two message mapping
1. SOAP Request to RFC Request
2. RFC Response to SOAP Response
and finally one Interface mapping.
Thanks,
Prakash -
*Soap TO RFC :-Empty SOAP RESPONSE*
Dear Friends,
I am doing a SOAP TO RFC scenario.And while testing the scenario using SOAP UI TOOL the response is EMPTY its like this.
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header/>
<SOAP:Body/>
</SOAP:Envelope>
Monitoring:-
In message monitoring :- its successful
In SXMB_MONI :-Its a checked Flag.
My Mapping is working fine.
Please help me in Tracing the Problem.
Regards,
jeevanHi Jeevan,
Did you check the payload in mapping editor? also check the mappings once more and check the thread
In RFc Response no data is coming
Thanks! -
Soap to RFC synchronous scenario
Dear experts,
i am doing a SOAP to RFC(BAPI_INTERNALORDER_GETDETAIL) sync scenario and the rfc returns a structure with the records as well as the BAPIRET2 records .
Do i need to use fault message types here ?
If yes what would be its purpose in this scenario ?
RaviHi,
if you have BAPIRET2 then all the errors will be over there
so I guess there is no need to use a fault message
Regards,
Michal Krawczyk
Maybe you are looking for
-
IPD files and backing up??
Tried backing up my BB, it successfully saved the back-up file however it's in IPD format. I read online that it's not possible to open IPD files on a PC? So does this mean that it's backed-up already on my PC? then if ever I just accidentally lose m
-
%@ include file= in a JSP
Please e-mail responses to [email protected] as well as this newsgroup: I have the following in a JSP that was originally designed for iPlanet: <%@ include file="../edeploy_global/GlobalVars.jsp" %> The JSP that contai
-
Insertion a record in a table having columns of different charsets using OLEDB
My development environment - Database -> Microsoft SQL Server 2008 R2 OS -> Windows Server 2008 R2 Database Charset -> Chinese_PRC_CI_AS (Windows 936) Operating System Charset -> Chinese Below table is having varchar fields with different charsets. c
-
Import Windoze OL2000 PST mail into Mac OSx MS Entourage2004 or Osx Mail
Anyone aware of any Mac based scripts/conversion utilities that will convert within the following caveats/parameters?: * Must run on OSx 10.4.10+ Intel C2D - (Yes I'm aware of Windoze based options to say re-export PST to CSV/Tab delim formats etc as
-
Hi, I am having a master page with the Restrict Page Set Occurance property not set. Now i have created one more master page below the first master page. Now the problem is when ever i insert a new page unser the data node it is picking the header of