SAP-XI-Webservice scenario
Hi,
I have following scenario: SAP triggers a proxy to XI which calls a webservice. Right now proxy from SAP reaches XI, however i get following error when trying to consume the web service on third party server : com.sap.aii.af.ra.ms.api.DeliveryException: Connection closed by remote host.
This is a secure webservice for which we have done neccessary configuration on XI side. Not sure if this error is because of something missing in the configuration or something else.
The target url in SOAP adapter which points to the wsdl is viewable in browser.
Please advise.
Thanks
Anand
HI All,
I think the error that i was getting till now is resolved.. however I get a different error now, following is the error:
<?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="UNKNOWN">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>application fault</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Similar Messages
-
Webservice (oracle erp applications) to SAP PI to SAP R/3 scenario.
Hi All,
I have to make webservice (oracle erp applications) to SAP PI to SAP R/3 scenario.
1. If I make Outbound Interface with 2 fields in SAP PI. Publish its Webservice in Service Registry and then
send its WSDL URL to oracle erp applications system team.
Question --oracle erp team is asking me how they will call my webservice with 2 parameters so that JDBC Table which has 2
fields can be passed to my webservice and its parameters.
2. If I use JDBC sender adapter scenario -- Please let me know if am doing the things fine
a. Oracle erp System driver to install at SAP PI system
b. Connection, host name etc. information will be provided by ERP team that I will use in JDBC sender adapter
Please let me know for the aboce scenario
ThnaksHi ,
If I make Outbound Interface with 2 fields in SAP PI. Publish its Webservice in Service Registry and then
send its WSDL URL to oracle erp applications system team.
Question --
oracle erp team is asking me how they will call my webservice with 2 parameters so that JDBC Table which has 2
fields can be passed to my webservice and its parameters. Please let me know
The below approach is when above webserive is not used.
2. If I use JDBC sender adapter scenario -- Please let me know if am doing the things fine
a. Oracle erp System driver to install at SAP PI system .
Question -- If I install Oracle erp System JDBC driver in SAP PI system then what is use of ora14jdbc.jar.
Do i need to that also. Please let me know. -
Error in SXMB_MONI for HTML to Webservice Scenario
Hi Experts,
I am facing following error Error in SXMB_MONI for HTML to Webservice Scenario
"Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
Only one field is used i.e. email address and mapped properly in IR but still the error is persisting, Please suggest some way out.
Regards,
NitinHi,
Mapping internall follows the SAX parser. Please check if you are trying to process the data of large size.
generally while parsing the large data this exception get raised. Even though there is just one field, what is the data size you are trying to pass.
Thanks
Swarup -
Want to create IDoc to Webservice Scenario
Hi All,
I wan to do Idoc to Web Service Scenario, I have already done Idoc to File Scenario and I have mapped the file of both end in ESR and I am done with Configuration in Integration Directory.
Now If I want to convert it to IDoc to Web Service Scenario, what all steps need to be done. and also want to know that How we can access and Send the files from Web Service to PI 7.1. As such web service is not available need to create the same also.
Can anyone provide How to guide on this scenario.
Regards,
Nitin Patil
Edited by: Nitin Patil on Dec 19, 2008 2:44 PMHey,
as you have familiar with idoc to file, the idoc to webservice scenario is not different.
You need to do the ALE settings on the R\3 side. import the Idoc in XI.
Now for mapping purpose you need the source and the target structure.
In case of webservice you need to import the WSLD (unlike the file in which you wold have created the data type and message type)
In order to import the WSLD, you need to do following things.
Ou require NWDS and the following settings needs to be done
Deployement of Web Services:-
Step 1)
Goto Windows->Open Perspective->J2EE development.
Step 2)
Goto File->new->Ejb module(give project name).
Step 3)
Right Click on the <project name> eg. work_ejb select new->Ejb.
Step 4)
Give an appropriate EJB name and default package (eg. com.xxx.yyy).
Also select stateless Ejb.
Click next then next and then next.
Step 5)
Add method with an appropriate name.
Mention the return type and also assign the required parameters.
Logic is written in the EJB module bean.
Step 6)
Right click on the <project name> and build.
Creates .jar
Step 7)
Goto File->new->Enterprise Application project(to create EAR)
Step 8)
Give project name, assign EJB and build.
Creates EAR.
Step 9)
Right Click on the EJB.
Goto new->Web services.
Specify name of the web service.
Specify EAR in the WEB service.
Step 10)
Build EAR.
Build Ejb.
Step 11)
Goto Windows->Prefrences->SAP j2EE engine.
Give the message server host name.
Step 12)
Right Click on EAR and deploy.
Step 13)
Goto-> http://<host name>:<port no.>/index.
Step 14)
Choose the web service name,test it and download it(default WSDL).
Step 15)
Import port(WSDL) in External definition of SAP PI.
After you import the wsld, you need to follow the same procedure as idoc to file.
regards,
Milan -
RFC - XI - WEBSERVICES scenario - Where to create RFC Destination
Hi Experts
For my RFC - XI - WEBSERVICES scenario, I have to create one TCP/IP RFC destination on R/3 system with the following details
RFC Destination Name : XXXX
Connection Type : T (TCP/IP)
Activation Type : u201CRegistered Server Programu201D
Program ID : YYYY
Gateway Host : R/3 Details ..??
Gateway Service : R/3 Details ..??
My Function Module (Remote-Enabled) - u201CZZZZu201D is defined in R/3 System.
This Function Module should be communicated with the target system i.e. NW XI system
As per the Note from SAP Help: To be able to communicate using RFC, you need to define the target systems as RFC destinations in the sending system(R/3)
Target system u2013 XI Server
Sending system u2013 R/3 System
Are my details provided are good enough as per my explanation? Please guide me in this regard.
QUESTION : Where exactly do I need to create the RFC Destination(SM59)? on R/3 side or on XI side?Refer the following link-
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID1636235450DB01012070359836134304End?blog=/pub/wlg/1438
what are the inputs should be given to Gateway Host and Gateway Service while creating RFC Destination??
Open transaction SMGW on the R/3 system and choose
Goto -> Parameters -> Display. Beneath Attributes there will be the
entries 'gateway hostname' and 'gateway service'.# -
XI Contents : Error Handling : Syncronous Proxy - WebService Scenario
Hi,
I am working on Syncronous : Proxy <-> XI <-> WebService Scenario.
I am using Standard XI Contents from XI and SAP side.
Meaning : All the design objects like Message Interface / Message Types / Data Types etc are NOT created by me, but I am using from Standard XI Contents EA-HR 600. I did all the Configuration of the Scenario by using these Design objects.
In short , I can not change any of the Design object as it belongs to SAP.
Now, the scenario works fine. But I need to cater for Error handling.
Any suggestion.
I can not create fault messages as it is SAP's objects.
Thanks.
DkThanks for suggestions.
Now my comment on these suggestions:
Option1 by Bhavesh. Copy Contents to my namespsce : I can do that, but here I need to tell you something. I have used Contents (Design Objects) and I didnt have to even create or activate any proxy ( I was amzed to see that ). Now, coping all the contents to my namespace will give me flexibility to add Fault Message (which is currently not avilable in standard content). but..but..I will have to create and generate / activate the proxy. ( Am I right?). Then where should I use this proxy? How my application will talk to this proxy? (I am not sure if I made my point clear). Currently I dont have to worry about communication between this HR application with standard Proxy ( which belongs to standard contents).
Option2 by Jai. Webservice changes : Webservice is not developed by me. I am consuming it. but I can ask this vendor who is WebService owner to change his webservice to suit my needs. But it wont solve the problem as I do not have Fault message at XI side.
I can consider Option1 by Bhavesh, if the proxy problem is solved.
Thanks,
DK -
Polling in webservice scenario
Hi Experts,
I know Sender File Adapter and JDBC Adapter supports polling. Is it possible to use polling in webservice scenario?
Is it possible to expose a File Adapter and JDBC Adpaters scenarios as a webserice?
Regards
SaraSara,
Can you go through the urls:
sender JDBC by schedule function
JDBC
If it doesnot work for you, then try to see the SXMB_MONI or the JDBC
Try using:
"Disconnect from Database After Processing Each Message" indicator
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
Polling at intervals
Thanks,
Satya Kumar.
Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 2:25 PM -
Hi Experts,
How to test the webservice scenario with more than 10 users at a time?
Thanks & Regards
SaraHi Sara,
As u metioned to calculate the CPU utilization for the scenario which are invoked at the same time for more users.We can create multiple users with different user id's
and coming to the point of calculating the CPU usage pls consult ur SAP XI BASIS team they would be helping u out and allow n users to access the service parallel
sara pls chk this link
Good One *********************
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/07ddd490-0201-0010-698b-e240c0f58bbd
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e00ac676-7b92-2910-6b81-dad421126406
http://help.sap.com/saphelp_nw04/helpdata/en/1a/7dc33a0f374932e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6c4d505211d189550000e829fbbd/frameset.htm
/people/sap.user72/blog/2006/03/22/how-to-stop-xi-server-utilizing-99-cpu-cycles
if found worth pls do the req
ok
Regards
Sampath -
Hi All,
Could you please provide some sample BPM webservice scenario for the Approval process?
Actually, don't want to get top to bottom info. for this request, prefer to have just layout info.
Regards
SaraHi Sara!
There was a document written by SAP describing exactly this process - XI (BPM) + approve in R/3. Try to find it on SDN... If you're not succesful and want REALLY to have it I have it on my pers NB somewhere, so in this case provide pls yr email adress.
regards,
P. -
Webservice scenario. pls suggest
Hi All,
Please let me know what it means when we say call Webeservice from Java or SAP using Service bus.
It will come under which given below scenario or this wil be some other scenario
When PI 7.1 is consumer of Webservice
Scenario - we import wsdl as external defination and use Soap Receiver adapter
When PI 7.1 is provider of Webservice
Scenario - For Outbound Interface Sender Aggrement we take Endpoint WSDL and login to Service Registry and publish that
Endpoint WSDL and send that Endpoint WSDL to 3rd party and use Soap Sender adapter
Thanks>
Rick R wrote:
> Please let me know what it means when we say call Webeservice from Java or SAP using Service bus.
> It will come under which given below scenario or this wil be some other scenario
in this case, when ever a system is calling a webservice and that system is not PI, then ideally it will be PI who is hosting that webservice -
does any one has a webservice scenario step by step....I mean Enterprise service repository with PI 7.1
how to deal with ESR....Enterprise service bundels.....etc....Hi,
just now I was also looking in the same video..its good one
Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/304335f7-f33c-2a10-ae80-9c9ffdc86415
Supported XML Schema and WSDL (SAP NW PI 7.1)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40c3a137-1769-2a10-bda9-ad62d508af9c
Webservice Client for PI 7.1
Webservice Client for PI 7.1?
have some more material
Mapping Enhancements in SAP NetWeaver Process Integration 7.1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/909e33f0-738c-2a10-4f87-ce73398bcf08
SAP NetWeaver Process Integration - Simple Use Cases
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b030691f-8b8b-2a10-5d94-8dd064dc2aa7
Introduction to Global Data Types in SAP NetWeaver Process Integration 7.1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4037b3fc-fb52-2a10-4888-e28362af626e
SAP Network Blog: SAP PI 7.1 Mapping Enhancements Series: Mapping Enhancements Demo
/people/jin.shin/blog/2008/01/11/sap-pi-71-mapping-enhancements-series-mapping-enhancements-demo
Thanks
Swarup
Edited by: Swarup Sawant on Jun 12, 2008 10:33 PM -
Webservice scenario access url
Hi Experts,
Could you please tell me what all ways to access the webservice scenario.
1. Through java port. Example : http://<servername>:<b>50100</b>/XISOAPAdapter/MessageServlet?channel=:Business_service:CC
2. Through abap port.
http://<servername>:<b>8001</b>/sap/xi/engine?type=entry......
3. What all other possible ways???
Regards
Sarahi sara,
This link also has a forum discussion with same subject
Re: How to access web services?
Hope it helps you!
Regards,
Ramesh P -
Can I include 2 diff strctures in d same wsdl file in a webservice scenario
Hii all,
We are using webservice to webservice scenario in which sender shld b able to send all the new rquest to the target and receive any updations or modifications from the receiver.
Few fields are different for request and modification structures. so i created 2 diff structures for source and target.
can any one suggest me who can i use single wsdl file for both the msgs( Creation and modifications) mean how to implement multi maping ( 1 to many) using wsdl
Regards
AnuA simple way to include the 2 structures in one WSDL would be to create a combined structure similar to the one below:
<RequestPackage> (1 occurrence)
<Request> (0 to n occurrence)
<Create> (0 to 1 occurrence)
... Create Fields u2026
</Create>
<Modify> (0 to 1 occurrence)
u2026 Modify Fields u2026
</Modify>
</Request>
</RequestPackage>
This is more complex than using 2 wsdls but it would allow you to easily send multiple create and modify records in the same message.
- Craig -
hi,
i am taking 2 FM's in rfc side and i am taking external definition in receiverside i.e in soap side
rfc to webservices scenario
could any one help me immediately.
urs
sumanHI
Refer this
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
Steps
Import the RFC meta data to PI
Import the WSDL to PI
Create MI for RFC -outbound Sync (if response is involved else Async)
Create MI for WSDL service you want type Inbound Sync (If response involved)
Create MM(external definition and RFC), IM for these
Create Sender RFC adapters with SA
Create Receiver SOAP and do necessary pipline steps
Thats it
Thanks
Gaurav -
How to handle data that got from SAP by Webservice?
Hi, Gurus.
I am working on IFbA with ABAP and Adobe LiveCycle Designer.
I've developed a function module in R/3 system and created webservice, connected the WSDL address to the form. The problem is how can i handle data that got from SAP by Webservice?
It's Ok if i bind the dataconnection node to the form element, but how can i handle data without binding to the form element? I mean that how can i use the data retrieved from Webserivce in the Javascript, please give me some sample code or script method.
Thanks.Hi Yang,
If you are using Web Service, then the binding will be done automatically.
It can't grow automatically, what else should i do to achieve this?
1.Select the table(make sure you are not selecting subform) in Hierarchy view
2. Under table select the Row which is having the required fileds for data
3. In the Binding of that row, check the checkbox "Repeat Row for each item data" and under that check the Min Count which will set the default row **** to 1
Regards,
Sachin
Maybe you are looking for
-
875p, I CANT LOCK my PCI / AGP Frequency using FAST,TURBO, or ULTRA
i have an 875p neo. i am one setting away from loving this mainboard(finally). i have a 2.8ghz running at 3.0 (with a 1:1 FSB/RAM). i can run stable in TURBO MODE, with "timings by SPD". i am using 1.7 bios (1.8 gives me lower performance). i tried a
-
Absolute placement of a row at the bottom of the page
I have a tablix which is like an invoice and i need to have the last few rows to stay at the bottom of the page. It is all one tablix the middle row which list the invoice items should not shrink. I can set the row's property Can Shrink to No and inc
-
The new stats spreadsheet shows a comment in the "Total Track Downloads" cell that says Total Download = DownloadTrack + DownloadTracks + DownloadiOS + SubscriptionEnclosure The "DownloadiOS" is new (wasn't in old site stats). What does it mean? Our
-
Hello friends , When i m using System.out.println() in servlet its o/p should come in catalina.out but its not coming plz help me....one thing more can we replace exixting catalina.out file with new one... please Help me soon. Thanks
-
Is there a way to disable the new VIP mail folder?
It's of no use to me and I do not wish to see it amongst my email accounts