on 10-27-2007 7:19 AM
Hi Guys,
I have a task of creating a client in NWDS by consuming a WSDL file.Could kindly suggest the links or the simple methods.
Hi Tauseef,
following the rules of CAF you have to include your webservice as an external service on the cas level.
1) create an caf project.
2) under the external section right mouse click
3) import webservice
and go straight forward...
best regards. jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The reason or the above is i was using NWDS sp1,wherein the feature is available in sp3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivaylo,
Thanks for ur response..
In J2EE perspective ,I have imported the wsdl for sales order from remote/file system,when i validatethe wsdl it shows error.
when i try to generate client it gets the the java classes in the src folder.
Now how do i run the application??
do i still have to code something???
or run it as jsp after writing the code for the same.
Anxiously awaiting reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivalyo,
Thanks for the links,
I have completed the creation of the proxies,
Im having a bit of a problem with the code part of the JSP.
Any documnets to help on the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tauseef,
the page Creating Web Service Client Applications (see link in the above posts) contains the code already. The only difference if you call it from a JSP is that you can't use the annotation @WebServiceRef to inject the service. Therefore, you'd have to use use lookup to get it, e.g.
InitialContext ctx = new InitialContext();
CurrencyExchangeService obj = (CurrencyExchangeService)
ctx.lookup("java:comp/env/ExchangeService");
Hope this helps!
Hi,
I did go through the links u have provided,
In creating web proxy,the help document says keep the cursor at 'Develop Client' position and a blog by Mr Borris sez keep it at 'Start Client'.
Pls clarify
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would like to create the client in J2EE perspective,
i have imported the wsdl,
now how do i consume the wsdl(webservice)??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check the following two pages in the documentation:
<a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/100c6be9f87201e10000000a155369/frameset.htm">Creating Web Service Proxies</a>
<a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/113a1221337249e10000000a155369/frameset.htm">Creating Web Service Client Applications</a>
Hi Jan,
thanks a ton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can find <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11669cea-0c01-0010-63b2-b98c35b1b370">here</a> a tutorial how a web service can be imported into a CAF project. Don't be confused that the tutorial talks about SAP CAF 7.0 (under SAP NetWeaver 2004s), under SAP NetWeaver CE 7.1, the procedure to import and use web services into CAF projects (in NWDS) does not differ very much.
Regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.