cancel
Showing results for 
Search instead for 
Did you mean: 

Web Services not working....

Former Member
0 Kudos

Hi Experts,

Scenerio:-SOAP to RFC

I am not able to test the web service.I tried doing it from service registry but it says user is not having access to do ii than I tried from SOAP UI putting some end points and so but I cant see any message in moni.

Please let me know what could be the reason behid it.

Regards,

Abhi 

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abhi,

In your request properties in soapUI select Authorization Type as Preemptive

please let us know the result.

Message was edited by: mastan vali

Former Member
0 Kudos

Hi Mastan,

Thanks for sharing this Info.I will try and will share the update with you.

Regards,

Abhi

Former Member
0 Kudos

Thanks Mastan for your help.It is working fine now.

Regards,

Abhi

Former Member
0 Kudos

Hi Abhinav,

After importing WSDL and trying to validate it we are getting error as "Line 1 : null" . Can you suggest what can be the issue?

Thanks

Harshmeet

sukhsimran_singh
Explorer
0 Kudos

Hi Harshmeet,

you can test the payload , I don't think it will going to effect anything. It occur mainly due to error in pasting the test message in the SoapUI.

Please let me know the results.

Regards,

Sukhsimran

Former Member
0 Kudos

Hi Sukhsimran,

Thanks for the reply. We were getting the validation error but could process with the error.

So we are good as of now.

Regards

Harshmeet

Answers (4)

Answers (4)

Former Member
0 Kudos

when I am typing this url in IE,it is shwoing Message servelet is ok.

Is there any way to test whether Soap UI is connected or not..just like RFC connection test.

Former Member
0 Kudos

As you are using URL with party:service:channel parameters (as per screen shot), you are triggering message to AE, you are posting message using sender communication channel. Check if you can see an entry in Adapter engine and try the IE url I provided which contains service interface details.

http://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=<Sender service>&receiverParty=&receiverService=&interface=<Sender SI>&interfaceNamespace=<name space>

Regards,

Pranav

former_member192892
Active Contributor
0 Kudos

Check the logs in SOAP UI log and http log. Have you checked the authorization of the user you gave in SOAP UI?

Regards

Varun

Former Member
0 Kudos

How to check the logs and authorisation of the user in SOAP UI.??

Regards,

Abhi

aashish_sinha
Active Contributor
0 Kudos

Hi,

Your URL is ok. In SOAP UI, after importing WSDL, dig it till Request1, select it and go to Request property.

Set Below things

1. Authentication Type = Preemptive

2. username

3 password

and send message.

If you get any error let us know.

Regards

Aashish Sinha

Former Member
0 Kudos

Hi,

Thanks for sharing this information.I will try this.

Regards,

Abhi

Former Member
0 Kudos

Thanks Aashish for your support.It is working now.

former_member192892
Active Contributor
0 Kudos

Hi Abhinav,

Please give SAP_XI_APPL_SERV_USER role to your user and try.

Regards

Varun

Former Member
0 Kudos

Hi Varun,

Problem is that we are able to send the message from RWB but not from SOAPUI.So,I not sure that role is also assignged to it or not

Regards,

Abhi

former_member192851
Active Participant
0 Kudos

how do you test from SOAP UI?

Maybe you set wrong URL to WS, or have some authentication problems.

Former Member
0 Kudos

you can test the scenerio from SOAP UI.You import the wsdl and do the end point testing

Former Member
0 Kudos

Hi Abhinav,

Check if your request is sent to URL in this format from SOAP UI:

http://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=<Sender service>&receiverParty=&receiverService=&interface=<Sender SI>&interfaceNamespace=<name space>

Regards,

Pranav

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Abhinav,

I am not able to test the web service.I tried doing it from service registry but it says user is not having access to do ii than I tried from SOAP UI putting some end points and so but I cant see any message in moni.

Please let me know what could be the reason behid it.

Logging_Sync is not enabled in your PI sxmb_adm -> Integration Engine Configuration -> Specific Configuration. Change the value from 0 to 1 and you should be able to see your messages (this is assuming you are not using ICO).

Regards,

Mark

Former Member
0 Kudos

Hi Mark,

We have already maded on the changes in admin section.

Problem is that we are able to send the message from RWB but not from SOAPUI.

Regards,

Abhi

iaki_vila
Active Contributor
0 Kudos

Hi Abhinav,

For service registry chech thar your user has these roles http://help.sap.com/saphelp_nwce72/helpdata/en/0b/14bb10ff8d44a0af4a5a79dd2378c7/content.htm

Can you share the SOAPui response exception?, are you use the endpoint structure as it is pointed here http://help.sap.com/saphelp_nw73/helpdata/en/48/3555240bea31c3e10000000a42189d/frameset.htm?

You can test your scenario also with WSNavigator .http://help.sap.com/saphelp_nwpi71/helpdata/en/46/7a875063e42d86e10000000a11466f/frameset.htm

Regards

Former Member
0 Kudos

Hi lnaki,

I have already tried with WSnaviagtor.There I can see user doesnt have access to trigger.

Regards,

Abhi

iaki_vila
Active Contributor
0 Kudos

Hi Abhinav,

Please contact with your PI administrator to give you the correponding UME roles pointed in the link that i mentioned. This way and the service registry are the best ways to test a SOAP sender scenario and like developer it's mandatory that you have these roles.

Regards.