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 Dave Overbeck <do...@turnkey.com> on 2006/01/23 22:16:18 UTC
Illegal constant pool type
Hello,
I'm calling an Axis 1.3 service from a .NET client, and getting the following error:
java.lang.ClassFormatError: com/.../PhysInvSoapImpl (Illegal constant pool type)
Can anyone give me a clue what this means? I feel like this service has grown more complicated than it needs to be -- all I want to do is send a few elementary parameters and get an array of matching records with a return status.
Thanks,
Dave
here is the soap request:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<phys_UPCRequest xmlns="http://turnkey.com/csa/src/jws/bevpak/PhysInv">
<phys_UPCData>
<UPC>805529940390</UPC>
<area>
</area>
<bin>
</bin>
<itemList/>
<size>0</size>
</phys_UPCData>
</phys_UPCRequest>
</soap:Body>
</soap:Envelope>
and the wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://turnkey.com/csa/src/jws/bevpak/PhysInv"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://turnkey.com/csa/src/jws/bevpak/PhysInv"
xmlns:intf="http://turnkey.com/csa/src/jws/bevpak/PhysInv"
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
elementFormDefault="qualified"
targetNamespace="http://turnkey.com/csa/src/jws/bevpak/PhysInv"
xmlns="http://www.w3.org/2001/XMLSchema">
<complexType name="Upcitemlist">
<sequence>
<element name="Item" type="xsd:long"/>
<element
maxOccurs="1"
minOccurs="0"
name="Size"
nillable="true"
type="xsd:string"/>
<element
maxOccurs="1"
minOccurs="0"
name="Descr"
nillable="true"
type="xsd:string"/>
<element name="Qpc" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="ArrayOfUpcitemlist">
<sequence>
<element
maxOccurs="unbounded"
minOccurs="0"
name="item"
type="impl:Upcitemlist"/>
</sequence>
</complexType>
<complexType name="phys_UPC">
<sequence>
<element name="UPC" type="xsd:long"/>
<element maxOccurs="1" minOccurs="0" name="area" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="bin" type="xsd:string"/>
<element
maxOccurs="1"
minOccurs="0"
name="itemList"
type="impl:ArrayOfUpcitemlist"/>
<element name="size" type="xsd:int"/>
</sequence>
</complexType>
<element name="phys_UPCRequest">
<complexType>
<sequence>
<element maxOccurs="1" minOccurs="0" name="phys_UPCData" type="impl:phys_UPC"/>
</sequence>
</complexType>
</element>
<element name="phys_UPCResponse">
<complexType>
<sequence>
<element name="phys_UPCResult" type="xsd:int"/>
<element maxOccurs="1" minOccurs="0" name="phys_UPCData" type="impl:phys_UPC"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="phys_UPCRequest">
<wsdl:part element="impl:phys_UPCRequest" name="phys_UPCRequest"/>
</wsdl:message>
<wsdl:message name="phys_UPCResponse">
<wsdl:part element="impl:phys_UPCResponse" name="phys_UPCResponse"/>
</wsdl:message>
<wsdl:portType name="PhysInvSoap">
<wsdl:operation name="phys_UPC" parameterOrder="phys_UPCRequest">
<wsdl:input message="impl:phys_UPCRequest" name="phys_UPCRequest"/>
<wsdl:output message="impl:phys_UPCResponse" name="phys_UPCResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PhysInvSoapSoapBinding" type="impl:PhysInvSoap">
<wsdlsoap:binding
style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="phys_UPC">
<wsdlsoap:operation
soapAction="http://turnkey.com/csa/src/jws/bevpak/PhysInv/phys_UPC"/>
<wsdl:input name="phys_UPCRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="phys_UPCResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PhysInv">
<wsdl:port binding="impl:PhysInvSoapSoapBinding" name="PhysInvSoap">
<wsdlsoap:address location="http://192.168.1.6:8080/axis/services/PhysInvSoap"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>