wsimport « wsdl « Java Enterprise Q&A





1. Either WSDL or wsimport and wsdl (mono) are horribly broken    stackoverflow.com

EDIT I started off with the example given below, but I have now:

  • Tried the example from the W3C spec. After fixing another error (binding was called StockQuoteSoapBinding in one place, StockQuoteBinding ...

2. wsimport "Cannot resolve the name..."    stackoverflow.com

I've been trying to import the following web service: http://soap.genome.jp/KEGG.wsdl with ${JAVA_HOME}/bin/wsimport:

wsimport -version
JAX-WS RI 2.1.6 in JDK 6
but I got the following error:
parsing WSDL...

[WARNING] src-resolve: Cannot resolve the name ...

3. How to generate a web service from a WSDL    stackoverflow.com

I know this question has been asked a few times, but I checked the stackoverflow history/questions and it does not quite answer what I am trying to do. I have a ...

4. WSDL with soap-rpc-style does not compile    stackoverflow.com

I'm using this wsdl-file to describe my webservice:

<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions targetNamespace="http://www.myapproach.de/knowledgebase" name="Knowledgebase"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:tns="http://www.myapproach.de/knowledgebase"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
   ...

5. wsimport problem with Exception in thread "main" java.lang.NullPointerException    stackoverflow.com

I am generating a web service client using wsimport but I get an error like this Exception in thread "main" java.lang.NullPointerException at sun.net.www.ParseUtil.toURI(ParseUtil.java:261) ...

6. wsimport not writing code    stackoverflow.com

I've setup a basic web service, I can see it running by typing in the local host url, and can see it using wcftestclient. I'm trying to use wsimport to generate code ...