IDX1 : Is it necessary for SOAP - XI - RFC?
hi,
I have designed an integration scenario in which my web application will send request using SOAP over HTTP protocol. The XI system will host a web service and by generating the WSDL i will generate the proxy class using which I will comunicate with XI system. There will be sender type SOAP adapter between My WebAPP and XI. I will send request through Outbound interface.
Further the Request will pass to SAP CE8 system from XI system and communication will be through RFC(BAPI) using RFC adapter and Inbound interface.
My Questions are :
1. I have configured RFC destination on CE8 using SM59 transaction. Do i need to configure on XI system an rfc destination using IDX1?(I will use BAPI request/response only).
2. In integration scenario there are two interfaces
My WebAPP -- Outbound Interface(Custom defined) -- XI
XI -- Inbound interface(RFC)
since this is a synchronous communication i think i just need these two interface. Right?
On Custom defined side, two message will be there 1 each for request and response.
On BAPI side, BAPI and BAPI.response will be used. Is my approach correct?
3. When specifying the technical system landscape i was asked to mention System and Host information for my technical system. What are these and how I can obtain them?
P.S. As I have sdn blogs + forums + sap help portal on my disposal ... can anyone suggest something free over the internet ?
Thanks in advance...
<i>1. I have configured RFC destination on CE8 using SM59 transaction. Do i need to configure on XI system an rfc destination using IDX1?(I will use BAPI request/response only).</i>
No You dont need to create one.
<i>2. In integration scenario there are two interfaces My WebAPP -- Outbound Interface(Custom defined) -- XI
XI -- Inbound interface(RFC)</i>
You dont need 2 interfaces. You need only one for SOAP and no need for RFC request. The one you import is sufficient.
If it is a synchronous you need 1 inbound response for SOAP. BAPI RFC has already has a response.
<i>3. When specifying the technical system landscape i was asked to mention System and Host information for my technical system. What are these and how I can obtain them?</i>
The host name is the host of the connecting systems. for SAP from 4.7 you can connect them to SLD directly but for non-SAP and SAP < 4.7 you need to mention host name of the particular system (since these does not connect directly there is no problem). Remember that SLD is a repository of systems information.
regards
Shravan
Similar Messages
-
How to implement Exception Handling for soap to RFC sync interface...
Dear Experts,
we have an interface like soap to Rfc sync, already develepment is done and moved to production. but we are getting some quatitity is greater than item then it is throwing an error below. i want to handle that exception in XI level.
please guide i am not found any document for this type of interface.
Please suggest what can i do for this. Please share me the screen shot for this.
Error Log:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_DEPOT_DISPATCH.Exception</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
<rfc:Z_DEPOT_DISPATCH.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>Delivery quantity is greater than target quantity 10.000 MT</Text><Message><ID>VL</ID><Number>363</Number></Message><Attributes><V1>10.000</V1><V2>MT</V2></Attributes></rfc:Z_DEPOT_DISPATCH.Exception>
Regards,
Kiran PolaniDear All,
This is clearly soap to rfc interface and we are using currently PI 7.0. This is a validation of BAPI, BAPI is not accepting the field of "Quantity is some value". The quatity is greater than the amount BAPI is throwing an error like "APPLICATION_ERROR". Is it possbile to validate in XI Level.
Soap --> XI--> BAPI(Request)
BAPI--> XI-->Soap(Response)( in this step what ever message return by bapi those error message not getting 3 rd party application).
here by catching that error and i should throw to 3rd party application.
is it possible to handle this or not.?
If it is possible in Fault Mapping/Fault message type please give me the steps or document for me.
I am new for fault mapping?
Please help me on this.
Regards,
Kiran Polani -
Sld objects for SOAP to RFC syn.
Hai..All....
I am very new to Xi and i am doing a soap to rfc syn scenario..
pls give me a hint of what type of Sld object are required for the scenarion
like what should be the TS abd BSystem for the scenario and how many BS are required.
can it be done using a single BS for both the communications.
Dear experts i m waiing for ur responses.....
thx
simraanHi Simraan,
Can you please let me know the process flow.
Call to RFC is in the SAP system hence you need to create the Business system at SLD. You need to create the Business system and import it into ID and use that one.
Refer the below weblog for SOAP.
For SOAP you first need to generate the WSDL from ID and import that WSDL in IR external definition.
Refer the weblog for SOAP:
How to use webservices in XI
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
How to use SOAP adapter.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
Refer the below weblog for RFC:
HTTP to RFC - A Starter Kit /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
Thnx
Chirag -
Hi,
Can any one give me the settings that are to be made under SLD.
i mean what needs to be done for technical system and for business systems ...steps to configure technical and business systems for both sender and receiver.
no links please
Points immediately rewarded.
ThanksHI,
You need to create Sender and Receiver Technical system as well as Business system
For Communication of RFC i.e. with R/3 you can use th Technical system and Business Systems. For SOAP ie.e web application you can go for Business Service also that to be created in Integration Directory.
In SLD,
1. Goto Technilca Landscape and Create new Technical system by giving all server connection detials
2. Then Create the Business Landscape
3. Assign the Product to Technical landscape so the Software components related to the Product will refer to the Technical and Business systems
Registering a new technical system in SLD - ABAP based
/people/michal.krawczyk2/blog/2005/03/10/registering-a-new-technical-system-in-sld--abap-based
Thanks
Swarup -
How to create Integration Flow for SOAP to RFC scenario?
Hello Friends,
We have Single Stack SAP PO 7.3 EHP 1 SP08 AS Java in our environment. We have a scenario where a RFC needs to be made available as SOAP Web Service. So we are using SOAP Sender Adapter and RFC Receiver adapter. We want to build this scenario with NWDS (Eclipse). We have imported the RFC and created data types, message types, service interfaces etc. But we are facing trouble in creating the Integration flow.
Please let us know if we need to create only one integration flow or need to create two integration flows (one for request and one for response) and what all configuration would be needed in Business Component and Communication Channel.
A step by step guide would be highly appreciated.
Best Regards,
Shreyansh ShahHi Shreyansh,
Found these links for you. Have a look at them and go through them. They should help you.
https://help.sap.com/saphelp_nw73ehp1/helpdata/en/95/8969b91d50439296dbd0a8ded93da7/content.htm
Understanding Integration Flow - Process Integration Tools (Eclipse-Based) - SAP Library
https://help.sap.com/saphelp_nw73ehp1/helpdata/en/e4/c9be6beab94f0b932e3c67f50e0093/content.htm
Regards,
Jannus Botha -
Which is better XI 3.0 or PI 7.1 for SOAP- RFC scenario.
Hi All,
I have to Create SOAP to RFC Sync Scenario.
I know PI 7.1 is advance. So there must be a edge over XI3.0.
Is is better to use PI7.0 insted of Xi 3.0 for this?
then Why?Hi,
this blog might be interesting:
http://www.sdn.sap.com/irj/scn/index;jsessionid=%28J2EE3417500%29ID0033175050DB10487845846410196322End?rid=/library/uuid/504da602-3bac-2c10-f5a3-bcfa6587d47b
For example it says:
> Further connectivity options are provided on the AAE, such as XI message protocol using the SOAP adapter: For example, this > permits fast access to ABAP backend systems based on the proxy technology.
Regards
Patrick -
Public URL for Synchronous SOAP to RFC scenario
Hello Everyone,
I have synchronous SOAP to RFC scenario.
i have created the http URL for testing environment through sender agreement.
However, now the user wants a public URL and that too secured one ... means ( https ) in production.
i tried this blog, but Service registry is not configured in our landscape.
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/23725
is there any other way ..?
Regards,
RaviThe process of creating the wsdl will remain same. The url in your case will start with HTTPS instead of HTTP. Note that the port at which HTTPS data would be received will be different than HTTP port and thererfore you need to change that as well. You don't have to set any client authentication unless there is a business requirement. You may simply use certificates for SSL.
In some cases, if PI always receives data through web-dipatcher (ask your network team), then the data hostname and port of web-dispatcher should be used.
Regards,
Prateek Raj Srivastava -
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] -
Is model view(BD64) necessary for EDI
is model view created using BD64 necessary for a EDI transactions? I have created a logical system, a RFC destination and a EDI File Port.
After all this i am trying to push a material master data using BD10 to the file port. When i do that the system gives me a message saying that master idoc created but it does not create a communication idoc. Only if i have a Model view set up in BD64 it creates a communication idoc. So my question is do we need a model view for EDI configuration?
~SureshHi,
BD64 is required for master data distribution..
If you are having a interface that sends IDOCs to the customer or receive IDOCs from the vendor..You don't require BD64 setup..
Thanks,
Naren -
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 -
Invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
Hi,
I have this error on a SOAP Receiver Channel: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
I've found several threads on SDN Forums about similar errors, but I did not find a solution for my problem yet.
I checked this blog: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 Pt.6 applies to my situation, but the proposed solution doesn't solve the problem.
TRACE Messaging System
u2026
2011-06-06 10:59:41.822 Success Delivering to channel: CC_SOAP_RCV_XXX
2011-06-06 10:59:41.823 Success MP: entering1
2011-06-06 10:59:41.825 Success MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
2011-06-06 10:59:41.828 Success SOAP: request message entering the adapter with user J2EE_GUEST
2011-06-06 10:59:42.012 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
2011-06-06 10:59:42.014 Success SOAP: sending a delivery error ack ...
2011-06-06 10:59:42.014 Success SOAP: sent a delivery error ack
u2026
Message Details
Address http://aaa.bbb.be:54000/MessagingSystem/receive/AFW/XI
Credential PasswordCredential(PIISUSER):password=********
Transport Headers accept-encoding=gzip sap-xi-messageid=4DEA11FE90003094E10000000AE908B4 content-length=7520 http=POST host= aaa.bbb.be:54000 user-agent=SAP NetWeaver Application Server (1.0;711) content-type=multipart/related;boundary=SAP_4DEA47CEAD3A5138E10000000AE908B4_END;type="text/xml";start="" soapaction="http://sap.com/xi/XI/Message/30"
Configuration Details SOAP Communication Channel
SOAP Receiver Channel
No modules configured
Do not use SOAP Envelope -> NOT checked
If I type the target URL in browser it opens (no login required) and I see the available web services.
Anyone any idea what's the reason for this error?
Thanks in advance
Kind Regards
Edmond PaulussenHi Edmond,
We faced similar problem & found alternative.
Try out, if it works for u as well.
1) Use HTTP Adapter instead of SOAP.
Transport Protocol : HTTP 1.0
Message Protocol : XI Payload in HTTP Body
Adapter Engine : Integration Server
Addressing type : URL Address.
Target Host:
Service Number :
Path Prefix:
Authentication type : we hv used Ananymus login, as our login details in payload header.
Content Type : application/soap+xml;charset=UTF-8( this is IMP).
Header Fields.
Name value
Host target host
XI Payload Manipulation
XML Code : UTF-8
Hope, this helps...
-santosh. -
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
Maybe you are looking for
-
500 Internal Server Error in EP 7.0
Hello SDN Gurus, I've a question about viewing detailed errors. I've got two NW04s Ent. Portal (Test and production). I get detailed error (Error summary) in my test portal, but in the production server i couldn't get details, only "500 Internal Se
-
How to create materialized view based on a synonym
Hi all, I am trying to create simple materialized view based on a synonym and that synonym is pointing a view in other database (using dblink). I am getting table or view not found error . I am able to select synonym if i use select but not in materi
-
Hi all, DECLARE TYPE TEST_ARRAY IS TABLE OF EMPLOYEE%ROWTYPE; V_DATA TEST_ARRAY; CURSOR C1 IS SELECT * FROM EMPLOYEE; BEGIN OPEN C1 ; LOOP FETCH C1 BULK COLLECT INTO V_DATA LIMIT 1000; FORALL I IN 1..V_DATA.COUNT NULL;--DBMS_OUT EXIT WHEN C1%NOTFOUND
-
Using disticnt and nvl together
Hi, Is it possible to use nvl with distinct? When no data is returned, the value should should be 0. How do I get use nvl in the code to get a value 0 when no data is returned? I tried using distinct(nvl(lbt.bsl_det_koers,0)), but tis still show 'no
-
How to get htmldb working with rdb ?