Sld configuration for rfc to soap scenario
Hi all,
The scenario which i am planning to do, describes how the Custom RFC client application in SAP R/3 System invokes a free Web service (that is hosted over the internet) using SAP XI. For our demo purpose, we have used a free web service available on the Internet.
In this scenario we will be using GetQuote method of Web service DelayedStockQuote. This method retrieves the Stock quote for the given Stock symbol. The method GetQuote has an input that takes in two parameters Stock Symbol and License Key and returns the following information.
StockSymbol,
LastTradeAmount,
LastTradeDateTime,
StockChange,
OpenAmount,
DayHigh,
DayLow,
StockVolume,
PrevCls,
ChangePercent,
FiftyTwoWeekRange,
EarnPerShare,
PE,
CompanyName.
Link to web service:
http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx?op=GetQuote
In this scenario, I planned to create two mappings, first between RFC Request to SOAP Request and second between SOAP Response to RFC Response .
Adapter in sender communication channel is RFC.(RFC Protocol)
Adapter in receiver communication channel is SOAP.(HTTP Protocol)
Result:
On testing this scenario, In the Sender R/3 system we have to Execute the Report program we have created earlier. When the program is executed with Stock symbol it should get the details of that stock symbol from the Web service.
My question here is what would be the sld configuration for webservice.whether it is a Java WAS or third party.If it is a third party or java WAS,what would be the system name and host name.
Any clarification from you all is welcome and will be highly appreciated.
With Regards
Karthik.
Hi,
I would suggest you is to use third party. It is a web service, and does not matter the technology behind it (if it is java, abap, .net, cobol, no difference! it will be described by a wsld).
System name and host name doesn't matter too, you will not use this information in runtime, and you will specify host name and so at integration directory. You can make your standard on it, for example, put the name as DelayedStockQuote and host as http://ws.cdyne.com.
regards.
roberti
Similar Messages
-
Dear Experts,
I am facing the Following error for RFC to SOAP Scenario, i Tried
1. Full Cache Refresh
2.Delete and create Sender Agreement Again
3.Specifying the Program id Again
yet the Scenario is not Working, could you please help me in Resolving this at the Earliest
Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'ISU64', toParty '', toService '', interface 'YGVK_SEND_WS_TO_WS', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_YGVK_SENDER_WS_TO_WS' (channelId f1219fd41be734a2a72cd3ddcb779475)
Regards,
Vijay Karthik GHi,
copy the sender agreement to the same one but in party field
remove the " * " (it has to be empty)
test it and let me know
Regards,
Michal Krawczyk -
Hello ALL
I am trying to working in RFC to SOAP scenario in sap pi 7.31 single stack system.with help of blog **************** - Scenario on RFC to SOAP
i am trying to pass input values from ECC through RFC to web service .
while sending data using function module from ECC system i got following error
thnx in advanceHi Ganesh,
are you getting any error is SM58? Please check the below blog for configuration
Michal's PI tips: How do you activate ABAP Proxies with AEX - simplified version
IDOC_AAE To File with all Configurations
the below discussion will be useful
RFC to FILE(7.3) single stack -
hi expects ,
can any body send me the rfc to soap scenarios examples.please help me.Hi Santosh,
Check the following link.. hope it will help u..
Configuring the Synchronous scenario in XI
Regards,
Rohit.
Reward points if helpful. -
RFC to SOAP Scenario -- Delivery Exception
Hi All,
I am working on RFC to SOAP scenario.
On executing a program in the SAP system, the system is throwing a dump stating "com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML".
I feel that the error is because of the response not being sent back by the webservice. On executing the webservice independently, it is working fine i.e. sending back the response.
Can anyone suggest the possible reasons for this error and what needs to be done to rectify this?
Thanks,
Ravi Kiranthe return from the Web service must have been an HTML(may be an error page or something)...What kind of authorization does this WS look for ?
Pls check these threads...
SOAP Receiver Adapter Proxy Settings
Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML -
Hello Team,
I am doing RFC to SOAP scenario after configuring the scenario i have checked the sender side communication channel it is not throughing any errors and it shows the status as green but it is displaying a short message
it is the short log displayed while checking the sender side RFC communication channel it shows that "jco.webas.ignore_jdsr_error=1" can please any one suggest me how we can solve the issue.
Regards,
Avinash.Hi Avinash - I don't think that is an error instead it just displays your system configuration.
your RFC adapter should work i believe..
Are you facing any issues?
(I think the parameter is nothing but the value @ nwa/java system properties/XPI Adapter:RFC -> ignoreJrfcJdsrError(true/false)) -
RFC-to-SOAP-Scenario: XIServer:NO_MAPPINGPROGRAM_FOUND
Hey guys,
We've implemented in SAP PI 7.11 a RFC-to-SOAP-Scenario. The whole scenario is sync. WSDL and RFC are imported objects.
Now we're going on to test in backend and call the related remote function module via se37.
The error message is (from xsmb_moni)::
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
<SAP:P1>Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Mapping program is not available in runtime cache: Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What we've already done:
-> Cache refresh
-> server restart
-> soap fault mapping
-> dummy changes
-> mapping is available in sxi_cache
-> function module is not dumping in backend
Any ideas how we can go futher with this?
Thank you very much and greetings,
StefanFYI...
Apparently, this error message can sometimes be misleading.
I found in another thread that this message came after a short dump in the ABAP function. After viewing ST22 in our backend system I noticed short dumps corresponding to the times when I make the SOAP call.
[NO_MAPPINGPROGRAM_FOUND SOAP RFC Adapter]
We can call SE37 with the same parameters and there is no ABAP error. So the search for root cause continues, but maybe this info will help someone.
-Aaron -
Hi Experts,
I am getting an error while dealing with RFC to SOAP scenario::
soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
IS it problem from the webserver in sending the response?
Please suggest.
Thanks & Regards,
SushamaHi Suraj,
Thanks for the imputs.
We are given with the webservice by separate team, also I am accessing the application via Citrix. I cant test the WS outside the client network and in client desktop they haven't installed Altova Xml Spy
Request and response both are generated in Moni. It seems problem in receiving response only ?? WS url is also correct.
Regarding Receiver Soap parameters:
I have checked adapter specific identifiers and Variable transport binding.
Please suggest, if this is problem with the WS, I need to check with the team.
Thanks & Regards,
Sushama -
Hi friends,
I m doing a RFC-XI-SOAP scenario. I m getting an error when tried to run this.
soap fault: Server was unable to read request. ---> There is an error in XML document (1, 297). ---> Input string was not in a correct format.
Is this because of any mapping error or SOAP URL error. Please advice.It is urgent.
Thanks in Advance.Hi Amit,
Thank you for the quick response.
Yes. It is a synchronous scenario.
I tried testing with SAP SOAP client.
Gave the inbound message payload from sxmb_moni as request. The error I m getting is
Failed to parse soap message
Original(raw) message:
com.sap.uddi.generic.impl.soap.NativeSOAPException : Failed to open socket
Cause : class java.net.UnknownHostException : proxy
Is this a reciever side server problem?
Thanks
Edited by: Anjana Sankarannambisan on Jun 27, 2008 9:43 PM -
SLD configuration for DXI / PXI technical systems
Hello,
we have a problem when transporting XI configuration objects from XI dev to XI prod. The transport objects arrive in XI prod, but the name of the business system (for the SAP backend system) is not converted from dev business system (T01CLNT010) to prod business system (P01CLNT01) although the transport target for T01CLNT010 business system was set correctly (we are using business system groups Dev and Prod). And the "related integration server" for T01CLNT010 was also set correctly to DXICLNT010.
But then I noticed that the technical system for the DXI (XI Dev) is configured as follows:
TMS Domain ("DOMAIN_PXI") and TMS Transport Group Name GROUP_PXI ("GROUP_PXI") have the same values as PXI. Is that correct ?? We are using file transport, not CMS.
Another strange effect is that when I set the group in business system DXICLNT010 to Dev, that is also applied to business system PXICLNT010 ! Which is of course not what I want.
I assume I have to associate DXICLNT010 to Dev and PXICLNT010 to Prod, same as for T01CLNT010 / P01CLNT010. Correct ? Or does the group in the XI business systems not matter ?
Can anyone post an example of a working SLD configuration with two XI system dev and prod ? What values do I have to use in the XI technical and business systems, so that the transport will work ?
CSYThere's obviously something wrong in the SLD configuration for the exchange infrastructure systems. The error you're describing (one system pointing to another) usually occurs when one system is generated through homogeneous system copy of another system (was that your case?). I've seen that behaviour once and they corrected it by manually deleting the exchange infrastructure systems from SLD and creating them again from scratch.
Anyway, I highly recommend you to get an expert NW Basis consultant to realize a check in it before you proceed any further.
Aside of that, you're correct in your assumptions.
Your config in SLD should be like:
DEV_GROUP:
- DXI
- T01
PRD_GROUP:
- PXI
- P01
It's always 1 XI BS per group.
Also, if you use separate SLDs for XI Dev and XI Prd, you have to make sure that this configuration is reflected in both SLDs. So, if you make it one SLD instance, you must generate a delta export zip file from the SLD where you did the configuration and import this zip file in the other SLD instance.
If you use a central SLD, then it's not necessary.
Regards,
Henrique. -
ABAP Mapping in RFC to SOAP Scenario
Hi Folks,
I have a scenario to send data from RFC to SOAP. I want to use the ABAP MApping for this case. Can anybody guide me how to do the ABAP Mapping for this case ? It will be real help if somebody can give a step by step guide ?
Regards,
SantoshHello Again,
HOW TO DO ABAP MAPPING:
Use this link and go to sec 3.1 Do exactly as mentioned in this link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
OR
1. Open http://<host>:<port>/exchangeProfile/index.html
2. Choose IntegrationBuilder -> IntegrationBuilder.Repository ->
com.sap.aii.repository.mapping.additionaltypes
3. Maintain the following entry:
R3_ABAP|Abapclass;R3_XSLT|XSL (ABAP Engine)
4. Open http://<host>:<port>/rep/support/admin/index.html
5. Choose Administration of Properties -> All Properties
6. If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not correct, choose REFRESH at the top of the page.
How to call XI ABAP Mapping via RFC:
/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
XI: ABAP mapping blogs
/people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
/people/rahul.nawale2/blog/2006/11/01/dynamically-sending-a-mail-to-the-po-creator-using-xslt-abap-mapping
PART 1
/people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach
PART 2
/people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach
PART 3
Convert an ABAP table into XML file using SAP DOM Approach
/people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
Testing ABAP Mapping
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Regards,
Madan Agrawal -
RFC to SOAP Scenario - WSDL-Import really needed?
Hey @all,
we like to feed a webservice via SAP Backend. As middleware we use SAP PI 7.1.
The planned scenario is RFC to SOAP. The wsdl of webservice (NON-SAP) has no filled soapAction-Parameter and the operation with name "process" occures three times in it with the same name, but each operation "process" has it's own Request / method (axis), like "Request1", "Request2", "Request3". Each request has it's own response.
In this case it is not possible to import the wsdl as external references correctly - the import gaves an error caused of the identical names of the three operation-parameters.
The question is:
Is it possible to work this out without the import of wsdl and without soapAction-Parameter?
How could we call the correct operation?
Thanks very much in advance,
StefanHi,
Maybe you could try to editing the WSDL and import it three times e.g for process (1) here is the WSDL (1) --> Make sure you delete the other process.
Make message mapping for each process and its corresponding response. So that would be, 6 message mappings (request and response) and 3 operation mappings.
In Integration Directory, call the correct operation in Interface Determination by using xPath.
http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
although the blog above is for receiver determination, the xPath conditions for interface determination are the same.
For the without SOAP Action parameter, I guess it is okay to leave blank. I have not used the SOAP Axis though (I used the PLAIN_HTTP adapter for that). Just to be sure, test it in SOAP UI.
Hope this helps,
Mark -
Any more configureation needed for RFC -File Syncronous scenario?
HI Experts,
I am working on File to RFC syncronous scenario.
I imported RFC which has Mess, Res and Excep
I have ED which has only Mess
Now I need to send file using File Adaptor to ECC using RFC and ECC has to send resp back to File using File Adaptor.
I created:
MI
MI_File_Meg_os (File Message Output Syncronous) ---> Mess ED
> MT_Res -
> DT_Res
MI_RFC_Meg_is (Input RFC Message ) ---> Mess
> Resp
I cretaed MM for (Message and Response), IM (mapped for both mess and respose) and activated.
I created 3 Communicaiton Channel (File_Sender, File_Receiver and RFC_Receiver), Rec Determination, Sender Aggrement and Receiver Aggrement.
Do I need to create any more objects or configure ?
Thanks in Advance,
RajeevYou need RFC CC and Filereceiver CC too
Sender Agreement
Do I need to make sender CC for RFC or File receiver CC?
both
Interface determination,
for mapping File request to RFC and RFC response to File
Sender or receiver Aggrements
sender agreements with FileSender CC and receiver agreement for File receiver CC
For getting back Ack from ECC?
RFC is synchronous and can return response
goto wiki and check for pi there is exact scenario
rajesh -
RFC destination for RFC to File scenario
Hi,
I m creating a TCP/IP RFC destination in R/3 system for my RFC to File scenario.
Step 1:
For this a Registered server program is created in Jco RFc Destinations with,
Program Id : pgm1
Gateway host : PI's host
Gateway service : PI's service
application server host: ECC's host
system numer : ECC's number
client : ECC's client
logon user : ECC user
password : pwd
Step 2:
In SM59, TCP/IP connection the following parameters are given:
Program ID : pgm1
Gateway host : PI's host -
> is this correct
Gateway service : PI's service -
> is this correct
Step 3:
So i am calling the RFC in ABAP program (R/3 system) like:
CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
Step 4:
In PI side,
for RFC sender I am passing :
Application server : PI server
Application server service: PI host
program ID: pgm1 which was created in the previos step
For RFC Metadata Repository Parameter, i am passing all the values related to R/3
Please let me know whether the steps and values i given is correct.
B'cos even if i give ECC's information in Gateway host and Gateway service the scenario works fine and if i PI's info then also it works fine.
so i am confused as which is the correct method. pls clarifyOk I will try to explain....
Assumptions: R3_TO_XI is the name of RFC which I created in ECC of type T.
While creating the RFC in ECC we mention a unique name which is called Progaram ID. Now the same program id we mention in our sender RFC CC.
So now when an ABAP Progarm (where you will call this RFC with it's destination) is scheduled/triggered with the code as mentioned below then since the DESTINATION ('R3_TO_XI') mentioned here contain the same program id which we have mentioned in our sender CC, invokes the adapter in PI and soon after that all pipeline steps get executed in XI.
CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
IN BACKGROUND TASK
DESTINATION 'R3_TO_XI'
TABLES
comp_detail = company_detail.
COMMIT WORK.
Regards,
Sarvesh -
Alert Configuration for File to IDoc scenario
I have followed Alerts : Step-by-Step /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
and configured Alerts for file to IDoc scenario.
But the problem is, I did not notice any alerts being generated. I could notice the IDocs being posted to destination system. So I was going through Alerts-Troubleshoute Guide. In intension to maintain monitoring level, I clicked Configuration tab. But I did not notice my sender and receiver system there to maintain.
Can any body help me to detail out the procedure to add sender and receiver systems to maintain the monitoring level?
Regards,
Suraj Kumarhi Suraj,
WHich SP version are you on??
If you are on Sp14 or above, then unfortunately, Michal's Trouble Shooting for Alerts will not help.
From SP14 onwards, activation of end to end monitoring is not needed for Alerting. Refer to this note <b>870232</b> for this info.
Next, to test if your Alerts have been defined correctly, go to SE38. In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.
If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.
Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.
If this is working fine, then the last step, implement the note 913858.
Regards,
Bhavesh
Maybe you are looking for
-
My I phone is literally dead. I tried upgarding the software yestreday, it refused saying there was an error, I was given an option to restore it, it has failed. Now there is no old software as well as the new software. Its showing a plug and an Itun
-
XML Encoding Issue - Format UTF-16 to ISO-8859-1
Dear Groupmates, I have data in my Internal table which i am converting to XML using custom Transformation. Data is going to third party.The third party system requires data in ISO-8859-1 Format but SAP is generating the same in UTF-16 Format.I have
-
I have a problem with my mic i have g62-a13se
What can I do with my mic when I talk to someone I here an echo and avery loud noise ?????
-
Project Lite License for Team Members not giving access to the PWA
Hi there - So here is my issue I am having with Project Online 2013. I am new to project server ( I mean project online) & really having fun with it but MSFT can make it a bit easier to the Users. So we brought the following 2 licenses 1) Project Li
-
How to use the single sign-on cookie
I have a web dynpro application that's triggered by a button press in the gui. It was set up to use the 'WDY_EXECUTE_IN_PLACE' function module. However, I recently attended a Web Dynpro course and was told that's not the correct way to do it - I shou