on 06-18-2007 10:30 AM
Hi friends,
Can we call configurd webservice in xi , using standalone java application by just giving url of webservice ?
OR
Only by means of WEBDynapro we can call ?
Can you please tell me the answer for this .
Regards .,
V.Rangarajan
Hi Ranga Rajan,
you need to create a WSDL of your webservice scenario in XI.
you can find the details of the steps in the following blog.
/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
Then you can create your webservice client using any java IDE.
for example to create using netbeans you can follow the following steps.
http://www.netbeans.org/kb/41/tutorial-webservice.html
Regards
Pushkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Ranga Rajan
well, If at all if you have webservice...you can import that werbserivce as External definition in to IR.
How to import:
1) Go to IR and and move to your requied component and there you can see the option called imported objects...select on imported objects where you can give the name and you can select the webservices which you want to use it.
2) Hope you are aware of that a werbservice will have the request and response.
3) Create the mapping program accroding to your requirement.
Go through blogs of Bhavesh and Naveen which talks about calling webservice in a specific condition:
Webservice Calls From a User Defined Function - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
Consuming/Calling webservices from DataBases - /people/sap.user72/blog/2005/10/20/consumingcalling-webservices-from-databases
Also check this help file on Web Services:
Cheers..
Vasu
<i>** Reward Points if found useful **</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>>well, If at all if you have webservice...you can import that werbserivce as External definition in to IR.
he has a WS on XI so he doens't need to import anything into XI
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
hi,
>>>Can we call configurd webservice in xi , using standalone java application by just giving url of webservice ?
yes and not
yes you can call from standalone java application
no - you need WSLD file from XI to call it correctly
just like any other web service
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
Thanks for ur reply .
My scenario is like Through stand alone java application I want to call the Webservice and get back the result .
Requet --- > SOAP < -- > xi <--- > RFC
I have used Synchronous Send .
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 . <b> I have tested that using ALtovaXML Spy it is accepting the request and give back the response</b>
Now i have the WSDL File then how do i test by java application ? Can you please give me some sample code to call the using WSDL File ?
Can you please tell me asap.
Regards .,
V.Rangarajan
hi,
>>>>Now i have the WSDL File then how do i test by java application ?
specify the server or your IDE
do this:
for example you use netbeans
1. google.com
2. netbeans wsld import
or eclipse
1. google.com
2. eclipse wsld import
this way you will get how to guides for different IDEs on how to call a WS with WSDL
Regards,
michal
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.