You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by James Black <jb...@ieee.org> on 2003/08/14 13:45:12 UTC
re: implementation only accepts SOAPPart objects as root part error
Hello,
I don't know why I am getting this error now from my client.
I am using JBoss 4.0DR2, and changed the jar files to ensure that it
is Axis 1.1.
I generated the following wsdl from java2wsdl, and perhaps in there I
did something wrong, but I have never seen this problem.
My webservice works fine when running Tomcat 4.1.24.
Since the client stubs are generated from the wsdl file I am assuming
the problem is from that side. How do I correct this on the client or
server side.
Thank you.
--
"We do not lose our identity in our relations with others; in part, at least, we achieve our identity by those relations." Tony Blair, 1993
<?xml version="1.0" encoding="UTF-8" ?>
- <#> <wsdl:definitions
targetNamespace="http://localhost/axis/services/GraphingTools"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://localhost/axis/services/GraphingTools"
xmlns:intf="http://localhost/axis/services/GraphingTools"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://epic.acomp.usf.edu"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <#> <wsdl:types>
- <#> <schema targetNamespace="http://epic.acomp.usf.edu"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <#> <complexType abstract="true" name="AbstractCommon">
- <#> <sequence>
<element name="jceProvider" nillable="true" type="xsd:string" />
<element name="keyID" nillable="true" type="xsd:string" />
<element name="keySize" type="xsd:int" />
<element name="zipEntryName" nillable="true" type="xsd:string" />
</sequence>
</complexType>
- <#> <complexType name="EpicVisitor">
- <#> <complexContent>
- <#> <extension base="tns1:AbstractCommon">
- <#> <sequence>
<element name="XAxis" type="xsd:int" />
<element name="XAxis3DGroupValue" nillable="true"
type="impl:ArrayOf_soapenc_string" />
<element name="XAxisGroupType" type="xsd:int" />
<element name="XAxisGroupValue" nillable="true" type="xsd:string" />
<element name="XAxisIntervalRange" type="xsd:int" />
<element name="XLabel" nillable="true" type="xsd:string" />
<element name="YAxis" type="xsd:int" />
<element name="YAxis3DGroupValue" nillable="true"
type="impl:ArrayOf_soapenc_string" />
<element name="YAxisGroupType" type="xsd:int" />
<element name="YAxisGroupValue" nillable="true" type="xsd:string" />
<element name="YAxisIntervalRange" type="xsd:int" />
<element name="YLabel" nillable="true" type="xsd:string" />
<element name="ZAxis" type="xsd:int" />
<element name="ZAxis3DGroupValue" nillable="true"
type="impl:ArrayOf_soapenc_string" />
<element name="ZAxisGroupType" type="xsd:int" />
<element name="ZAxisGroupValue" nillable="true" type="xsd:string" />
<element name="ZAxisIntervalRange" type="xsd:int" />
<element name="ZLabel" nillable="true" type="xsd:string" />
<element name="cutoffPercentage" type="xsd:double" />
<element name="doDebug" type="xsd:boolean" />
<element name="finishDateTimeStr" nillable="true" type="xsd:string" />
<element name="finishTimeStamp" type="xsd:long" />
<element name="graphType" type="xsd:byte" />
<element name="inputIs3D" type="xsd:boolean" />
<element name="plotAxis2D" type="xsd:int" />
<element name="plotAxis2DType" type="xsd:int" />
<element name="plotAxis2DValue" nillable="true" type="xsd:string" />
<element name="plotAxis3D" type="xsd:int" />
<element name="plotAxis3DType" type="xsd:int" />
<element name="plotAxis3DValue" nillable="true" type="xsd:string" />
<element name="primaryDataSource" type="xsd:int" />
<element name="radius" type="xsd:int" />
<element name="startDateTimeStr" nillable="true" type="xsd:string" />
<element name="startTimeStamp" type="xsd:long" />
<element name="useTime" type="xsd:boolean" />
</sequence>
</extension>
</complexContent>
</complexType>
</schema>
- <#> <schema
targetNamespace="http://localhost/axis/services/GraphingTools"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <#> <complexType name="ArrayOf_soapenc_string">
- <#> <complexContent>
- <#> <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
- <#> <wsdl:message name="getGraphResponse">
<wsdl:part name="getGraphReturn" type="soapenc:base64Binary" />
</wsdl:message>
- <#> <wsdl:message name="getGraphRequest">
<wsdl:part name="input" type="tns1:EpicVisitor" />
<wsdl:part name="retmode" type="xsd:byte" />
</wsdl:message>
- <#> <wsdl:portType name="GraphingTools">
- <#> <wsdl:operation name="getGraph" parameterOrder="input retmode">
<wsdl:input message="impl:getGraphRequest" name="getGraphRequest" />
<wsdl:output message="impl:getGraphResponse" name="getGraphResponse" />
</wsdl:operation>
</wsdl:portType>
- <#> <wsdl:binding name="GraphingToolsSoapBinding"
type="impl:GraphingTools">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
- <#> <wsdl:operation name="getGraph">
<wsdlsoap:operation soapAction="" />
- <#> <wsdl:input name="getGraphRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost/axis/services/GraphingTools" use="encoded" />
</wsdl:input>
- <#> <wsdl:output name="getGraphResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost/axis/services/GraphingTools" use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <#> <wsdl:service name="GraphingToolsService">
- <#> <wsdl:port binding="impl:GraphingToolsSoapBinding"
name="GraphingTools">
<wsdlsoap:address
location="http://dante.acomp.usf.edu:8080/axis/services/GraphingTools" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>