It seems the namespace URI's are not specified, as the error message says, but the standard doesn't seem to be too clear on that: http://en.wikipedia.org/wiki/XML_namespace
I asked them to add the URI's so I will see if that solves the problem. On 10 November 2010 15:35, Martin Gross <[email protected]> wrote: > Looks like a namespace problem as the stack trace suggests. Probably > in the generated XML for the request. > > Regards, > Martin > > > On Wed, Nov 10, 2010 at 13:44, Jason Purcell <[email protected]> wrote: > > 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. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "CTJUG Tech" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<ctjug-tech%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/CTJUG-Tech?hl=en > > For Cape Town Java User Group home page see http://www.ctjug.org.za/ > > For jobs see http://jobs.gamatam.com/ > > -- > You received this message because you are subscribed to the Google Groups > "CTJUG Tech" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<ctjug-tech%[email protected]> > For more options, visit this group at > http://groups.google.com/group/CTJUG-Tech?hl=en > For Cape Town Java User Group home page see http://www.ctjug.org.za/ > For jobs see http://jobs.gamatam.com/ -- You received this message because you are subscribed to the Google Groups "CTJUG Tech" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/CTJUG-Tech?hl=en For Cape Town Java User Group home page see http://www.ctjug.org.za/ For jobs see http://jobs.gamatam.com/
