A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
EJB and other Java EE Technologies
Author
javax.xml.ws.Service problem
Lukas Gorski
Greenhorn
Joined: Oct 09, 2009
Posts: 2
posted
Oct 09, 2009 01:25:42
0
Hi everybody,
I'm having a problem with
javax.xml.ws.Service
.
When I write:
QName qName = new QName("BusinessService"); Service s = Service.create(new URL("https://ws-test.publikations-plattform.de/services/BusinessService?wsdl"), qName);
Following error schows up:
Exception in thread "main" java.lang.IllegalArgumentException: prefix cannot be null. at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.getNamespaceURI(XMLStreamReaderImpl.java:1274) at com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.getNamespaceURI(XMLStreamReaderFilter.java:233) at com.sun.xml.internal.ws.wsdl.parser.ParserUtil.getQName(ParserUtil.java:69) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseMessage(RuntimeWSDLParser.java:763) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:294) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:127) at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:229) at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192) at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:162) at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:86) at javax.xml.ws.Service.<init>(Service.java:76) at javax.xml.ws.Service.create(Service.java:700) at Test.main(Test.java:105)
Do you know how to solve this problem ?
Thanks in advance
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35232
7
posted
Oct 09, 2009 02:09:00
0
Please do not post the same question to multiple forums:
CarefullyChooseOneForum
Let's continue the discussion in this
duplicate thread
.
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: javax.xml.ws.Service problem
Similar Threads
javax.xml.ws.WebServiceException: Failed to access the WSDL
Web Service *Client*
javax.xml.ws.Service problem
JAX-WS Web Service Clients- Static Clients Problem
Webservice goes down after redeploy
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter