on 08-21-2008 9:47 AM
Hi Experts,
Could you provide the link/doc to create a Java client for the webservices(wsdl file) from NWDS?
Thanks & Regards
Sara
Hi,
NWDS is based on eclipse..please refer below steps
Thanks
Swarup
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 create webservice using SAP PI,
but inorder to test the webservice you can use XML SPY software,
if you want to use NWDS to trigger webservice.. go thru this blog;
/people/riyaz.sayyad/blog/2006/05/10/consuming-xi-web-services-using-web-dynpro-150-ui-design-part-iii
Thanks,
Madhav
Note: Points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sara,
There is a difference in the way NWDI generated the service interface for web services client in SP3.
Until SP3 we used tha SUN RI JAX-WS runtime. In order to deliver the WSDL location packaged with the archive we used ClassLoader.getResource(..).
SP3 uses SAP JAX-WS Runtime which extracts the WSDL Location from annotations in case of deployable client and from static variable when the clients are standalone.
However we made a distinct difference and changed the generation so deployable clients could no be instantiated with "new" and the default constructor.
It should be clarified that deplyable clients should be instantiated using JNDI lookup or injection wuth @WebServiceRef annotation.
So if you need a standalone WS client generate a standalone proxy from the NWDI and it will contain the required code for initialization.
If you are making a java ee application please use the instantiation methods advised by the jave ee specification (lookup or injection).
Check these articles
http://pt.sun.com/sunnews/events/2006/javapt/pdf/SAP_JavaPT06_16102006.pdf
Hope this help.
Regards,
Suryanarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer from page no - 41
You need to create deployable proxy where in you have to give your WSDL file. Refer to the document
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.