Skip to Content
avatar image
Former Member

Testing of WSDL file(web services) created

Hi all,

I have created a WSDL file for a Funtion Module ZPROSPECT following the steps in the given link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true.

Till the step of saving this file on desktop ,but i have no idea of how to test it or what is needed to test it i am working in SAP 7.0.

Please help me with this

Regards,

Mithun.

Edited by: saimithun on Jan 7, 2011 5:39 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 07, 2011 at 08:59 AM

    resolved

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 07, 2011 at 05:46 AM

    After saving the WSDL file in the system. You can use it in form builder to create a form.

    For that you need Adobe Live Cycle designer installed on your system.

    In side that you can create a new form using the web dervice you created and then use this form in web dynpro application

    to get the output.

    Thanks

    Sarbjeet Singh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI,

      I have created Web service for the 'Function Module'.

      I have followed below mentioned steps:

        1. Created FM and Web service in SE37,

        2. Collected WSDL file from WSADMIN Transaction (here we are using SAP-ECC-5.0),

        3. Imported WSDL file into SOAP UI.

      Tested WSDL file in SOAP UI its throwing below mentioned error

      Output of SOAP UI:

      <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

         <soap-env:Body>

            <soap-env:Fault>

               <faultcode>soap-env:Client</faultcode>

               <faultstring xml:lang="en">Serialisation failed</faultstring>

               <detail>

                  <n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">

                     <MainName>/1BCDWB/WSS0130618090853069000</MainName>

                     <ProgName>/1BCDWB/WSS0130618090853069000</ProgName>

                     <Line>8</Line>

                     <Valid>X</Valid>

                     <ReferenceFault>

                        <DescriptionText>Error accessing the ref. node 'INVOICE_ID'</DescriptionText>

                        <RefName>INVOICE_ID</RefName>

                     </ReferenceFault>

                     <Caller>

                        <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>

                        <Method>IF_SXML_PART~DECODE</Method>

                        <Positions>1</Positions>

                     </Caller>

                  </n0:SimpleTransformationFault>

               </detail>

            </soap-env:Fault>

         </soap-env:Body>

      </soap-env:Envelope>

      PS: Earlier the Same Function module with the same import and export structure( after generating WSDL ) was working fine in SOAP UI. However, we couldn't sort out exact issue, that is throwing in SOAP UI now because we just changed the logic which will not effect the structure in SOAP UI exact the output.


      Please find the attachment of SOAP UI error details with screen shot and

      Kindly help me on this.

      Thanks & Regards,

      Akshath.L.T

  • Jan 07, 2011 at 06:11 AM

    Hi

    Usuaaly we will be testing the webservices using Java Stack only.

    To test the web service alone go through this [document|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/92d80512-0a01-0010-32a3-cd3735bd9275?quicklink=index&overridelayout=true] and proceed upto step 10.

    Regards

    Arun.P

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 07, 2011 at 01:48 PM

    Moderator Message: This thread has nothing to do with Web Dynpro ABAP. Please only post questionst to this forum that are directly related to Web Dynpro ABAP in the future. I am moving this thread to the ABAP General Forum.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear All,

      I have created Web service for the 'Function Module'.

      I have followed below mentioned steps:

        1. Created FM and Web service in SE37,

        2. Collected WSDL file from WSADMIN Transaction (here we are using SAP-ECC-5.0),

        3. Imported WSDL file into SOAP UI.

      Tested WSDL file in SOAP UI its throwing below mentioned error

      Output of SOAP UI:

      <soap-env:Envelope xmlns:soap-env=" http://schemas.xmlsoap.org/soap/envelope/">

         <soap-env:Body>

            <soap-env:Fault>

               <faultcode>soap-env:Client</faultcode>

               <faultstring xml:lang="en">Serialisation failed</faultstring>

               <detail>

                  <n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">

                     <MainName>/1BCDWB/WSS0130618090853069000</MainName>

                     <ProgName>/1BCDWB/WSS0130618090853069000</ProgName>

                     <Line>8</Line>

                     <Valid>X</Valid>

                     <ReferenceFault>

                        <DescriptionText>Error accessing the ref. node 'INVOICE_ID'</DescriptionText>

                        <RefName>INVOICE_ID</RefName>

                     </ReferenceFault>

                     <Caller>

                        <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>

                        <Method>IF_SXML_PART~DECODE</Method>

                        <Positions>1</Positions>

                     </Caller>

                  </n0:SimpleTransformationFault>

               </detail>

            </soap-env:Fault>

         </soap-env:Body>

      </soap-env:Envelope>

      PS: Earlier the Same Function module with the same import and export structure( after generating WSDL ) was working fine in SOAP UI. However, we couldn't sort out exact issue, that is throwing in SOAP UI now because we just changed the logic which will not effect the structure in SOAP UI exact the output.


      Please find the attachment of SOAP UI error details with screen shot and

      Kindly help me on this.

      Thanks & Regards,

      Akshath.L.T