on 12-12-2013 11:08 AM
Hello,
I am doing a Scenario called Web service-RF C in PI 7.1,i need to Provide the WSDL File and URL to the Client,
Initially i created the WSDL file using Sender Agreement->Display WSDL->here i got the the URL from Location of SOAP address
when i put this URL in browser with both the host name and IP address
it says
Message Servlet is in Status OK
Status information:
Servlet com.sap.aii.adapter.soap.web.MessageServlet (Version $Id: //tc/xpi.adapters/NW711_04_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#6 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sun.proxy.$Proxy358
ModuleProcessorRemote not instantiated
and then i tried creating the WSDL file in Tools->Display WSDL in ID and the URL from location of SOAP address,when i put in browser it says
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header />
- <SOAP:Body>
- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP:Client</faultcode>
<faultstring>Empty HTTP request received</faultstring>
<faultactor>http://sap.com/xi/XI/Message/30</faultactor>
- <detail>
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Empty HTTP query received; message processing not possible</SAP:Stack>
i tested the above WSDL URL in Web service Navigator it displayed Invalid Response code (504),returned message <Unknown Host>.
Then as the Last option i got WSDL URL from the Sender Agreement->Display WSDL ->WSDL URL(not from the WSDL File)
which looks like http://xxx:yyy/dir/wsdl?p=sa/394880c61091376e936fcce66ce0bffe,
when i give the URL in browser it displays the WSDL content ,but not works in Web Service Navigator in SAP Netweaver.
Security Team is doing Vulnerability Assessment on the WSDL file and they Scan the WSDL in IBM APP SCAN,unable to Read the WSDL file.
NOTE:The Set Adapter-Specific Message Attributes is checked in the sender channel.
Please help me out with this.
Regards,
Kanagavalli Subbiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kanagavalli,
Why you dont create the WSDL , tool, display wsdl and input infos.
Check this out:
Generating Web Service From PI - Contributor Corner - SCN Wiki
Regards,
BR.
Viana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello everyone,
Thanks for ur suggestions,
When i try to create wsdl from Tools->Display wsdl
as i refered this doc
Generating Web Service From PI - Contributor Corner - SCN Wiki
i gave SOAP Inbound channel(URL)as
http://xxx:yyy/XISOAPAdapter/MessageServlet?/channel=:yyy:SOAPAdapter
and filled all the details specified ,now when i test the WSDL in SOAP UI getting an error as Adapter Java Exception
<text>com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve binding for the given channelId: Binding:CID=null;
at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBindingByChannelId(AbstractLookupManager.java:173)
at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:450)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727).......
Also didnt work in WS-Navigator .
Thanks,
Kanagavalli
Hi ,
Fill your interface details in the below url and share it to Source system folks along with your wsdl.
http://<Fully Qualified Hostname>:5<Sysno>00/sap/xi/engine?type=entry&version=3.0&Sender.Service=XYZ&Interface=urn:GDFO:ESRI:Repair%5eDR4ValveWorkOrderCreateFromESRI_Out&QualityOfService=ExactlyOnce&sap-client=500&sap-user=<username>&sap-password=<password>
XYZ = Your Sender Business Component Name
urn:GDFO:ESRI:Repair = Name space
DR4ValveWorkOrderCreateFromESRI_Out = Sender Service Interface Name
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello venkat
i tried ur option,it says
SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header />
- <SOAP:Body>
- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP:Client</faultcode>
<faultstring>Empty HTTP request received</faultstring>
<faultactor>http://sap.com/xi/XI/Message/30</faultactor>
- <detail>
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>
SAP:Stack>Empty HTTP query received; message processing not possible</SAP:Stack>
<SAP:P1 />...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Kanagavalli,
You could try with the classical URL http://<host name>:<port name>/XISOAPAdapter/MessageServlet?channel=<party name>:<service name>:<channel name> (Configuring the Sender SOAP Adapter - Advanced Adapter Engine - SAP Library) and with external applicattion like SOAPUI in order to know if the problem is referring a role issue, WSNavigator problem, or connectivity
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Based on your error , i think some fields are mandatory and you missed out that fields or you might given string values for date fields thats why its returning fault message. So try with correct inputs.
Regards,
Manigandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to get the WDSL from the ID (Tools-Display WSDL) and to give it to your team.
Generating Web Service From PI - Contributor Corner - SCN Wiki
Regards.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.