on 01-20-2011 1:24 PM
Hi Experts ,
The scenraio is about the SOAP(Webservice) -> RFC (SAP R/3).
1.Order Number is sent to RFC -Request
2. Batch Density , Unit of mEasure , Quantity_Containers , No of Containers , Total quanity and Response of Bapi - Response.
QOS:Best Effort
Used SOAP HTTPS 1.1 Protocol, with web service security.
THe Design and Configurtaion objects are developed . Referring the HTTPS Client test , i have generated WEbservice URL:
Since i am not much familiar with working on SOAP Adapter , did go through few blogs and LInk of stefan gube : /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
But Defining webservice is respective of 'Inbound SOAP Adapter ' and in this case , it is Outbound SOAP ADAPTER
How to Test :
1. Outbound SOAP ADAPTER
2.Do i need to use atlova xml spy or SOAP sonar ?
My Line of Buisness needs me to sent the WEBSERVICE to external consultants tommorrow ., so i am quite confused that is the above url itself is a webservice link OR do i need to generate using some tool?
KIndly update.
Thanks,
Varalakshmi
> My Line of Buisness needs me to sent the WEBSERVICE to external consultants tommorrow ., so i am quite confused that is the above url itself is a webservice link OR do i need to generate using some tool?
You cannot send a web service to external consultants. You can send only a WSDL file.
You can generate a WSDL from Integration Directory, I think Iit is described in this document:
For testing you can use SOAPUI from soapui.org
Edited by: Stefan Grube on Jan 20, 2011 3:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Adding a update .
When I test the wsdl for the internal webservice host which I entered while :Defining webservice in Directory :
https://*app*ba027.int.nz.nnithosting.com:8010/XISOAPAdapter/MessageServlet?channel=:BS_BarCodePC:CC_Soap_ProcOrd
er_INFO
I still get this response error in SOAP UI :
Fri Jan 21 12:44:44 GMT+05:30 2011:ERROR:An error occured [Unrecognized SSL message, plaintext connection?], see error log for details
Fri Jan 21 12:44:44 GMT+05:30 2011:INFO:Error getting response for [ProcOrder_INFO_Synch_OutBinding.ProcOrder_INFO_Synch_Out:Request 1]; javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Any idea why I get this error ?
Please update .
Details:
SOAP 1.1 HTTPS, QOS=Best Effort
Hi All,
Issue got solved Thanks for all your instant support . This was been the firts time i tried SOAP senario , testing with SOAP UI
Few Points:
- I tried out another porrt : 44310 instead of 8010
- Changed few things in Mapping : (As updated by ABAP developer , mapping can have more than 1 response .So added remove context -mapping with 'Response field of Mapping ' .Generated new WSDL in Directory.
-Used this WSDL in Soap UI (New SOAP UI Project >Add wsdl) . Authorixation:Added PI User ID/Password .
-In Request URL, provided the Order Number(request to BAPI)
-I got response message(more than 1) , and other expected respones correctly like: No of container , total quantity, density , Unit of Measure.
Provided this URL: https://*app*ba027.int.nz.nnithosting.com:44310/XISOAPAdapter/MessageServlet?channel=:BS_BarCodePC:CC_Soap_ProcOrd ,
WSDL , Request xml, Response xml to External consultants.
Hi,
Everything you have done is correct,just create the WSDL file in ID and pass that to the basis team they will expose it and once registered you backend application will hit the URL(created while creating the wsdl) and data will flow through PI via SOAP adapter to invoke RFC.
Thats all.
Cheers,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Stefan , Abhishek ,
Thank you for your instant respons ,
I did try as Stefan said,I generated the WSDL from : Define webservice in ID
then i donwload SOAP UI and imported wsdl , the only thing i am concern is how do i test it..
Overview of wsdl is displayed but i did try to test (run), .all i could find is wsdl complaince tool .
Please assist
Thanks,
Varalakshmi
>> Overview of wsdl is displayed but i did try to test (run), .all i could find is wsdl complaince tool .
you are almost done. Assume that u are external trading partner or client. You import wsdl in soapui or xmlspy.
Do the following...
specify WSDL URL something like http://host:50000/XISOAPAdapter/.
specify user name/passwd of the PI server. // This prevent 401 unauthorized error.
Sent the request, if there is no error, you will get the request.
Hi Basker ,
Thanks for your response .
I now created the WSDL in the Directory -- giving the external host deatils(Of the Server --in XI landscape which is out of our network)
The Webservice is like :
The generated WSDH i tested in SOPA UI tool , seemes to be getting response .
Log:
Fri Jan 21 11:45:47 GMT+05:30 2011:INFO:Got response for [ProcOrder_INFO_Synch_OutBinding.ProcOrder_INFO_Synch_Out:ProcOrder_INFO_Synch_Out] in 1649ms (1787 bytes)
Fri Jan 21 11:46:13 GMT+05:30 2011:INFO:Got response for [ProcOrder_INFO_Synch_OutBinding.ProcOrder_INFO_Synch_Out:ProcOrder_INFO_Synch_Out] in 1124ms (1787 bytes)
Does it mean it worked ? I hope so ..
Now,how to get user ID and pasword for this link ?
Kindly suggest .
Note : Our is b2b partner company with limited IT colleagues, so I dont have SAP Admin dept who work on XI systems . All I have to try my own.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.