axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plesco, Craig \(.\)" <cple...@ford.com>
Subject Reading WSDL causes Web Service to Fail
Date Fri, 21 Jan 2005 20:05:31 GMT
We're having a bit of an odd problem.

If we read the WSDL online (using the ?wsdl parameter) before calling
the web service then the web service gives an error back to the client
and will not work again until restarting the axis (1.2) context under
Tomcat (ver 5).   If we do not read the WSDL online, it works great when
calling the web service.

Anyone have ideas?  The error and incoming soap envelope follow.

Error:

OOPS
No such operation 'in0'
AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode:
 faultString: No such operation 'in0'
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode:
 faultString: No such operation 'in0'
 faultActor:
 faultNode:
 faultDetail:

No such operation 'in0'
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:223)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:130)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseriali
zationContextImpl
.java:1053)
        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(Deserializatio
nContextImpl.java
:218)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:568)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:427)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2708)
        at org.apache.axis.client.Call.invoke(Call.java:2671)
        at org.apache.axis.client.Call.invoke(Call.java:2357)
        at org.apache.axis.client.Call.invoke(Call.java:2280)
        at org.apache.axis.client.Call.invoke(Call.java:1741)
        at
com.ford.gspas.ws.keyretriever.KeyRetrieverSoapBindingStub.getKeys(KeyRe
trieverSoapBindin
gStub.java:172)
        at
com.ford.gspas.ws.keyretriever.PHKeys.&lt;init&gt;(PHKeys.java:23)
        at com.ford.gspas.ws.keyretriever.PHKeys.main(PHKeys.java:43)


No such operation 'in0'
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:223)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:130)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseriali
zationContextImpl
.java:1053)
        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(Deserializatio
nContextImpl.java
:218)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:568)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:427)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2708)
        at org.apache.axis.client.Call.invoke(Call.java:2671)
        at org.apache.axis.client.Call.invoke(Call.java:2357)
        at org.apache.axis.client.Call.invoke(Call.java:2280)
        at org.apache.axis.client.Call.invoke(Call.java:1741)
        at
com.ford.gspas.ws.keyretriever.KeyRetrieverSoapBindingStub.getKeys(KeyRe
trieverSoapBindin
gStub.java:172)
        at com.ford.gspas.ws.keyretriever.PHKeys.<init>(PHKeys.java:23)
        at com.ford.gspas.ws.keyretriever.PHKeys.main(PHKeys.java:43)


Soap envelope (as shown in SOAPMonitor):

<?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>
    <in0 xmlns="urn:GSPASeMSIntegration">
      <gUID
xmlns="http://keyretriever.gspas.ford.com">67db044b99074be6b554a367fc677
3c9</gUID>
      <familyCode
xmlns="http://keyretriever.gspas.ford.com">CAK</familyCode>
      <studyNumber xmlns="http://keyretriever.gspas.ford.com" />
      <studyNodeID
xmlns="http://keyretriever.gspas.ford.com">0</studyNodeID>
      <studySeq xmlns="http://keyretriever.gspas.ford.com">0</studySeq>
      <modelYear
xmlns="http://keyretriever.gspas.ford.com">2005</modelYear>
      <plantCode
xmlns="http://keyretriever.gspas.ford.com">WAY</plantCode>
      <keyType xmlns="http://keyretriever.gspas.ford.com">PH</keyType>
    </in0>
  </soap:Body>
</soap:Envelope>


----- 
Craig Plesco 
Technical Architect 
Ford Manufacturing Engineering Systems 
cplesco@ford.com / 313-390-7838 / ROB 2NW TBS



Mime
View raw message