cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL

Former Member
0 Kudos

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

https://xxx:yyy/XISOAPAdapter/MessageServlet?senderParty=&senderService=xxx&receiverParty=&receiverS...

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

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi

Check this thread.Issue is very simillar.

http://scn.sap.com/thread/3449852

Regards,

Abhi

rhviana
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

rhviana
Active Contributor
0 Kudos

Hi Kanagaballi,

The door (YYY) java  or http ?

Another point, just right something at channel and active again.

Kind regards,

Former Member
0 Kudos

hello everyone,

When i generate the WSDL with all the options mentioned and when i test in SAP WS Navigator

getting an error.

Invalid Response Code: (500) Empty HTTP request received.


The same WSDL works in SOAP UI tool.




Thanks,

Kanagavalli

Former Member
0 Kudos

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

Former Member
0 Kudos

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 />...

Thanks,
kanagavalli.


Former Member
0 Kudos

HI,

In SOAP UI, after importing WSDL, go till Request1, select it and go to Request properties which is at the bottom left side

select Authorization Type as Preemptive and give correct user name and pwd.

and send message.

iaki_vila
Active Contributor
0 Kudos

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.

manigram
Active Participant
0 Kudos

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

Former Member
0 Kudos

hi mani,

thanks for ur reply..i have checked all the fields,it seems to be correct,can u pls suggest some other option

Thanks,

Kanagavalli

Former Member
0 Kudos

Hi,

have you tested using SOAP UI by importing the WSDL?

if not please inport and test and share the results

Regards,

Mastan

Former Member
0 Kudos

Hi,

yes i tested in SOAP UI tool,it works fine, security team not able to read my wsdl content says Invalid WSDL in IBM APP SCAN ,the tool which they use for testing.

Thanks,

kanagavalli

iaki_vila
Active Contributor
0 Kudos

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.