Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg: Web Service Testing

Former Member
0 Likes
1,297

Dear Experts

I created a Web service using a function module, i was able to test the web service using Java Stack(Ws Navigator), Is there any other way to test the web service using abap stack or any other tool is available to test the web service

Regards

Arun.P

10 REPLIES 10
Read only

Former Member
0 Likes
1,241

You can try Tcode SICF, Right click the web service and select test service.

Read only

0 Likes
1,241

Hi Yogendra

i tried it but im getting a blank screen.

Regards

Arun.P

Read only

Former Member
0 Likes
1,241

Arun,

Did you check with tcode SOAMANAGER

Thanks

Bala Duvvuri

Read only

0 Likes
1,241

Yes Bala

i checked, there i was able to get only that generated xml file.

i have also tried the transaction wsadmin, but the SAP system is showing that the transaction is obsolete.

Regards

Arun.P

Edited by: Arun Padmanaban on Aug 3, 2010 1:08 PM

Read only

0 Likes
1,241

Hi,

I used SOAMANAGER (WS Navigator) to test a web service. I came to know that our WS development team is using SOAP UI. I guess you can also use altova xml spy.

for testing a web service - please check the sap help in the following link:

http://help.sap.com/saphelp_nw04s/helpdata/en/e5/a68d10f4eb894087fc9c1c3f9ae433/frameset.htm

ABAP Workbench Tools>SOA Manager>Testing a Service

Thanks,

Himadama

Read only

0 Likes
1,241

Hi Hiamdama

i used the SOAPUI to test the webservice

The function module displays the company address information the input is the company code.

but im getting the error stating that the date format from abap is not matching, i have also pasted the code, will you please explain the steps to test the sap web service using SOAPUI tool?

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

<soap-env:Header/>

<soap-env:Body>

<soap-env:Fault>

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

<faultstring xml:lang="en">CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1BCDWB/WSS6AC77ECE9F1E43BEF36.Value is not a valid date in accord with the XML format for ABAP</faultstring>

<detail>

<ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">

<Host>undefined</Host>

<Component>APPL</Component>

<ChainedException>

<Exception_Name>CX_SOAP_CORE</Exception_Name>

<Exception_Text>CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1BCDWB/WSS6AC77ECE9F1E43BEF36.Value is not a valid date in accord with the XML format for ABAP</Exception_Text>

</ChainedException>

<ChainedException>

<Exception_Name>CX_SXMLP</Exception_Name>

<Exception_Text>XSLT exception</Exception_Text>

</ChainedException>

<ChainedException>

<Exception_Name>CX_ST_DESERIALIZATION_ERROR</Exception_Name>

<Exception_Text>An error occurred when deserializing in the simple transformation program /1BCDWB/WSS6AC77ECE9F1E43BEF36: Main Program:/1BCDWB/WSS6AC77ECE9F1E43BEF36| Program:/1BCDWB/WSS6AC77ECE9F1E43BEF36| Line: 25| Valid:X</Exception_Text>

</ChainedException>

<ChainedException>

<Exception_Name>CX_SY_CONVERSION_NO_DATE_TIME</Exception_Name>

<Exception_Text>Value is not a valid date in accord with the XML format for ABAP</Exception_Text>

</ChainedException>

</ns:SystemFault>

</detail>

</soap-env:Fault>

</soap-env:Body>

</soap-env:Envelope>

Regards

Arun.P

Edited by: Arun Padmanaban on Aug 13, 2010 1:00 PM

Read only

0 Likes
1,241

You need to specify the date in format CCYY-MM-DD

Read only

0 Likes
1,241

Hi

What is CC i was able to uderstand YY as Year, MM as Month and DD as Date

Regards

Arun.P

Read only

0 Likes
1,241

Century. 'CCYY' is the same as 'YYYY'.

Read only

0 Likes
1,241

Hi Experts

Does any other 3rd party tool is available other than SOAPUI to test the web service?

i used the SOAPUI but it is showing some type compatablity errors.

Regards

Arun.P