You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-user@ws.apache.org by Martin Dixon <ma...@magus.co.uk> on 2006/03/16 11:57:24 UTC
SOAP encoding not picked up by wsdl2Java?
Hello,
I am trying to generate Java stubs from a soap encoded wsdl - i am using wsrf-1.1 and running wsdl2Java from inside an ant script. I believe the wsdl is valid, but when i run wsdl2Java i get the following error:
generate:
[mkdir] Created dir: C:\wsrf-1.1\webapps\wsrf\_tmp_
[copy] Copying 1 file to C:\wsrf-1.1\webapps\wsrf\_tmp_
[wsdl2Java] Processing WSDL file "C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl"...
[wsdl2Java] Retrieving document at 'C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl'.
[wsdl2Java] Generating XMLBeans for WSDL file "C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl"...
[wsdl2Java] C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl:0: warning: The WSDL C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl uses SOAP encoding. SOAP encoding is not compatible with literal XML Schema.
[wsdl2Java] Loading wsdl file C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl
[wsdl2Java] Processing 2 schema(s) in C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl
[wsdl2Java] Processing WSRF WSDL port "wsuser.cfc"...
[wsdl2Java] java.lang.RuntimeException: WSDL input message named {http://webservices}isLoggedInRequest has more than one part - input messages must h
ve at most one part.
[wsdl2Java] at org.apache.ws.util.OperationInfo.<init>(OperationInfo.java:71)
[wsdl2Java] at org.apache.ws.resource.tool.GenerationUtils.getOperationInfoMap(GenerationUtils.java:61)
[wsdl2Java] at org.apache.ws.resource.tool.Wsdl2Java.buildServiceProperties(Wsdl2Java.java:323)
[wsdl2Java] at org.apache.ws.resource.tool.Wsdl2Java.processTemplates(Wsdl2Java.java:487)
[wsdl2Java] at org.apache.ws.resource.tool.Wsdl2Java.processWsdlFile(Wsdl2Java.java:971)
[wsdl2Java] at org.apache.ws.resource.tool.Wsdl2Java.generate(Wsdl2Java.java:185)
[wsdl2Java] at org.apache.ws.resource.tool.Wsdl2JavaTask.execute(Wsdl2JavaTask.java:228)
[wsdl2Java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[wsdl2Java] at org.apache.tools.ant.Task.perform(Task.java:364)
[wsdl2Java] at org.apache.tools.ant.Target.execute(Target.java:301)
[wsdl2Java] at org.apache.tools.ant.Target.performTasks(Target.java:328)
[wsdl2Java] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[wsdl2Java] at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
[wsdl2Java] at org.apache.tools.ant.Main.runBuild(Main.java:632)
[wsdl2Java] at org.apache.tools.ant.Main.startAnt(Main.java:183)
[wsdl2Java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
[wsdl2Java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Here is the wsdl i'm using:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://webservices"
xmlns:impl="http://webservices"
xmlns:intf="http://webservices"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns1="http://rpc.xml.coldfusion"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://rpc.xml.coldfusion">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="CFCInvocationException">
<sequence/>
</complexType>
</schema>
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xml.apache.org/xml-soap">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="mapItem">
<sequence>
<element name="key" nillable="true" type="xsd:string"/>
<element name="value" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="Map">
<sequence>
<element name="item" minOccurs="0" maxOccurs="unbounded" type="apachesoap:mapItem"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="updateLogonToUnsecureResponse">
<wsdl:part name="updateLogonToUnsecureReturn" type="xsd:boolean"/>
</wsdl:message>
<wsdl:message name="getDatasourcesRequest">
</wsdl:message>
<wsdl:message name="isLoggedInSecureResponse">
<wsdl:part name="isLoggedInSecureReturn" type="xsd:boolean"/>
</wsdl:message>
<wsdl:message name="isLoggedInSecureRequest">
<wsdl:part name="serverName" type="xsd:string"/>
<wsdl:part name="domainKey" type="xsd:string"/>
<wsdl:part name="IETLogonSessionID" type="xsd:string"/>
<wsdl:part name="IP" type="xsd:string"/>
<wsdl:part name="userAgent" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="CFCInvocationException">
<wsdl:part name="fault" type="tns1:CFCInvocationException"/>
</wsdl:message>
<wsdl:message name="setDatasourcesRequest">
<wsdl:part name="datasources" type="apachesoap:Map"/>
</wsdl:message>
<wsdl:message name="isLoggedInResponse">
<wsdl:part name="isLoggedInReturn" type="xsd:boolean"/>
</wsdl:message>
<wsdl:message name="setDatasourcesResponse">
</wsdl:message>
<wsdl:message name="getDatasourcesResponse">
<wsdl:part name="getDatasourcesReturn" type="apachesoap:Map"/>
</wsdl:message>
<wsdl:message name="isLoggedInRequest">
<wsdl:part name="serverName" type="xsd:string"/>
<wsdl:part name="domainKey" type="xsd:string"/>
<wsdl:part name="IETLogonSessionID" type="xsd:string"/>
<wsdl:part name="IP" type="xsd:string"/>
<wsdl:part name="userAgent" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="updateLogonToUnsecureRequest">
<wsdl:part name="serverName" type="xsd:string"/>
<wsdl:part name="domainkey" type="xsd:string"/>
<wsdl:part name="IETLogonSessionID" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="wsuser">
<wsdl:operation name="isLoggedIn" parameterOrder="serverName domainKey IETLogonSessionID IP userAgent">
<wsdl:input name="isLoggedInRequest" message="impl:isLoggedInRequest"/>
<wsdl:output name="isLoggedInResponse" message="impl:isLoggedInResponse"/>
<wsdl:fault name="CFCInvocationException" message="impl:CFCInvocationException"/>
</wsdl:operation>
<wsdl:operation name="isLoggedInSecure" parameterOrder="serverName domainKey IETLogonSessionID IP userAgent">
<wsdl:input name="isLoggedInSecureRequest" message="impl:isLoggedInSecureRequest"/>
<wsdl:output name="isLoggedInSecureResponse" message="impl:isLoggedInSecureResponse"/>
<wsdl:fault name="CFCInvocationException" message="impl:CFCInvocationException"/>
</wsdl:operation>
<wsdl:operation name="updateLogonToUnsecure" parameterOrder="serverName domainkey IETLogonSessionID">
<wsdl:input name="updateLogonToUnsecureRequest" message="impl:updateLogonToUnsecureRequest"/>
<wsdl:output name="updateLogonToUnsecureResponse" message="impl:updateLogonToUnsecureResponse"/>
<wsdl:fault name="CFCInvocationException" message="impl:CFCInvocationException"/>
</wsdl:operation>
<wsdl:operation name="getDatasources">
<wsdl:input name="getDatasourcesRequest" message="impl:getDatasourcesRequest"/>
<wsdl:output name="getDatasourcesResponse" message="impl:getDatasourcesResponse"/>
<wsdl:fault name="CFCInvocationException" message="impl:CFCInvocationException"/>
</wsdl:operation>
<wsdl:operation name="setDatasources" parameterOrder="datasources">
<wsdl:input name="setDatasourcesRequest" message="impl:setDatasourcesRequest"/>
<wsdl:output name="setDatasourcesResponse" message="impl:setDatasourcesResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="wsuser.cfcSoapBinding" type="impl:wsuser">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="isLoggedIn">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="isLoggedInRequest">
<wsdlsoap:body parts="isLoggedInRequest" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:input>
<wsdl:output name="isLoggedInResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="isLoggedInSecure">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="isLoggedInSecureRequest">
<wsdlsoap:body parts="isLoggedInSecureRequest" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:input>
<wsdl:output name="isLoggedInSecureResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="updateLogonToUnsecure">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="updateLogonToUnsecureRequest">
<wsdlsoap:body parts="updateLogonToUnsecureRequest" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:input>
<wsdl:output name="updateLogonToUnsecureResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getDatasources">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getDatasourcesRequest">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:input>
<wsdl:output name="getDatasourcesResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:output>
<wsdl:fault name="CFCInvocationException">
<wsdlsoap:fault use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="setDatasources">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="setDatasourcesRequest">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:input>
<wsdl:output name="setDatasourcesResponse">
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="wsuserService">
<wsdl:port name="wsuser.cfc" binding="impl:wsuser.cfcSoapBinding">
<wsdlsoap:address location="https://logon.theiet.org/webservices/wsuser.cfc"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
My ant task look like this:
<taskdef name="wsdl2Java" classname="org.apache.ws.resource.tool.Wsdl2JavaTask" classpath="${wsrf.classpath}" />
<wsdl2Java outputDir="${out.dir}"
classpath="${wsrf.classpath}"
verbose="false">
<wsdls dir="${tmp.dir}">
<include name="*.wsdl" />
</wsdls>
</wsdl2Java>
Please can anyone provide some pointers as to what is going wrong here?
Thanks v. much,
Martin.
Re: SOAP encoding not picked up by wsdl2Java?
Posted by Alvaro Orus <al...@gmail.com>.
Why are you using wsrf to generate that service instead of the standard Axis
framework? I don't see any resource property or stardard wsrf operation in
your wsdl nor wsrf schema import in it.
On 3/16/06, Martin Dixon <ma...@magus.co.uk> wrote:
>
>
> Hello,
>
> I am trying to generate Java stubs from a soap encoded wsdl - i am using
> wsrf-1.1 and running wsdl2Java from inside an ant script. I believe the
> wsdl is valid, but when i run wsdl2Java i get the following error:
>
> generate:
> [mkdir] Created dir: C:\wsrf-1.1\webapps\wsrf\_tmp_
> [copy] Copying 1 file to C:\wsrf-1.1\webapps\wsrf\_tmp_
> [wsdl2Java] Processing WSDL file "C:\wsrf-
> 1.1\webapps\wsrf\_tmp_\wsuser.wsdl"...
> [wsdl2Java] Retrieving document at 'C:\wsrf-
> 1.1\webapps\wsrf\_tmp_\wsuser.wsdl'.
> [wsdl2Java] Generating XMLBeans for WSDL file "C:\wsrf-
> 1.1\webapps\wsrf\_tmp_\wsuser.wsdl"...
> [wsdl2Java] C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl:0: warning: The
> WSDL C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl uses SOAP encoding. SOAP
> encoding is not compatible with literal XML Schema.
>
> [wsdl2Java] Loading wsdl file C:\wsrf-1.1\webapps\wsrf\_tmp_\wsuser.wsdl
> [wsdl2Java] Processing 2 schema(s) in C:\wsrf-
> 1.1\webapps\wsrf\_tmp_\wsuser.wsdl
> [wsdl2Java] Processing WSRF WSDL port "wsuser.cfc"...
> [wsdl2Java] java.lang.RuntimeException: WSDL input message named {
> http://webservices}isLoggedInRequest has more than one part - input
> messages must h
>
> ve at most one part.
> [wsdl2Java] at org.apache.ws.util.OperationInfo.<init>(
> OperationInfo.java:71)
> [wsdl2Java] at
> org.apache.ws.resource.tool.GenerationUtils.getOperationInfoMap(
> GenerationUtils.java:61)
> [wsdl2Java] at
> org.apache.ws.resource.tool.Wsdl2Java.buildServiceProperties(
> Wsdl2Java.java:323)
> [wsdl2Java] at org.apache.ws.resource.tool.Wsdl2Java.processTemplates(
> Wsdl2Java.java:487)
> [wsdl2Java] at org.apache.ws.resource.tool.Wsdl2Java.processWsdlFile(
> Wsdl2Java.java:971)
> [wsdl2Java] at org.apache.ws.resource.tool.Wsdl2Java.generate(
> Wsdl2Java.java:185)
> [wsdl2Java] at org.apache.ws.resource.tool.Wsdl2JavaTask.execute(
> Wsdl2JavaTask.java:228)
> [wsdl2Java] at org.apache.tools.ant.UnknownElement.execute(
> UnknownElement.java:269)
> [wsdl2Java] at org.apache.tools.ant.Task.perform(Task.java:364)
> [wsdl2Java] at org.apache.tools.ant.Target.execute(Target.java:301)
> [wsdl2Java] at org.apache.tools.ant.Target.performTasks(Target.java
> :328)
> [wsdl2Java] at org.apache.tools.ant.Project.executeTarget(Project.java
> :1215)
> [wsdl2Java] at org.apache.tools.ant.Project.executeTargets(
> Project.java:1063)
> [wsdl2Java] at org.apache.tools.ant.Main.runBuild(Main.java:632)
> [wsdl2Java] at org.apache.tools.ant.Main.startAnt(Main.java:183)
> [wsdl2Java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java
> :197)
> [wsdl2Java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java
> :56)
>
> Here is the wsdl i'm using:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions
> targetNamespace="http://webservices"
> xmlns:impl="http://webservices"
> xmlns:intf="http://webservices"
> xmlns:apachesoap="http://xml.apache.org/xml-soap"
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:tns1="http://rpc.xml.coldfusion"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns="http://schemas.xmlsoap.org/wsdl/">
> <wsdl:types>
> <schema
> xmlns="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://rpc.xml.coldfusion">
> <import namespace="
> http://schemas.xmlsoap.org/soap/encoding/"/>
> <complexType name="CFCInvocationException">
> <sequence/>
> </complexType>
> </schema>
> <schema
> xmlns="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://xml.apache.org/xml-soap">
> <import namespace="
> http://schemas.xmlsoap.org/soap/encoding/"/>
> <complexType name="mapItem">
> <sequence>
> <element name="key" nillable=
> "true" type="xsd:string"/>
> <element name="value" nillable=
> "true" type="xsd:string"/>
> </sequence>
> </complexType>
> <complexType name="Map">
> <sequence>
> <element name="item" minOccurs="0"
> maxOccurs="unbounded" type="apachesoap:mapItem"/>
>
> </sequence>
> </complexType>
> </schema>
> </wsdl:types>
> <wsdl:message name="updateLogonToUnsecureResponse">
> <wsdl:part name="updateLogonToUnsecureReturn" type="xsd:boolean"/>
> </wsdl:message>
> <wsdl:message name="getDatasourcesRequest">
> </wsdl:message>
> <wsdl:message name="isLoggedInSecureResponse">
> <wsdl:part name="isLoggedInSecureReturn" type="xsd:boolean"/>
> </wsdl:message>
> <wsdl:message name="isLoggedInSecureRequest">
> <wsdl:part name="serverName" type="xsd:string"/>
> <wsdl:part name="domainKey" type="xsd:string"/>
> <wsdl:part name="IETLogonSessionID" type="xsd:string"/>
> <wsdl:part name="IP" type="xsd:string"/>
> <wsdl:part name="userAgent" type="xsd:string"/>
> </wsdl:message>
> <wsdl:message name="CFCInvocationException">
> <wsdl:part name="fault" type="tns1:CFCInvocationException"/>
> </wsdl:message>
> <wsdl:message name="setDatasourcesRequest">
> <wsdl:part name="datasources" type="apachesoap:Map"/>
> </wsdl:message>
> <wsdl:message name="isLoggedInResponse">
> <wsdl:part name="isLoggedInReturn" type="xsd:boolean"/>
> </wsdl:message>
> <wsdl:message name="setDatasourcesResponse">
> </wsdl:message>
> <wsdl:message name="getDatasourcesResponse">
> <wsdl:part name="getDatasourcesReturn" type="apachesoap:Map"/>
> </wsdl:message>
> <wsdl:message name="isLoggedInRequest">
> <wsdl:part name="serverName" type="xsd:string"/>
> <wsdl:part name="domainKey" type="xsd:string"/>
> <wsdl:part name="IETLogonSessionID" type="xsd:string"/>
> <wsdl:part name="IP" type="xsd:string"/>
> <wsdl:part name="userAgent" type="xsd:string"/>
> </wsdl:message>
> <wsdl:message name="updateLogonToUnsecureRequest">
> <wsdl:part name="serverName" type="xsd:string"/>
> <wsdl:part name="domainkey" type="xsd:string"/>
> <wsdl:part name="IETLogonSessionID" type="xsd:string"/>
> </wsdl:message>
> <wsdl:portType name="wsuser">
> <wsdl:operation name="isLoggedIn" parameterOrder="serverName domainKey
> IETLogonSessionID IP userAgent">
> <wsdl:input name="isLoggedInRequest" message=
> "impl:isLoggedInRequest"/>
> <wsdl:output name="isLoggedInResponse" message=
> "impl:isLoggedInResponse"/>
> <wsdl:fault name="CFCInvocationException" message=
> "impl:CFCInvocationException"/>
> </wsdl:operation>
> <wsdl:operation name="isLoggedInSecure" parameterOrder="serverName
> domainKey IETLogonSessionID IP userAgent">
> <wsdl:input name="isLoggedInSecureRequest" message=
> "impl:isLoggedInSecureRequest"/>
> <wsdl:output name="isLoggedInSecureResponse" message=
> "impl:isLoggedInSecureResponse"/>
> <wsdl:fault name="CFCInvocationException" message=
> "impl:CFCInvocationException"/>
> </wsdl:operation>
> <wsdl:operation name="updateLogonToUnsecure" parameterOrder="serverName
> domainkey IETLogonSessionID">
> <wsdl:input name="updateLogonToUnsecureRequest" message=
> "impl:updateLogonToUnsecureRequest"/>
> <wsdl:output name="updateLogonToUnsecureResponse" message=
> "impl:updateLogonToUnsecureResponse"/>
> <wsdl:fault name="CFCInvocationException" message=
> "impl:CFCInvocationException"/>
> </wsdl:operation>
> <wsdl:operation name="getDatasources">
> <wsdl:input name="getDatasourcesRequest" message=
> "impl:getDatasourcesRequest"/>
> <wsdl:output name="getDatasourcesResponse" message=
> "impl:getDatasourcesResponse"/>
> <wsdl:fault name="CFCInvocationException" message=
> "impl:CFCInvocationException"/>
> </wsdl:operation>
> <wsdl:operation name="setDatasources" parameterOrder="datasources">
> <wsdl:input name="setDatasourcesRequest" message=
> "impl:setDatasourcesRequest"/>
> <wsdl:output name="setDatasourcesResponse" message=
> "impl:setDatasourcesResponse"/>
> </wsdl:operation>
> </wsdl:portType>
> <wsdl:binding name="wsuser.cfcSoapBinding" type="impl:wsuser">
> <wsdlsoap:binding style="rpc" transport="
> http://schemas.xmlsoap.org/soap/http"/>
> <wsdl:operation name="isLoggedIn">
> <wsdlsoap:operation soapAction=""/>
> <wsdl:input name="isLoggedInRequest">
> <wsdlsoap:body parts="isLoggedInRequest" use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="
> http://webservices"/>
>
> </wsdl:input>
> <wsdl:output name="isLoggedInResponse">
> <wsdlsoap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:output>
> <wsdl:fault name="CFCInvocationException">
> <wsdlsoap:fault use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="isLoggedInSecure">
> <wsdlsoap:operation soapAction=""/>
> <wsdl:input name="isLoggedInSecureRequest">
> <wsdlsoap:body parts="isLoggedInSecureRequest" use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="
> http://webservices"/>
>
> </wsdl:input>
> <wsdl:output name="isLoggedInSecureResponse">
> <wsdlsoap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:output>
> <wsdl:fault name="CFCInvocationException">
> <wsdlsoap:fault use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="updateLogonToUnsecure">
> <wsdlsoap:operation soapAction=""/>
> <wsdl:input name="updateLogonToUnsecureRequest">
> <wsdlsoap:body parts="updateLogonToUnsecureRequest" use="encoded"
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="
> http://webservices"/>
>
> </wsdl:input>
> <wsdl:output name="updateLogonToUnsecureResponse">
> <wsdlsoap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:output>
> <wsdl:fault name="CFCInvocationException">
> <wsdlsoap:fault use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="getDatasources">
> <wsdlsoap:operation soapAction=""/>
> <wsdl:input name="getDatasourcesRequest">
> <wsdlsoap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:input>
> <wsdl:output name="getDatasourcesResponse">
> <wsdlsoap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:output>
> <wsdl:fault name="CFCInvocationException">
> <wsdlsoap:fault use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:fault>
> </wsdl:operation>
> <wsdl:operation name="setDatasources">
> <wsdlsoap:operation soapAction=""/>
> <wsdl:input name="setDatasourcesRequest">
> <wsdlsoap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:input>
> <wsdl:output name="setDatasourcesResponse">
> <wsdlsoap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices"
> />
>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> <wsdl:service name="wsuserService">
> <wsdl:port name="wsuser.cfc" binding="impl:wsuser.cfcSoapBinding">
> <wsdlsoap:address location="
> https://logon.theiet.org/webservices/wsuser.cfc"/>
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
>
>
> My ant task look like this:
>
> <*taskdef* name="wsdl2Java" classname="org.apache.ws.resource.tool.
> Wsdl2JavaTask" classpath="${wsrf.classpath}" />
>
> <wsdl2Java outputDir="${out.dir}"
> classpath="${wsrf.classpath}"
> verbose="false">
> <wsdls dir="${tmp.dir}">
> <include name="*.wsdl" />
> </wsdls>
> </wsdl2Java>
>
> Please can anyone provide some pointers as to what is going wrong here?
>
> Thanks v. much,
>
> Martin.
>
>