External Interface in Proxy to Web service scenario
Dear All,
I have a scenario like SAP ECC >> SAP PI >> Web Service (3rd Party). I have got 3rd party WSDL and all related information. I need to know how to upload this WSDL to ESR and specify it as an 'Inbound Interface' in Reciever tab of the Business Service? I can successfully import the WSDL in External Definition but it doesn't appear in the pop-up for selecting the interface.
I am a newbie here, apologizing if my question is too vague.
Regards,
Adil Khalil
Hi Adil,
if you are using business service it is not needed to create technical and business system.
did you assign the interface or you are asking how to assign?
check this
Can’t find interfaces in the associated Business Component (Business Service)
Regards,
Muni
Similar Messages
-
SOA - real time proxy to web service scenario
Hello Experts,
I am working on PI but really very much new to the SOA concept.
But i have to prepare document which explains about all steps that we need to follow (technicallly) for the SOA implementation.
We are going to implement one Proof of Concept for SOA before going for the real project.
Can someone please help me and tell me what all the things i need to do for Proxy to Web Service Scenario in PI.
I hope i have made myself clear about it.
Thanks,
HetalHi Gaurav,
Thanks for your advice.
I have one more question and i tried to explore SDN alot but didnt get satisfactory answer.
here is the situation:
My scenario is like :
.Net application = consumer
ECC = Provider
PI = broker
SR = Publish ES
I am using the Outside - In approach, where i am creating proxy structure in ESR and then creating/ Generating Proxy in ECC.
I am exposing my Inbound Interface on SR, so that the WSDL is available on SR.
Now the situation is, our consumer is asking data from us in different format.
I read on help.sap.com that via PI mapping it is possible.
But i am not understanding that consumer is using ECC WSDL to make a call, then even though mapping is there, how can they get response in their required format.
They are even providing us their WSDL. I am totally confused that in one interface how come two different WSDLs can work?
Or is there a way for this?
I am even ready to use the same structure for my ECC which is provided by consumer, but then i dont see any outcome using PI.
I also have question, that for standard service also, ECC Enterprise service structure is fixed which we expose, then using PI how can we provide consumers response in their desired way.
I know that m asking this question again and again, but still it is not getting clear to me... might be m not understanding that how it works in SOA.
If possible can you tell me the steps that i need to follow technically to develope this interface? so that i can get better understanding?
Thanks,
Hetal -
Hi ,
Please let me know about this error?
"" Error Exception caught by adapter framework: Exception in method process.??"
Its a proxy to web service scenario.
Thanks in advance.
Regards
SaiHi,
The best option for searching more information about the error is to use Netweaver Administrator application. In "log viewer application" you can find more detailed information about the error ocurred in your application.
Another option is to analize the trace information in XML Header.
Please, put the detail error text in this forum. It's very difficult for us to help you with this information.
Best regards
Ivá -
Hi experts!!!!
I try to learn PI Web Service Scenario, and for test, i developed a simple scenario.
I created a Service Message Synchron Outbound Message with Request and Response Structure, and I created a Service Message Synchron Inbound with Request and Response web service message (previouse imported on External Definition).
I developed 2 mappings, one for Requeste ( MyMessageReq ---> Web Service Request) and other one for Response (Web Service Response --> MyMessageResponse). and add this on Operation Mapping.
In Directory, i created 2 Business Components (WS_Sender and WS_Receiver).and add my objects.
For Receiver Communication channel i user adapter type like WS. and configured this like help.sap.
When i executed the interface, the communication channel returns the following error:
<!-- 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>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Systemfehler beim Aufruf des Web-Service-Adapters: Error al acceder a WSDL: "Error in WSDL access for task ID "00000000000000000007"; read the long text"</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I don't know the reason of this error, and i don't found anything on forum...
Please, could somebody help me? Could somebody have any idea? Thanks.
Gemma.Thanks.
Now I use a communication channel soap receiver, and when i try to execute the interface, the call adapter returns the following error:
<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="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
<SAP:P1>35</SAP:P1>
<SAP:P2>HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Fehler beim Senden per HTTP (Fehlercode: 35, Fehlertext: HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.)</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Please, could somebody help me? Thanks. -
Multiple Interfaces on a single web service URL
we have a scenario where we have a multiple interfaces that are related to SD that needs to be exposed to another system. When we generate the WSDL from XI - it seems we can do only for one interface at a time.
Is there a way - where in we can expose a single URL and treat these interfaces as web methods on that single URL? (similar to .Net or Java)
If yes - how do we do that?
Thanks.That will not be possible. Instead you have to expose only one interface which takes generic data as input. In the mapping, depending on dat, you should map them to various other interfaces which would definetly make your scenario complex..
In XI each outbound interface is a separate web service (method).
VJ -
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 -
Java Mapping to Digital Signature (web service scenarios)
Hi All,
I'm working with Web Service Scenarios and I have a problem.
The Web Service has a Schema for validation data and I send data to method of WS, example:
Web Service Description
<SendData xmlns="http://www.sdn.com/schema.xsd">
<InputXML>string</InputXML>
</SendData>
For send data to "InputXML" is obligatory digital signature in Java.
I created a Java Mapping where get message of schema xsd, clear prefixes of tag and convert all schema to string.
Now Web Service response a error, because string is not contain "<" ">" just contain asc & lt; & gt;
Ex:
& lt;CodigoMunicipio& gt;2927408& lt;/CodigoMunicipio& gt;
In Debug Java Mapping in statement:
before
<CodigoMunicipio>2927408</CodigoMunicipio>;
rootelement.appendChild(element);
After
& lt;CodigoMunicipio& gt;2927408& lt;/CodigoMunicipio& gt;
And If use a rotine to convert it, in sxi_monitor generate a exception because not understand string field.
Can you help me?
Regards,
BrunoHi Bruno,
there are two ways to nest a xml document into another xml document.
The first one is escaping the XML, just like you did:
<document_one>
<input_xml>
>document_two<>tag_a<value>/tag_a<>/document_two<
</input_xml>
</document_one>
http://stackoverflow.com/questions/1091945/where-can-i-get-a-list-of-the-xml-document-escape-characters
The other is using the CDATA tag.
<document_one>
<input_xml>
<![CDATA[<document_two><tag_a>value</tag_a></document_two>]]>
</input_xml>
</document_one>
http://www.w3schools.com/xml/xml_cdata.asp
Then, if your webservice expects to receive a XML document inside the InputXML tag, probably it will be able to handle one of these techniques.
Best regards,
JN -
IDOC - Web Service scenario error
Hi Experts,
I am developing IDOC to Web Service scenario and the error which I come across is in the receiver SOAP channel which states:
"Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: AddUpdateStandardOrder."
Please suggest.
Thanks
TinyHi,
your SOAP action defined in reciver SOAP comm channel is not correct.... to specify it corrctly, open your SOAP application URL in internet explorer........click on service description..........then search SOAP:Action node in it.........specify the complete SOAP action in the reciver SOAP comm channel including the complete namespace.............then save and activate it.........then rerun your scenario.
Regards,
Rajeev Gupta -
HTML to Web Service Scenario - Runtime Error Exception
Hi Friends,
I am tryin to do HTML to Web Service Scenario for Validating email for the fWeb Service Email
Validation http://www.webservicex.net/ValidateEmail.asmx?wsdl. While executing the scenario in
Integration Directory there is no error but when sending the payload (Payload contains onl)from SAP
HTML then getting error in SXMB_MONI as
"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."
Please guide me for the same.
Regards,
Nitin PatilHi,
well it might be the reason that XI is always working with XML but not HTML. It's important that your HTML should be following the XML wellformness. It would be strongly recommanded that you use XHTML but not normal HTML here, because I think XI has no tolerence at all when the inbound HTML is not XML-wellformed.
Try to compose your XHTML like the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title/>
</head>
<body>
<p>some email address</p>
</body>
</html>
Make sure there are no weird characters and empty lines within and before the <?xml
Regards,
Chen -
Proxy to Web Service Communication doesn't work
Hi,
We configured the XI demo example Checking Flight Seat Availability (Proxy to Web Service Communication) (chapter 6.2) and everything works fine until we try to execute the szenario (chapter 6.2.3).
When we try to execute the szenario, we get an error displayed in the runtime Workbench. In the component Integration Server, we get a systemfailure with code ADAPTER.SOAP_EXCEPTION of category PARSING. The Adapter Engine also displays an error in the audit log:
SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Authority check failed
The User XIAFUSER has SAP-All-authorizations.
Has anybody an idea, whats the problem is?
Greetings
Hildegard
Message was edited by: Hildegard WinterCheck out, that the URL of the WebService is correct:
"http://<YourServer>:<<b>ABAP_Port</b>>/sap/bc/srt/xip/sap/SXIDAL_FLIGHTSEATAVAIL_CHECK?sap-client=<<b>YourClient</b>>"
Change the default values if necessary.
Check in the client, if the role SAP_XI_APPL_SERV_USER (which should be applied to your user) is generated and has no errors.
Regards
Stefan -
Reg: Web Service Scenarios
Hi! Experts,
This is Amar Srinivas Eli. Will you please send links containg Scenarios using
WEB SERVICES in detail step by step procedure if possible with screen shots for both Design and Configuration Steps
Also send links regarding HTTP to Web Service and HTTP related scenarios also with step by step procedure for both Design and configuration steps.
Thanks
Amar Srinivas EliHi Amar,
<b>for <b>Webservices</b> see below links</b>
http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
<b>Webservice Scenarios</b>
idoc to web services scenario
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
How to use webservices in XI
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - refer that blog and use the SOAP adapter and the WS instead of the RFC part.
see this blog from Robert Chu, but it might give you a good start to creating web services:
/people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component
File to Webservices
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
Yes please look at following weblogs
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
How to Develop a Webservice Using NWDS and SAP XI.30
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
How to Set 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
Exposing BAPI as Web Services through SAP XI
/people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi
Testing XI exposed Web-Services
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
How XML Encryption can be done using web services security in SAP NetWeaver XI
/people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi
Consuming XI Web Services using Web Dynpro Part I
/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
Consuming XI Web Services using Web Dynpro Part II
/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
HTTP to JDBC
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
regards
biplab
please close the thread once u have got ur answer***** -
What the mechanism of the Java Proxy for Web Services in WLS 8.1
Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannonHi Shannon,
The type of proxy I'm familiar with is at the http connection level and
associated with the networking properties in the JDK, See:
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
Your question may be related to JWS proxies, See:
http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
You may want to ask this question in the workshop newsgroup.
Hope this helps,
Bruce
shannon lee wrote:
>
Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannon -
Hi
Can any one send me material for <b>idoc to web services scenario</b> to my mail id [email protected] or any good links to download material
Regards
PavanHow to Develop a Webservice Using NWDS and SAP XI.30
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
How to Set 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
How to Configure the IDoc Adapter
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
How to Sample IDoc Scenarios Within XI 3.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660 -
Exception handling in synchronous proxy - web service scenario
Hi Gurus,
I have a synchronous scenario in which SAP is sending a request via XI using SOAP and receiving a response back. As part of this scenario, I am consuming standard web service APIs provided by the third party.
Since, every request has to contain the connecting user id and password provided by the third party, I am sending/receiving messages without SOAP envelop (achieved by clicking 'Do not use SOAP envelope' checkbox in SOAP Receiver Communication Channel).
For this scenario, we are including the user id and password in the request message using XSLT mapping and the request number using simple message mapping.
The fault message of the web service is being mapped to the fault message created in XI under Fault Message Types.
The interface mapping page has got 3 tabs, one each for Request message mapping, Response message mapping and Fault message mapping.
When I trying to test a failure scenario by giving an incorrect request number(since this is the only input parameter in gthe request message apart from user id and password), it is throwing up "MAPPING">EXCEPTION_DURING_EXECUTE error.
Actually, for such requests, I am getting a proper fault response back from the third party which I can see in XI (in moni) as response to my request but when I am looking at the message in moni in SAP, I am only seeing "MAPPING">EXCEPTION_DURING_EXECUTE. Even I can see the exception in the trace section of my response in moni in XI.
My feeling is that the fault message mapping is not getting executed at all.
I also thought to do a 2:1 multimapping in which, the target side will contain the response message type created in XI but the source will contain two messages, i.e. Normal response message structure provided by third party and Fault message structure provided by third party but I am not sure whether this is possible without using BPM.
Please suggest the best way to resolve this issue.The Fault message raised from 3rd party service, is structured as follow ??
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset="utf-8"
Content-Length: nnnn
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<e:myfaultdetails xmlns:e="Some-URI">
<message>My application didn't work</message>
<errorcode>1001</errorcode>
</e:myfaultdetails>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Take a look here:
/people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
and to this standard document:
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/5946db5f693912e10000000a42189b/content.htm -
Regd. Web Service Scenario
Hi All,
I have a scenario where Source is a web service and Target is a proxy. I will get 4 different messages from web service,which I need to send it to proxy. Instead of creating 4 different URLs, we thought of using 1 URL by providing * in sender interface and sender namespace. Question is how this can be handled in PI without using BPM.
Thanks,
VishalHi Vishal,
If you are using PI 7.1, you can have "Multiple Operations per Service Interface". Effectively you are exposing one URL and internally calling different operations.
See blog for more details: /people/abhishek.salvi/blog/2009/07/31/using-service-interfaces-now-reuse-one
Sudheer
Maybe you are looking for
-
How do i turn off the shuffle feature in my music on iPhone 3GS
-
Oracle 9i R2 on Linux AS 2.1
Hi, We want to install Oracle 9i R2 on Red Hat Linux AS 2.1. Which hardware is optimal to support 64-bit processing. Secondly can we connect to Oracle 9i from an dapplication server where the client is 8i and Merant(Data Direct Driver) is version 3.6
-
I', changing the ifs web interface. In order to make the new jsp file to take work effectively, i'm delete all the files under the oracle_home\ifs\ifsjsps\_ifs\_webui\_jsps. After that, it not allow me to create a new user. An error message coming ou
-
SQL Developer viewer download fail (404)
Hi I am trying to download the Oracle SQL Developer Data modeler viewer but get an error (404) every time? I am following the link at http://www.oracle.com/technology/software/products/sql/datamodeler.html after accepting license. I am using IE v7.0
-
What is the definition of Metrics Node in Labview
What constitute a node in the metric context?