Webservice to webservice scenario
Dear Experts,
Could you please help me in solving the below queries
In SOAP TO SOAP Scenario Sender is one WSDL and Receiver is another WSDL,after completing Scenario we can generate a WSDL from XI Configuration->Define Webservices, if we test the WSDL then only the Data is getting transferred from Sender to Reciever.
Queries
My question is Without using XI System generated WSDL is there any way to trigger the Sender to send the data to Reciever
Another query is if it is Possible only with XI WSDL then how to trigger the Sender (SAP and NON-SAP)
I am not sure whether i get your question but Altova xml spy is a xmlpath and webservice tool which allows you to generate soap requests from your machine-
follow the webservice to webservice tutorial at saptechnical
The way it works is that the external webservice which is trying to access data from sap must connect to the xi webservice first, this service will have importing params and exporting params-
external soap request -> Xi soap--> rfc/webservice of function module
and then in return its vice versa- so your xi works as a middleware, it receives the request from external systems etc- and forwards it, it is not generating anything on its own-
this is for the scenario where an external system needs to start the event and get something back- synchronous
Now the case is when you wish to generate the starter event within sap- the starter event would be triggered through SPROXY- create a rfc or etc and then generate the wsdl for it- Not create the define web service from the utilities within the repository-
Sproxy allows you start the event and is based on the http adapter- alternatively like i said, you would have to use the webservice creation from utilities within SE37-I hope that clears up your question?
Edited by: Zeeshan Shah on Dec 23, 2009 10:58 AM
Similar Messages
-
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 -
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 -
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 -
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 -
How to maintain EOIO for JMS to multiple webservices scenario
Hi,
I have a requirement that
how to maintain EOIO for JMS to multiple webservices scenario.
JMS queue has multiple messages, each message has to be sent to either of 2 receivers.
How to maintain EOIO in case, when there are 2 receivers.
Regards
SekharHi,
since messages are split between 2 webservices receivers, each would have its own SOAP adapter.
So if order of messages in the JMS queues is M1, M2, M3 and M4 . There is a field based on which split happens.
Say, if M1 and M3 have to go Webservice1 (will have its own mapping)
and M2 and M4 have to go Webservice2. (will have its own mapping)
we'll have two receivers in the receiver determination and hence two Interface determinations.
The result should be
M1 delivered to Webservice1
M2 delivered to Webservice2
M3 delivered to Webservice1
M4 delivered to Webservice2
How will we maintain EOIO in this case?
Regards,
Balaji.M -
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 -
Popup for logon data in proxy to webservice scenario
Hi all,
We configured a proxy to webservice senario. The scenario consists of an ABAP program consuming a webservice through PI. All is working fine, but when the ECC system calls the PI system a popup to enter logon data appears. After entering the correct credentials the interface proceeds and returns the data of the webservice.
I read a lot of threads about this subject, but still was not able to find the answer to solve this problem.
Is anyone familiair with this problem? Thanks in advance for your help.
Best regards,
Ivo van EeHi Ivo,
--> The Error which you are facing is due to the configuration problem in your RFC destination of type H.These are the proxy pre-configurations steps.
This interface was working before, but after a systemcopy from ECC production system to ECC development system the popup appeared when running the interface. We didn't make any change to the PI objects.
--> After done with the client copy check the RFC destination of Type H whether the details provided are correct or not.
--> If you are unable to solve this issue contact your basis consultant.
Thanks -
Exception in PI to Webservice scenario
Hi ,
Requirement: Send signed and encrypted data to a web service in R/3 from SAP PI.
We have configured this scenario as follows;
Webservice is built on SAP R/3.
SAP PI successfuly calls the Webservice to send data, without MLS'
When we try with 'Sign and Encrypt', we are getting the following Exceptions;
Date , Time , Message , Severity , Category , Location , Application , User10/10/2011 , 14:35:29:489 , Exception - general exception, no further informations. Message:
MessageSecurityContext in Method: apply( Message, CPALookupObject ). ApplyThread-Exception Message: ProcessException in Method: run(). Key: 0700; To-String:
com.sap.aii.af.security.impl.exception.MessageSecurityException: ProcessException in Method: run(). Key: 0700. To-String:
com.sap.aii.af.security.impl.exception.MessageSecurityException: MessageSecurityContext in Method: apply( Message, CPALookupObject ). ApplyThread-Exception Message:
ProcessException in Method: run(). Key: 0700; To-String: com.sap.aii.af.security.impl.exception.MessageSecurityException: ProcessException in Method: run(). Key: 0700.
[EXCEPTION]
com.sap.aii.af.security.impl.exception.MessageSecurityException: MessageSecurityContext in Method: apply( Message, CPALookupObject ). ApplyThread-Exception Message:
ProcessException in Method: run(). Key: 0700; To-String: com.sap.aii.af.security.impl.exception.MessageSecurityException: ProcessException in Method: run(). Key: 0700
at com.sap.aii.af.security.MessageSecurityContext.apply(MessageSecurityContext.java:453) at
com.sap.aii.af.mp.soap.ejb.WSSecurityExtension$ApplyMessageLevelSecurity.run(WSSecurityExtension.java:333) at java.security.AccessController.doPrivileged(Native
Method) at com.sap.aii.af.mp.soap.ejb.WSSecurityExtension.doSign(WSSecurityExtension.java:196) at
com.sap.aii.af.mp.soap.ejb.WSSecurityExtension.invokeOnRequest(WSSecurityExtension.java:108) at
com.sap.aii.messaging.srt.ExtensionBubble.onMessage(ExtensionBubble.java:50) at com.sap.aii.messaging.srt.ExtensionBubble.onMessage(ExtensionBubble.java:56) at
com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:902) at
com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103) at
com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:258) at
com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103) at
com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:266) at
com.sap.aii.af.listener.AFWListenerLocalObjectImpl0.onMessage(AFWListenerLocalObjectImpl0.java:103) at
com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:306) at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:995) at
com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.invokeHandler(ReceiveConsumer.java:356) at
com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.onMessage(ReceiveConsumer.java:102) at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56) 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:100) at
com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) , Error , /Applications/ExchangeInfrastructure/Security ,
com.sap.aii.af.security.MessageSecurityContext.MessageSecurityContext.apply( Message, CPALookupObject ) , sap.com/com.sap.aii.af.soapadapter , J2EE_GUEST
Date , Time , Message , Severity , Category , Location , Application , User10/10/2011 , 14:35:29:505 , failed to apply Web Services Security , Error , ,
com.sap.aii.af.mp.soap.ejb.WSSecurityExtension.invokeOnRequest(Message, MessageContext, Hashtable) , sap.com/com.sap.aii.af.soapadapter , J2EE_GUEST
We have followed all the Instructions from the SAP MLS guide for PI 7.0.
Please help!
Regards,
PratibhaHi All,
We have tried using the SOAP adapter.
Now, the message is getting Signed and Encrypted.
Message is successful in SXMB_MONI.
But in Communication channel monitoring, we are getting the following status;
10/13/11 4:52:40 PM 0c7a4a57-301e-064f-873e-02115306babe call failed
10/13/11 4:52:40 PM 0c7a4a57-301e-064f-873e-02115306babe request entering
Kindly help.
Thanks,
Pratibha
Maybe you are looking for
-
How to replace null value, if column is text and not numeric in OBIEE?
Hi, Please note that I had tried to change the null text by adding bin value for Unspecified and Unknown but this did not work for me.. not sure if I am missing out to put anything in value filter- Thank You, Ravi
-
I tried downloading a movie, at the very end it said there was a problem. No explanation, now it's not in my itunes library and when I try to download again it tells me I have already rented this movie do I want to rent again? I don't want to pay for
-
Adobe Acrobat 7.0, 64 bit OS, & Warning 20225 for Adobe PDF Port Printer!
I've had adobe acrobat 7.0 for years, & just installed on my new toshiba m305-s4910 with a 64 bit operating system, & I'm unable to get the pdf printer to work. Getting this error: Warning 20225. Adobe Acrobat 7.0 setup was unable to create a new ite
-
IMac Dual Monitor, Mini-DP to DVI, Screen Blinking
2.4 Ghz Core 2 Duo, 4 GB Ram. ATI Radeon HD 2600 Pro graphics. Been using Snow Leopard here at work, running dual monitors via Mini-DP to DVI cable. Never a problem previously. Upgraded to Mavericks. Enjoying it. Until the 2nd monitor (Acer v223w) st
-
So in the last couple of days Aperture has become unusable. I cannot view anything in the main window unless it is zoomed to a percentage. The zoom viewer which is supposed to make the image fill the screen wont show anything. Photos flash and then d