web services - wsimport problem with Exception in thread "main" java.lang.NullPointerException -


I am creating a web service customer using wsimport, but I get an error like this

java on "main" sun.net.www.protocol.http at sun.net.www.ParseUtil.toURI (ParseUtil.java:261) Exception in lang.NullPointerException HttpURLConnection.plainConnect (HttpURLConnection.java:905) sun.net.www.protocol.http.HttpURLConnection.connect (HttpURLConnection.java:836) on sun.net.www.protocol.http.HttpURLConnection.getInputStream (on HttpURLConnection.java: 1172) com.sun.tools.internal.ws.wsdl.parser.DOMForest.parse (DOMForest.java:222) on com.sun.tools.internal.ws.wsdl.parser.DOMForest.parse (on DOMForest.java: 139) com.sun.tools.internal.ws.wsdl.parser.MetadataFinder.parseWSDL (MetadataFinder.java:91) on com.sun.tools.internal.ws.wsdl.parser.WSDLParser.parse (on WSDLParser.java: 130) sun.reflect.NativeMethodAccessorImpl sun on com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildModel (WSDLModeler.java:115) on com.sun.tools.internal.ws.wscompile.WsimportT sun.reflect.DelegatingMethodAccesso on .invoke0 (ool.run (WsimportTool.java:172) sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java39) on the Basic Law) com on rImpl.invoke (DelegatingMethodAccessorImpl.java: 25) java.lang.reflect.Method.invoke (Method.java:597) on com.sun.tools.internal.ws.Invoker.invoke (Invoker.java:105). At sun.tools.internal.ws

Any hint or any thoughts?

Edwin Jaw TIA

It seems that There is something wrong with the WSDL URL; A NullPointerException seems like it's completely missing, perhaps the way you think your command line is not being parsed.

How do you call Wasimport? What parameters use? Through Windows Command Line, Ant Script or Linux Open?

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -