Skip to Content
author's profile photo Former Member
Former Member

WSDL

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=&receiverService=sss&interface=xxx;interfaceNamespace=ccc

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Dec 12, 2013 at 11:12 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2014 at 07:02 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2014 at 07:10 AM

    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.


    SOAP.jpg (36.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2014 at 07:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2014 at 08:34 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ricardo Viana

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2014 at 06:49 AM

    Hi

    Check this thread.Issue is very simillar.

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

    Regards,

    Abhi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.