R Srini wrote:Hi. If you are using NetBeans/GlassFish, then please see if this helps: https://coderanch.com/t/491830/Web-Services/java/JAX-WS-WebServiceRef-injection-NullPointerException
I am not using NetBeans/GlassFish
I moved the wsdl file to C:/
What exactly are you using?
Did you also regenerate the client code? Just want to be sure.
R Srini wrote:Ok. Eclipse. And what is the web service backend engine (e.g. Axis or GlassFish)? And JDK version? I need the information to duplicate your issue.
Regarding the WSDL file URL, you can try adding a forward slash (/) after c:/ like this: wsdlLocation="C://SalesOrderCreate_Out.wsdl" So maybe you can try that. Please first use the link from my previous post to make sure that you can open the file with the exact same path.
The actual WSDL URL: That depends on several variables. The developer of the web service should be able to tell you that. Before writing a client, you should at least be able to see the wsdl in a browser. Is there a tutorial or web page link you are working through? I can try to run the same tutorial if you like. I would suggest starting with a tutorial since all of this JAX-WS, Axis ... etc. stuff - while its not hard, it is not trivial either, and it takes quite a bit of work to get it running. Best of luck!
R Srini wrote:LOL. I know nothing about SAP - as I am sure you suspected You are better off inquiring about this in a SAP PI forum. Here are a couple of related links:
- https://forums.sdn.sap.com/message.jspa?messageID=7707041
- https://forums.sdn.sap.com/thread.jspa?threadID=1284821 (this one has more links that look promising)
Maybe it helps. Best of luck! Please post your resolution once you have it so it may be useful to others. Thanks/
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |