RFC- XI- Web services
Hi All,
We are configuring RFC->XI->Web Services scenario.
We are using SOAP adapter in the receiver side. We are getting the following error message.
soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: ConversionRate. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing).
Kindly help.
Hi,
Quick checks-
1) Reciever SOAP Adapter configuration
2) Check the Target URL - it should be wsdl URL
3) Transport protocol used (HTTP)
Check this blog about SOAP Adapter Configuration carefully-
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
Regards,
Moorthy
Similar Messages
-
Gettinfg error in RFC to Web Service scenario
hi friends,
I am getting the following error while configuring RFC to Web Service scenario.
I have used the ws :http://webservices.imacination.com/distance/Distance.jwsPlease help me out.
<!-- Inbound Message
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>Hi
check this thread
Getting error in target SOAP communication channel
regards
krishna -
Hi All,
I have a RFC -> XI -> Web service synchronous scenario.
After setting up scenario in XI, I execute RFC. When I check sxmb_moni, it shows me error.
The error is pasted here.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: failed to get the input stream from socket: java.lang.NullPointerException</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Can somebody explain me, why is this or to cross-verify my settings, steps in detail to set up this type of scenario.
Please don't take me to the documentation present here which explains about configuring Web service based scenario.
I have already looked at it and understood that it's not much useful at this stage.
Your help is highly appreciated.
Thanks & Regards,
-smitaHi Smita,
How are you doing the communication from FRC ==> XI ??
1. Are you using Outbound(sender)RFC Adapter, if so did you create a registered program for communication from r3 to XI (rfc destination
sm59->tcpip)
2. Are you using an outbound(Sender) Client abap proxy??
3. Are you calling an external webservice(not in XI)if
so make sure the soap action is correct
Naveen
Message was edited by: Naveen Pandrangi -
Synchronous RFC-XI-Web Service with no request method
Hello guys,
I'm trying to set up an RFC-XI-Web Service scneario. But with the particularitity that the WSDL does not have a request method. It only has a very simple response method.
How can I make this? How can XI call the Web Service, if I dont have any request method?
Thanks for your help.
FelipeMatias, after some test I think that VJ is correct.
It is failing at the moment of delivering the message to the WS, I'm getting the followin error messages:
com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/PLAIN; HTTP 302 Moved Temporarily
I tested the WS with XMLspy and works correctly.
I'm starting to believe that the best solution is to simply create a dummy request in the WS.
It would be great if someone else test in their own and see if we get the same result. Thanks,
Felipe -
Hi Guys;
Can anyone provide me step by step procedure for RFC to Web Service scenario?
meaning to expose the RFC as Web Service in the SAP CRM?
Thanks
KfirHello Kfir,
You can host webservice by doing the below steps:
Login to CRM system and goto txn:BSP_WD_CMPWB
Give component as :WS_DESIGN_TOOL
Hope this helps!
Best Regards,
Shanthala Kudva. -
Generate XML file from RFC using Web Services
Hi,
I am trying to save an RFC enabled Function Module output to an XML file using ABAP web services.
I could able to create Web Service and release it using WSCONFIG/WSADMIN. I can actually get the output in XML file when i launch the web service home page. But I need this to be done in the ABAP program itself. So If i run the RFC I could able to create,release web service and capture the Generated XML file by SOAP runtime.
Any FM available?
Thanks,
Ram Sanjeevwhich version of WAS you are on .
if you are on WAS6.40 check the following weblog on how to consume webservice using the wsdl file.
/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
lower version of WAS use class cl_http_client.
if this case you have to manually build the soap message.
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
Regards
Raja -
Discovery System: Problems with exposing RFC as web service
We have a version 2 discovery system and have successfully implemented the three exercises from the TechEd workshop (Sales Order Distribution, Creating a PO Store Record WS, Adding a New Step to the Procurement Scenario with SAP CAF GP). It seems to work fine except for two issues with the RFC/WS:
1) The RFC, and therefore the WS, always returns an empty string instead of the 'X' that the documentation shows in Step 4.h. We checked the RFC itself and it looks like it has an error with the price field; it always appends a blank to the end of the price string and then errors.
2) The created web service does not show up on the Web Services Navigator page. Since the instructions tell you to save the URL to the WSDL, we can find the web service and test it, but you cannot find it on the Navigator page.
Neither of these problems are huge, but they make me worry that something is not quite right in the Discovery System and we may end up with larger problems later. Any ideas what could cause these two problems, and how to fix them?
Thanks, Eric
Message was edited by:
ERIC HAMERHi Eric,
First of all let me assure you that your system is perfectly fine and both topics that you have raised are the way the system is suppose to respond.
1. The reason that the service is returning a null is because you are entering the same input parameters more than once. Since some of the parameters are used as primary key's in the database, you will need to change them in order to successfully store the data.
2. The reason that you don't see the service in the Navigator page is because this service resides in the ERP and not in WebAS. Only services deployed on the WebAS will appear in the Web Service Navigator page.
Thanks,
Itai -
Meaning of RFC and web services
Experts,
Can anyone explain the basic meaning of RFC and webservices.What do u mean by RFC call etc.When do we use webservices and what are the advantages of using this?
I will not disappoint any expert.
Thanks
VeeruSimply put , for a lay man
RFC is a piece of code ( function module in ECC which is remote enabled . ...as it can be accessed and used depending upon the functionality in ECC
from PI perspective . RFC is used as a technique to interface with ECC in different scenaros .. preferably in synchronous interfaces
Web services on the other hand are functionalities exposed on to the internet which can be created and consumed (utilized) on the web
for more info on web services also google WSDL, SOAP , HTTP and UDDI
they will be reallly helpful -
Hi
i want to extract data from portal to BI .
some one asked me prapose technology whether rfc is better or webservices is better.
can u give me any advantages for this technologiesHi Johannes,
Go through below help documents.
Adaptive Web Service Model:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b04308ed-62d5-2910-b3a6-c26771b1c78e
Do and Don't with Adaptive RFC Model:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
Benefits and important infomation about the Adaptive Webservice model:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
Once you go through the above mentioned documents, you will understand which one to use in which scenario.
Thanks
Krishna -
Exposing RFC as Web Service in XI
Hi,
I want to expose RFC of an external R/3 System as a Web Service in XI. I do not have much Idea about XI.
It will be great help If I can get some documentation on step by step tutorial of the same type of Scenario.
Thanks
NareshTechnically it can be done though.
I have done it in Xi 3.0. You create a synchronous interface in XI. Generate the WSDL from the repository. The calling systems consumes it using SOAP. The destination system does not need to be WAS. It can be 4.6C, or even non-Sap.
I have tested this for Asynch postings into 4.6C and it works fine so it should work for synch also however, XI has some problems with the bindings in the WSDL at this stage. You may need to manipulate the WSDL generated in the repository to create SOAP bindings. I understand the problem is being resolved in SP4....
If you do not know about WSDL bindings go to: http://www.w3schools.com/wsdl/default.asp
Regards,
Jason -
RFC for Web Service ALE_OUT
Hi
For the RFC connections for ALE_OUT and SAPWS_CMD_OUT, what should be the target host, service number and path prefix?
Is my understanding correct: These connections are for the system on which the device controller software is running? So if we use, say, Sun Java RFID software as the device controller, how do I determine/enter the service number and path prefix to be entered in this RFC?
Regards
SankarHi,
>>>>how do I determine/enter the service number and path prefix to be entered in this RFC?
easily just check sun's docs and inside you will find the port and path
BTW
sun's docs are very good I found a lot of info about suns event manager
related to AII inside their docs (how to create RFC in AII) was also described
Regards,
michal -
I have a sample FM which when run from SICF gives a server 500 error. (SICF path /default_host -> sap -> bc -> srt -> rfc -> sap -> Z_MYSERVICE. I test it using the TEST SERVICE option and it pops up the browser with address
http://<my.fdqn.host>:8000/sap/bc/srt/rfc/sap/z_bapi_user_existence_check?sap-client=800
but if I test the service using WSADMIN it pups up the url
http://<my.fdqn.host>:50100/wsnavigator/jsps/explorer.jsp?description=description&wsdl=http%3A%2F%2Fwarbird.ocluk.com%3A8000%2Fsap%2Fbc%2Fsrt%2Frfc%2Fsap%2FZ_BAPI_USER_EXISTENCE_CHECK%3Fsap-client%3D800%26wsdl%3D1.1%26mode%3Dsap_wsdl&name=name
and I can use the test function and it works.
Now this may have something to do with authentication - but I tried setting SICF to allow annonymous logon.
Also if I try from a third part tool which can use the wsdl and test, it comes back with an "unauthorised access to backend".
So after all that
1) Should the test in SICF work (hopefully yes)?
2) to generate the serice I ran the wizard on any FM and the tried SICF - was there something more?
3) when it worked it useed my portal on port 50100 to do the test, but when it failed it just used the R/3 WAS on port 8000 - is this significant?
Thanks in advance for any help or suggestions.I am joining into this party as well. I have the same SOAP exception 112 thing coming up when I try to run a webservice hosted on my ECC 6.0 system.
It looks something like this when I test it from SICF :
http://<hostname>:8010/sap/bc/srt/rfc/sap/ZBAPI_FLIGHT_GETLIST_WS2?sap-client=100
When I add the following parameter &wsdl=1.1 , to the end of this URL , I get to see what the SOAP envelope looks like , so I assumed things are fine.
The problem is when I call this webservice from my Portal WS Navigator...I've managed to overcome the authorisation issue mentioned by Chuckie earlier by making this webservice authentication as Standard R/3 user instead of internet user.
I am able to test this BAPI wrapped in my webservice ..and then when I execute, the response envelope shows errors.SM21 shows exactly what you guys have faced earlier.
If its a patch issue , I suppose logging an OSS note should help , otherwise , does anyone here think it could be j2ee config setting issue ?
-Chandra -
Error while executing RFC to Web Service scenario
Hello colleague,
I configured RFC to Webservice scenario.
After configuration I ran the RFC function module.
The function module short dumped with the error -
"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:".
Could you pls. help is resolving the error.
Regards,
Gajendra.Hi,
Take a look at these blogs,
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Regards,
Bhavesh -
Problem in rfc to web service scenario
hi ,
i have created an rfc destination. but when i am calling rfc by a program with rfc destination.
then it is displaying error as text " Error when opening the rfc connection (CPIC-call ) ".
Here connection type in rfc destination is type T.
ThanksHi,
As suggested earlier in your post, please check if the RFC destination between the systems have been configured. If not need to maintain the RFC destination and then proceed.
Regards,
Indranil -
Rfc---xi---web service scenario error
Hi All,
I am doing rfc-xi--webservice synchronous scenario.
I followed this blog steps
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
I have deployed my own webservice and when i use it with xml spy it works fine.
But when i try to execute it from RFC module I got this error.
CALL_FUNCTION_REMOTE_ERROR
In XI monitoring both messages are with red status and i got theses error is xi message monitoring
<Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />
- <!-- ************************************
-->
<Trace level="2" type="T">......attachment XI_Context not found</Trace>
<Trace level="3" type="T">Append context with name =ppActivated and value =false</Trace>
<Trace level="3" type="T">Das Mapping wurde bereits in der Interface-Ermittlung bestimmt.</Trace>
<Trace level="3" type="T">Objekt-Id des Interface-Mappings DA022058F9BB3E548D9760DEFC9240DA</Trace>
<Trace level="3" type="T">Versions-Id des Interface-Mappings 2A29312036EB11DDBE1AE1ED8D2C2629</Trace>
<Trace level="1" type="T">Interface-Mapping http://www.dummy.com/xi/01 IM_calculate</Trace>
<Trace level="3" type="T">Mapping-Schritte 1 JAVA com/sap/xi/tf/_MM_ws_dum_req_</Trace>
<Trace level="3" type="T">Dynamische Konfiguration ( http://sap.com/xi/XI/System/RFC ppActivated false )</Trace>
<Trace level="2" type="T">Modus 0</Trace>
<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_ws_dum_req_.</Trace>
<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_ws_dum_req_</Trace>
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_ws_dhl_req_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_DHL/productid. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.
I checked message mappings and those were correct
Any help or guidence please,
Regards
hussaanHI,
I tried to do that. When I test in IR it works but when I use XMl file to test as you indicated I am getting errors
I do not Know why.
Error is
Start of test
Compilation of MM_WS_DUM_REQ successful
Document start
Start tag [ns1:MT_TESTDDUM]
Add raw attribute [ xmlns:ns1="urn:DUM_FreightVi"]
Cannot produce target element /ns1:MT_TESTDUM/CALCULATE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns1:MT_TESTDUM/CALCULATE. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
16:38:37 End of test
I changed xml namespace in Message Type as it is indicated in How-to guides and other forums
Waiting for response
Regards
Hussaan
Maybe you are looking for
-
This started tonight, All of a sudden when i log into the facebook app and go to notifications it just says you have no notifications, Even when i do, I have done a battery pull, Reinstalled, What else can i do
-
IPod (2nd Gen) syncing with iTunes 11
On iTunes 11, the songs on my iPod (2nd Gen) playlist are greyed out and I would like to be able to add and remove them. I have read through the discussions and they all point to changing things under the summary button, of which I don't seem to have
-
Hi there, I'm new to Bridge CC and I'm looking at helping a photographer friend streamline his time consuming manual process. He currently has a folder containing many sub-folders which each contain 6 images. He works his way through each sub-folder
-
this happens most but not all of the time. I close Firefox and then cannot reopen it without going into taskmaster and highlighting Firefox and clicking "end task." Also related i think to this problem is that often when i am on a website using firef
-
Bidirectional communication between Shockwave Player and embedding web page
Can the 3D content in a Shockwave Player object be manipulated by JavaScript from its embedding web page somehow ? That is can the Shockwave Lingo/JavaScript capabilities be leveraged from OUTSIDE the Shockwave movie ? And can the Shockwave movie cal