01-07-2011 4:39 AM
Hi all,
I have created a WSDL file for a Funtion Module ZPROSPECT following the steps in the given link
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
01-07-2011 8:59 AM
01-07-2011 5: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
01-07-2011 6:12 AM
Hi Sabarjeet ,
Thank you for the solution , i have got another problem i need to create web service for Funtion Module BAPI_BUPA_SEARCH but after i complete it shows the error message object not available.
Could you pleade help me with this too.
Regards,
Mithun
01-07-2011 6:36 AM
at what point it is giving you the error.
Thanks
SARBJEET SINGH
" (not sabarjeet)
01-07-2011 6:41 AM
After creation is completed in the wizard , it shows the message "There is no object in this name".
01-07-2011 7:03 AM
Hi
For the same BAPI i tried creatin and havenot faced any issue.
can you please try to create it once again and tell me values you are giving in all the steps.
Thanks
Sarb
01-07-2011 7:22 AM
Hi Sarb,
In thewizard i gave the following inputs
Object Type:
Service Defination- Z_WS_ BAPI_BUPA_SEARCH
EndpointType-Funtion Module
Choose Endpoint:
Funtion Module : BAPI_BUPA_SEARCH
ticked on the Mapping der Narmen
Entering packeage as local
And then Complete.
Thanks and Regards,
Mithun.
01-07-2011 8:47 AM
try giving some other name for service name instead of Z_WS_ BAPI_BUPA_SEARCH like Ztest_ws etc.
I am also facing the error when giving this name. i dont know why.
thanks
sarbjeet singh
01-07-2011 8:58 AM
Thanks Sarb, changing the name resolved it.
But again only for ZBAPI_BUPA_SEARCH it is working .For ZWS* or ZTEST* it is not creating.
Regards,
Mithun.
06-28-2013 10:50 AM
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
01-07-2011 6: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
01-07-2011 8:59 AM
01-07-2011 9:01 AM
01-07-2011 1:48 PM
06-28-2013 10:50 AM
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: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