cancel
Showing results for 
Search instead for 
Did you mean: 

How to test webservices - what url i have to give to call as webservice ?

former_member189387
Active Contributor
0 Kudos

Hi Friends ,

I haev done a scenario like SOAP Request to RFC . RFC will give the response back .

Using the Tools --> Define webservices in ID . I have defined the webservice . It has produced the WSDL File .

I have tested in Altova XML Spy . It is accepting the input and responds back .

Our techical guys asking the URL for calling the webservice .

I have WSDL file . Then what else i have to do . While i was defining the webservice it asked me the URL . i have given the url like

<b>http://xidev:port/XISOAPAdapter/MessageServlet?channel=:BS_CHECK_SOAP:CC_Check_SOAP_Sender</b>

Can you please tell me how to handle this ?

Best Regards .,

V.Rangarajan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All,

Go to the Transaction code WSADMIN. You can see a list of the Web Services there under SOAP Application for RFC-Compliant FMs . Select the particular webservice and Go to Web Service-> Web Service Homepage in the menu bar.

It will take you the Web Service Navigator. Where you can test the web service.

In case you know the WSDL Definition.Directly go to WSADMIN and go to Web Service-> Web Service Homepage in the menu bar. And specify the WSDL url. Once you provide the authentication the webservice can be tested there.

To know the WSDL definition , Click the select the particular webservice and go to Web Service-> WSDL and select RPC style , which will open the browser and give you the WSDL URL.

Regards,

Karthik

Shabarish_Nair
Active Contributor
0 Kudos

<i>Our techical guys asking the URL for calling the webservice .

I have WSDL file . Then what else i have to do . While i was defining the webservice it asked me the URL . i have given the url like

http://xidev:port/XISOAPAdapter/MessageServlet?channel=:BS_CHECK_SOAP:CC_Check_SOAP_Sender</i>;

>>>>

Ref: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

former_member529475
Active Contributor
0 Kudos

HI Ranga Rajan

There are many tools to test webservices.

1. XMlSpy

http://www.altova.com/features_soap.html

2. Parasoft SOATest

http://www.parasoft.com/jsp/templates/ads/google/googlesoap1.jsp;jsessionid=aaabTTtXGGgHP7?redname=g...

3. WebserviceStudio(my fav, easy and free)

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...

4. SAP SOAP Client

https://www.sdn.sap.com/jws/soapclient.jnlp

Cheers..

Vasu

<i>** Reward Points if found useful **</i>

former_member189387
Active Contributor
0 Kudos

Hi vasu ,

Thanks for ur reply . My doubt is What kind of url i have to give to the technical guys who are trying to call that web service . They are specifically asking the url .

I have tested in Altova XML Spy uisng that generated wsdl file .It is working fine .

Regards .,

V.Rangarajan

Shabarish_Nair
Active Contributor
0 Kudos

the URL is basically the address of the WS. Ref the earlier blog i mentioned to see how to extract the address from a WS.

prateek
Active Contributor
0 Kudos

Generally the URL is present in the WSDL file as

<wsdlsoap:address location="http://abc:xxx/xyz/pqr" />

Regards,

Prateek

Former Member
0 Kudos

with webservice you will get 3 files, out of which one <b>main.wsdl</b>,

in that you will be having a tag with soap address , you give that path

like this,

<soap:address location="http://dewall.ccss.gemini.com:50100/IciPhoneCallService/IciPhoneCallConf?style=document"/>

this is the sample scenario path, go through this, you will get about it

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

former_member189387
Active Contributor
0 Kudos

Hi ,

My scenario is like Through stand alone java application I want to call the Webservice and get back the result .

As i specified. I did the scenarion using SOAP Sender Adapter and RFC Receiver adapter . using Tools--> define Webservices i have defined the webservice it gives me the WDSL file .

Requet --- > SOAP < -- > xi <--- > RFC

I have tested that using ALtovaXML Spy it is accepting the request and give back the response .

How to call that web service using stand alone java applications ?

If we are using WebDynapro we handle this . But how can we handle through stand alone java applications . What url i have to give to that java guys ?