Jason Purcell
unread,Nov 10, 2010, 7:44:54 AM11/10/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CTJUG...@googlegroups.com
Hi there...
I am using JAX-WS in Netbeans to generate my classes from a WSDL supplied to me by someone else.
When I try to do a call, I get the following error:
java.lang.IllegalArgumentException: getNamespaceURI(String prefix) is called with a null prefix.
at com.sun.xml.stream.XMLReaderImpl.getNamespaceURI(XMLReaderImpl.java:1231)
at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.getNamespaceURI(XMLStreamReaderFilter.java:244)
at com.sun.xml.ws.wsdl.parser.ParserUtil.getQName(ParserUtil.java:80)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseMessage(RuntimeWSDLParser.java:779)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:316)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:146)
at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:254)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:217)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:174)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:56)
But if I use soapUI then I can do a successful call by creating the XML manually.
The WSDL is generated manually, which I think is the problem.
Any ideas?
Kind regards,
Jason.