Hi All,

We are using a custom web service framework tool that uses AXIS 1.1
Final, JiBX for (De)Serializing. When I run my  web service client
program that uses the stubs generated by my web service framework tool
to connect to a
third party web service endpoint address. I am getting below error.
I am not getting from where this error is originating from. Is it an
problem in the ways stubs are generated  or an error on the server
side. I dont know how to configure  AXIS TCPMonitor to monitor my
request soap messsage and  response soap message. Please suggest :

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: JAXRPCTIE01: caught exception while handling request:
unexpected element name: expected=SearchOrder_1,
actual={http://www.examples.com/types}SearchOrder_1
 faultActor:
 faultNode:
 faultDetail:
    {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: JAXRPCTIE01: caught exception while handling request:
unexpected element name: expected=SearchOrder_1,
actual={http://www.examples.com/types}SearchOrder_1
 faultActor:
 faultNode:
 faultDetail:

JAXRPCTIE01: caught exception while handling request: unexpected
element name: expected=SearchOrder_1,
actual={http://www.examples.com/types}SearchOrder_1
    at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
    at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
    at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at 
com.examples.www.wsdl.prototypequeryxml.ProtoTypeQueryXmlBindingStub.cruiseListRequest(ProtoTypeQueryXmlBindingStub.java:167)
    at 
prototypeservice.examples.PrototypeQueryClient.query(PrototypeQueryClient.java:76)
    at 
prototypeservice.examples.PrototypeQueryClient.main(PrototypeQueryClient.java:104)


JAXRPCTIE01: caught exception while handling request: unexpected
element name: expected=SearchOrder_1,
actual={http://www.examples.com/types}SearchOrder_1
    at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
    at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
    at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at 
com.examples.www.wsdl.prototypequeryxml.ProtoTypeQueryXmlBindingStub.cruiseListRequest(ProtoTypeQueryXmlBindingStub.java:167)
    at 
prototypeservice.examples.PrototypeQueryClient.query(PrototypeQueryClient.java:76)
    at 
prototypeservice.examples.PrototypeQueryClient.main(PrototypeQueryClient.java:104)
     
     
     
One worthy point to note is, if dont use my custom framework tool on
the client side and just use AXIS 1.2 RC2 WSDL2Java program generated
stubs
in my web service client program then I am perfectly getting valid
soap response output from the third party endpoint  address.
     
     
     
Thanks & Regards,
Kumar.

Reply via email to