cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in consuming Enterprise services by 3rd party

Former Member
0 Kudos

Hi SAP Experts,

     Once again greetings.... I have also had same problem. Then I followed ur instruction. I mean in Authorization tab of services (S_SERVICE, SAP_BC_WEBSERVICE_CONSUMER) in tcode PFCG.

now it turned red to green light after i saved. But still my Web Service Navigator is not working.it says as follows.

what can i do now?

I followed all the things in http://scn.sap.com/message/9264001 .

-Janaraja

Accepted Solutions (0)

Answers (1)

Answers (1)

robertot4s
Active Participant
0 Kudos

Hi Janaraja,

The Web Service Navigator is a Java application. If your system is an ABAP one, it haven't Web  Service Navigator, this explains the 404 code (application not found).

In this case you can test your web service with an external tool, like the popular soapUI.

Regards,

Roberto

Former Member
0 Kudos

Hi Roberto,

I don't have any idea about SOAPUI. Can you please explain step by step process to consume/ test the web service from SAP using SOAPUI.

Thanks in advance.

Janaraja

robertot4s
Active Participant
0 Kudos

Hi Janaraja,

You need to download the WSDL of your web service from SAP, or get the URL.

In soapUI, create a new project from the WSDL:

In your project, a default request (test case) is created for testing the service. Enter the correct user and password and the data in the XML:

Then, execute the test case.

Regards,

Roberto

Former Member
0 Kudos

Hi Roberto,

Thanks alot. As u said i created test case and after giving SAP login credential as u said I executed it. But result is coming like this...

What will be problem?

Thanks in advance.

robertot4s
Active Participant
0 Kudos

Hi,

I think the method shoud be "POST", not "GET".

Regards,

Roberto

Former Member
0 Kudos

Hello Roberto,

I ran the same in POST method also. But no reaction or no positive response. Any other guide or document regarding the same?

-Regards

Janaraja

robertot4s
Active Participant
0 Kudos

Hi,

It could be a problem with the soapUI version, have a look to this post:

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

I am working with version 3.0.1.

Regards,

Roberto

Former Member
0 Kudos

Hi,

Thanks for your web link. Is your SOAP UI 3.0.1 is Pro version or what?

-Janaraja

Former Member
0 Kudos

Hi Roberto,

Thanks for your help. I used SOAPUI 3.6.1(Not pro version). And I followed the steps as mentioned below.

1. I imported web service,

2. Authenticated SAP username and password.

3. Created test suite 1 -> test case 1

4. Ran the "request 1" and also "test case 1".

finally it turned green as follows.

But i cant find any forms to give input regarding that web service.

What shall I do next?

Thanks in advance.

-Reg

Janaraja

robertot4s
Active Participant
0 Kudos

Hi,

Now you are testing the Web Service in the correct way.

It looks like it generates a dump, have a look to the ST22 transaction. And review the data sended to the service.

Regards,

Roberto

Former Member
0 Kudos

Hi Roberto,

How you are saying that it look like generates a dump? I cant find any dump errors in ST22.

There is no reaction in SOAPUI with SAP. I think there is no data or no functions started with SAP.

Suggest me any other way to transfer data to SAP from SOAPUI through web service.

Regards,

Janaraja

robertot4s
Active Participant
0 Kudos

Hi,

SAP is generating the exception CX_SY_CONVERSION_NO_NUMBER. This exception is generated because alphanumeric data is sent in a numeric field.

Try to execute the ABAP object from the corresponding transaction with the same data.

Regards,

Roberto