ThirdPart(WebService) = XI = SAP(Async)
Hi
We are doing a scenario where an IDOC is sent to SAP which is alwalys async and then gets status as ALEAUD back to XI and XI sends it back to the client. We are ending with errors.
Have anybody done this scenario, Would this be possible???
Please try to comment.
Thanks in Advance
Ramesh
Dear Ramesh,
Sure,
Since one Java Mapping for the Input file Validation and another for the OUTPUT from the SAP where there was no much validation at all,One interface mapping for sending file and another for receiving file.
Regards
Agasthuri Doss
Similar Messages
-
SAP(Idoc) = XI = ThirdPart(WebService)
Hello friends!
I have a problem with development of acknowledgement system with SAP(Idoc) <=> XI <=> ThirdPart(WebService) scenario.
My case:
Scenario looks like:
SAP(Idoc) <=>(Idoc adapter) XI (SOAP adapter)<=> ThirdPart(WebService)
It must work this way:
SAP system send IDOC, then XI map it and send it via SOAP-adapter to third part webservice. Then webservice answer to XI with structure сontains "TRUE" or "FALSE",
and then XI must inform SAP ALE/IDOC system if current information from idoc was successfully added to webservice or not.
But how can I get it? As far as I understand ALE/IDOC system I have to create ALEAUD by myself, put status of idoc depends on webservice return and send ALEAUD idoc to SAP.
I'am right?Hi,
You can use BPM for this Idoc--Soap Sync Process
Design objects:
Data type & Message Type
1) Import the IDOC and Later you import the Idoc, doble click on it a export it to your driver, next import it as External Definition for reason becouse if not, you wont be able to create a MI type synch with IDOC and genericResponse structure
2) Create data type for your Response Type of IDOC
3) Import the WSDL File For Request and the Response Type
4) Create the Message types according to the Data types which we created
Messgae Interface:
1) Outbound synchronous:
output message will be ur idoc external definition file
input message will be ur message type that u have created.
2) Abstract Outbound Synchronous:
use the same as in Outbound Synchronous
3) Inbound Synchronous:
input message will be ur request message of RFC/WebService
output message will be ur response message of RFC/Webservice
4)Abstract Inbound Sunchronous:
input message will be ur request message of RFC/WebService
output message will be ur response message of RFC/Webservice
Mapping
Request Message Mapping:
b/w ur idoc external definiton and request message of RFC/WS
response Message Mapping:
b/w ur Response message of RFC/WS and ur message type
Interface Mapping
Import MI(abstract) of IDOC
Import MI of WS
select the mapping for request and response Tab
BPM
1) In container window define a variable named IDoc_ABS with category abstract interface and
type (select the MI of IDOC alone)
define a variable named GenericRespnse_abs with category abstract interface and type (select
MI of genericResponse alone)
2) Create a Recieve Step --> in property message select the container you define before of idoc.
3) Define a Send Step--> mode synchronous
select MI type abstract and sync (idoc and genericResponse)
for property request message selects container Idoc_ABS
for property response message selects container GenericRespnse_abs.
Save your Changes and thats all for BPM
*Configuration *
1) Create scenario
Assign BS and create comunication channels with QoS (quality of service) type BE
2) Import your BPM
Create a Receiver Determination
-->in the target service select the BPM. Save
-->In overview windown at foot windowns select MI IDoc_abs only. nothing else
Create a Receiver Determination
-->here the system who send data is BPM
-->in the target service select the BS of receiver system.Save
-->In overview windown at foot windowns select interface mapping and assing communication channel
what we do here. the flow is next
1) Receive data from sender system and send it to BPM
2) BPM call bs of target system (WS). how? because in interface determination you selected
before the interface mapping
Regards
Seshagiri -
Consuming external webservice in SAP
Hi All,
Wjile Consuming external webservice that is .NET webservice in SAP I am getting the error "Proxy generation terminated: WSDL
(<extension> not supported)". Please can anyoone tell me what would be the issue and how should I resolve it.
Thanks in Advance,
Meenu.The SAP version that we are using is ECC 5.0. And the URL that they have given me to consume has some .svc extension.
http://ctnhgesappdev.corp.timken.com/GES_EDISService/EDISService.svc?wsdl
So when I am trying to consume this in SAP I am getting the error "Proxy generation Terminated : WSDL error : (<extension> not supported)". -
Need Inputs - Creation of webservice in SAP R3 through PI
Hi Experts,
Need inputs that my client wants me to create an webservice in SAP/R3 through PI and they (client) will call it by their 3rd party software.
Webservice contain fields like :- Comany_Code, Location_Code,Item _code etc.
SAP -
> PI ---> 3rd party
Is this possible through PI ? Please comment !
Thanks.Hi,
If you have such kinda requirement , then it is easy to create WSDL(webservice) on PI System..
Create a normal Xi Interface with normal Steps .....
Your Sender DataType will be acc to Your requirement as clients want...
go to tools - Define webservice ... ( will Use Outound Service Interface and namespace)
read the template and Put values in there . This will genrate a WSDL for you ,
You Can give this Genertaed , WSDL File to Client to consume in their application and Pass data to it ..
Hope it helps ..
Regards
Prabhat Sharma. -
How to use Webservices in SAP 7.0 SP 17
Hi,
I am having issues calling the webservices in SAP 7.0 SP 17.
I am following the below mentioned tutorial to call a webservice from a portal project (PAR).
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b449e790-0201-0010-1188-ff17840712d3
I have been successful to a point where my websevice needs authentication. I am not sure how to do this.
Here is the code of doContent()
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
try
logger.infoT("Inside doConent()...");
UserProfile up = pushUserProfileAttributes();
logger.infoT("After pushUserProfileAttributes()...");
ILDAPOperationsService port=(ILDAPOperationsService) PortalRuntime.getRuntimeResources ().getService (ILDAPOperationsService.KEY);
logger.infoT("After port()...");
RegisterUserResponse res = port.CreateExternalUserProfile(up);
logger.infoT("After res ..user created." + res.getEmailAddress());
} catch (UserRegistationFailed e){logger.errorT("Error in calling webservice...."+ e.getLocalizedMessage());}
catch (Exception e1){logger.errorT("Error in calling webservice...."+ e1.getLocalizedMessage());
Its failing at RegisterUserResponse res = port.CreateExternalUserProfile(up);
and the error I am getting is
Error : Error in calling webservice....com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: [Unauthorized].
Any help with this will be highly appreciated.
Also , if any documentation could be shared.
Looking forward to hear something soon on this.
Thanks,
ShivHi Sumit,
you may move your question to the ABAP for SAP HANA community (http://scn.sap.com/community/abap/hana).
Are you asking about the SAP_BASIS version, or which version do you refer to?
Best,
Jasmin -
Automatic authentication with a webservice in SAP
hi all
I have a flex application which uses SOAP webservices from SAP to retrieve data.
Everytime one of the SOAP webservices is called the user have to enter a name plus password
I would like to make this automaticly. So that the user haven't got to fill this in. But Flex already filled it automaticcally.
But how do this work? How can you set this in Flex?
kind regards
Anton Pierhagenhi Sathyamoorthi. That is correct. But i'd like to suppress this one time login for the user.
My wish is that during the calling of the webservice in SAP, a system user is automatically login in the background just like the retrieving of the data.
So the user who uses the flex application has no idea that a webservice in SAP is used for the retrieving of the data.
Do you have any idea how to solve this?
Kind regards,
Anton Pierhagen -
Calling webservice in SAP XI from Servlet
I have requirment of Calling webservice in SAP XI from Servlet.
COuld you provide information of caling simple webservice from servletHello Venkat,
Getting Started with Web Services
Web Services Infrastructure
Getting Started with Web Services [original link is broken]
Thanks,
Satya -
Integrating Webservice with SAP
Hi Experts,
How to integrate Webservice with SAP ECC6.0( RFC)
webservice : .Net
regrads,
stephenRead the below details
. When we use *Sender SOAP Adapter how the connectivity is happening with Remote Clients.
A:SOAP is an XML-based protocol for exchanging information in a decentralized, distributed environment.SOAP is a technology that allows XML to move easily over the Web. SOAP does this trough an XML envelope for delivering XML content and specifying a set of rules for services to follow when they receive a SOAP message.The fundamental change brought about by SOAP has been the ability to move data anywhere across the Web.
When ever XI needs to talk to a webservice you will go for SOAP adapter. If you need to enable some functionality as webservice using XI you can use SOAP Sender adapter. If you need to send request to a webservice you will go for SOAP Receiver
SOAP Message Structure :
SOAP Envelop: The outermost element of SOAP message. The envelope element is the root of the XML document that defines a SOAP message.
SOAP Header: An optional, yet key element in architecting a distributed system around XML. The header element provides a modular way of directing SOAP servers to do processing before passing the SOAP message on. For example, it is possible to add SOAP header information that instructs a server to add transaction or authentication information. Header are also important in building piped architectures where processing is done in stages and data is modified as it is passed from handler to handler.
SOAP Body: An element that must appear in a SOAP message. The Body element is where the transported XML is loaded. SOAP makes no assumptions about the kind of XML transport in the body of a SOAP message. XML or it may take the form of remote procedure call.
also these weblogs can give you a view where you can use SOAP adapters
EP-XI Integration using Web Services and Web Dynpro MVC
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]
Looking for replacing SAP.NET connectors with SAP XI?
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
how the connectivity is happening with Remote Clients?
A:Configuring the Sender SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
2.How sender SOAP Adapter get those webservices from remote clients and when exactly Remote clients will send webservices to SOAP Adapter?
It purely depends on ur client & if ur client provides WSDL file then u no need to develop it in ID and use that WSDL.WSDL describes a particular web service. Using a wsdl, we are requesting the broker to point the exact system, application, message interface. Once it is found, the SOAP channel is opened between the provider and the consumer. So the WSDL is a must to access web services.
in XI, we have to define the Web service which we want to use for the Sender SOAP channel. It is done by choosing Define Web Service from the tool menu of Integration Directory.
There is no need to code any thing. Here, what you are doing is, just exposing the sender service,channel,Message Interface as a web service.
In XI, we need to map the incoming messages to the target message( to the actual web service from the provider) format and to maintain the technical and logical routing between the sender and receiver.
Check this blog to generate WDSL file...
Exposing BAPI as Web Services through SAP XI
Configuring a SOAP Sender Channel:
When we create a SOAP sender channel we have to define the namespace and the name of a message interface (values can be taken from Integration Repository).
Select the Quality of Service according to your interface type. If you are using a synchronous interface, select Best Effort. Otherwise, select Exactly Once or Exactly Once in Order.
Transport protocol : HTTP
Message protocol : SOAP 1.1
Adapter Engine: Integration Server
3. I need exactly how the webservices request is passing through sender SOAP Adapter.
After completion of ur scenario u can use XML spy for testing ur scenario.
Refer this Blog how to send SOAP message from XML Spy
Invoke Webservices using SAPXI
Web Services Testing: SAP Netweaver Platform
http://www.crosschecknet.com/web_services_testing_SAP.php
Using the SOAP inbound channel of the Integration Engine
XI: Propagation of meaningful error information to SOAP Client
An Overview of SOAP
Refer the following blogs for SOAP sender Configuration:
How to Use the XI 3.0 SOAP Adapter
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
How Tou2026Set Up a Web-Service-Related Scenario with SAP XI
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
have a look at this weblog:
How to use Client Authentication with SOAP Adapter
SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/content.htm
Architecture of connector for SAP XI
http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/sap_xi/sapximst14.htm
Configuring the Sender SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Security Settings for the Sender SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/1f/7e2441509fa831e10000000a1550b0/content.htm -
Publishing a WebService in SAP ECC6.0
Hello Everyone,
I published a WebService in SAP ECC6.0 using a Remote enabled function module which has one input field and one output field. After publishing that in WSADMIN transaction when i give the URL in the browser the XML format has the Root node as function module name,internal table name as child node and the 2 fields of the function module as child node to internal table name. The issue is PeopleSoft team are not able to ping the 2 fields as they are in the 3rd level in XML file.
Could you please let me know if there any solution to have those 2 fields under the Function Module name so that they can directly ping the root node to interact with the fields.Thanks in advance.
GouthamHello,
Does anyone know how to maintain Authorization Field in SAP ECC6.0?
Many thanks
Sunny -
How to consume a webservice from sap crm
Hi All,
How to consume and access an external webservice from sap crm?
Suggest me.
Regards,
Sanjani
Edited by: Sanjani on Dec 6, 2010 3:09 PM
Edited by: Sanjani on Dec 10, 2010 1:08 PMPlease check the wiki link mentioned below. It will help you to an extent.
http://wiki.sdn.sap.com/wiki/display/CRM/CreatingWebServiceinSAP+CRM
Rg,
Harshit -
WebDynpro Application issue consuming asynchronous webservice from SAP PI
Hello experts i ask you for help thie following issue:
i am developing a webdynpro application which is supposed to
send some data from inputfields, and a file, in order to achieve it, that dynpro application is consuming an asyncrhronous webservice , this service is running in SAP Process integration .it uses only a component.
Iam having serious problems at mapping the asynchronous PI web service model -->to -->controller >and then to->view
since when i deploy the application into the SAP portal´s application server, it runs , but inputfields cannot be written.i dont mean unabled, what i mean, is. cannot write anything on them.ECXEPT the file upload UI element.
I have reviewed sap help page, 3 sappress books, about dynpro, and the procedure i am performind is agree with them.
endpoint test answers the folloiwng:
Message Servlet is in Status OK
Status information:
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_20_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
ModuleProcessorRemote not instantiated
what i did is the same as before(in another projects weh i used to import rfc models):
1.- import webservice model,and add it to component
2.-map web service model to controller context
3.-map controller´s context to view context
4.-create actions and methods
5.-binding context controller to ui elements
Dear experts, my questions are:
What am i doing wrong?
should i permorm another steps because the web service is in another application server (SAP PI)?
Should i create a stand alone proxy and then access it from webdynpro?
when i call the web service model excution it seems does not run, neverthless the invocation does not have any syntax error , what coul it be?
Thanx in advance!!just for the sake of other who may hit this thread , the solution is to add sap-client=<clientno> in the url for wsdl
-
Error while using soap adapter in webservice to sap system scenario
Hi everybody,
i got the error while using saop adapter in scenario(sender webservice----->sap system)
error is
HTTP error:couldnot post file
'/XISOAPAdapter/MessageServlet:Channel=:BS1:SPA.&
version+3.0&sender.Service=BS1&interface=http%3ASP%5OUTBOUND'on server 'XI03'(500)check with ur basis people
-
IDOC to Webservice to Email - Async to Sync Scenario
Dear Experts,
I have a scenario: IDOC to Webservice (Async to Sync)
The response from the webservice needs to be sent via email. So I have a Email channel added to the Business service (ECC).
I tried this with BPM, but it does not work complaining about multiple receivers in a sync receiver interface.
Anyone has done similar to the above?
1. Using BPM?
2. Without BPM?
Thank you.Thank you for the reply. This is what I have:
Repository:
1. Async ABS Interface for webservice request message
2. Sync ABS interface with webservice request message and response message
3. Async ABS interface for the reposnse message
5. Async IB interface for hte email message
4. Message mapping between IDOC and webservice request message
5. Message mapping between webservice response message and email message
6. 2 Interface mappings with the above mapping objects
7. Integration Process BPM with Receive step (Async w/s req), Sync send step (w/s req and respp) and Async send step (w/s response)
Directory:
1. Receiver agreement with BPM as sender and Webservice as receiver with SOAP receiver channel
2. Receiver agreement with BPM as sender and ECC as receiver with email receiver adapter
3. Interface determination for request mapping
4. Interface detrmination for response mapping
5. Receiver determination with ECC as sender and BPM as receiver
6. Receiver determaination with BPM as sender and Webservice as receiver
7. Receiver determination with Webservice as sender and ECC as receiver
is the above sufficient and right?
Thank you. -
XI to webservice(async) and Webservice to XI (Async)
Here is my requirement.
I want to send some details from XI async and i do not want any reponse from webservice.
I need to have some basic information about webservice like how it stores the data,how it receives the data from XI(don mention by SOAP adater),how it sends data to XI incase of async..etc..
Please make me clear about the basics of webservice.The SOAP adapter FAQ on service market place explain Asynch SOAP calls the best, and I quote,
2. Sender Asynchronous Calls
* Q: What are the correct sender options for asynchronous calls?
A: The setting in the channel configuration determines how the message is passed to the XI infrastructure. Setting the channel's quality of service to ExactlyOnce guarantees the delivery of the message exactly once between the adapter and the back end. This will not automatically guarantee the delivery with exactly once between the client and the back end. The behavior of the client determines the level of quality of service achieved.
When the client sends a SOAP message and ignores the response completely as in "fire-and-forget", the quality of service with AtMostOnce may be realized.
When the client sends a SOAP message and checks if the response is an HTTP 200 response message, the quality of service with AtLeastOnce can be realized. In this case, the client must resend the message until such a successful response is returned. When the message successfully accepted by the adapter, an HTTP 200 response with an empty SOAP envelope is returned.
When the client resends the message, there is a possibility that the message may arrive more than once. However, this possible duplicate only happens, when the client previously received no response message at all or an HTTP 500 with duplicate message ID error. For all other cases, the client can resend the message without resulting any duplicate. In order to eliminate duplicates for all cases, the client may send the message with a unique message ID. This message ID will be used to create an XI message so that the identity of the created XI message and that of the original SOAP message are coupled. The client must resend the message with the same message ID until an HTTP 200 reponse is returned or an HTTP 500 response with SOAP fault DuplicateMessageException. In either case, the client can assume that the message is delivered exactly once (theoretically the message ID could be identical to another message ID used previously but the probability of this is extremely low).
Receiver Asynchronous Calls
* Q: What are the correct receiver options for asynchronous calls?
A: The processing mode of the receiver is determined by the message that reaches the receiver. If you are sending a message with some quality of service, to provide this service of quality to the server, your must make sure two things. First, your receiver channel must be configured to pass the XI message ID to the server. Second, your web service must check duplicates using this message ID. -
Connecting webservice to SAP XI/PI.
Hi,
I am developing a webservice in Microsoft Visual Studio. I want to access a file which is in SAP XI/PI server(i.e XI server local file). How can I connect to XI server and access the file.
Regards,
VarunHi,
You need to deploy the wsdl file in XI as below
You can connect to XI server by using the End Point URL as
The SOAP Sender uses the XI Server URL as below
http://<server>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
Service & channel indicates the Sender SOAP adapter in XI to be used..and will direct to integration server.
Refer
How To Set Up a Web-Service-Related Scenario with SAP XI
https://websmp207.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
Invoke Webservices using SAPXI
SOAP Sender Steps
SOAP Sender Steps
Thanks
Swarup
Maybe you are looking for
-
Email response management system in crm 5.0
hi buddies, preasently i am working on email response management system in crm 5.0 for auto routing and auto respounding of emails.can any one suggest me the document or customization steps for that thanks in advance manav Edited by: manav on Mar 8,
-
An additional complication is that on the old desktop I have music in 2 locations, both on C: drive and F: drive that I would like to combine all to one location now and still maintain my playlists. I may need to do this first on the old desktop befo
-
Nokia C7 not charging over micro-USB?
Hi, Just wanted to check if this was a feature of the phone in that you can only charge the Nokia C7 using the micro-usb socket when it is connected to a PC / Laptop? If you connect it to a USB adapter / car usb socket then it will not charge using t
-
hI SAP Guru's here i have to upload non-sap data to sap , in the controling how to MAP the fileds and which T.code have use to please guide me
-
Keep the scroll position on partial commit in af:table
Hi, We have an ADF 11.1.1.1.0 application that uses a lot of editable tables. In those tables, we have <tt>autoSubmit</tt> enabled for all fields, since some combo boxes and LOVs depend on values entered in the same row. The problem is, that every ti