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 "Horninger, Joe (Contr) (Mission Systems)" <Jo...@ngc.com> on 2007/09/21 21:48:35 UTC

Axis Fault that I haven't seen before

So, A little background on what I'm trying to accomplish...

 

I've written my own proxy to call TestDataService.  I'm currently in the
process of Test-Fix-Test on it, before I submit it for formal testing.
I'm calling it with a bunch of data that I've got hard coded in my
J-Unit test.  The TestDataService was supplied by a third party and I am
unable to modify the WSDL or Schemas for it.

 

Does anyone have any ideas as to what the problem here would be?

 

AxisFault

 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException

 faultSubcode: 

 faultString: Couldn't find an appropriate operation for XML QName
{http://test.com/v1.0/webservice/TestDataService}addDataOperationRequest

 faultActor: 

 faultNode: 

 faultDetail: 

      {http://xml.apache.org/axis/}hostname:hq-con-dc-01

 

Couldn't find an appropriate operation for XML QName
{http://test.com/v1.0/webservice/TestDataService}addDataOperationRequest

      at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:222)

      at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:129)

      at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializati
onContext.java:1087)

      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)

      at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)

      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)

      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)

      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)

      at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

      at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

      at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon
text.java:227)

      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

      at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java
:796)

      at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

      at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)

      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

      at org.apache.axis.client.Call.invoke(Call.java:2767)

      at org.apache.axis.client.Call.invoke(Call.java:1792)

 

aTdHvAaNnKcSe,

 

Joe


RE: Axis Fault that I haven't seen before

Posted by "Horninger, Joe (Contr) (Mission Systems)" <Jo...@ngc.com>.
I think I have a solution, but I figured I'd share.  The wsdl from the
deployed war is out of sync with the wsdl that I'm generating all my
classes from.

 

________________________________

From: Horninger, Joe (Contr) (Mission Systems)
[mailto:Joe.Horninger@ngc.com] 
Sent: Friday, September 21, 2007 12:49 PM
To: axis-user@ws.apache.org
Subject: Axis Fault that I haven't seen before

 

So, A little background on what I'm trying to accomplish...

 

I've written my own proxy to call TestDataService.  I'm currently in the
process of Test-Fix-Test on it, before I submit it for formal testing.
I'm calling it with a bunch of data that I've got hard coded in my
J-Unit test.  The TestDataService was supplied by a third party and I am
unable to modify the WSDL or Schemas for it.

 

Does anyone have any ideas as to what the problem here would be?

 

AxisFault

 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException

 faultSubcode: 

 faultString: Couldn't find an appropriate operation for XML QName
{http://test.com/v1.0/webservice/TestDataService}addDataOperationRequest

 faultActor: 

 faultNode: 

 faultDetail: 

      {http://xml.apache.org/axis/}hostname:hq-con-dc-01

 

Couldn't find an appropriate operation for XML QName
{http://test.com/v1.0/webservice/TestDataService}addDataOperationRequest

      at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:222)

      at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:129)

      at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializati
onContext.java:1087)

      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)

      at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)

      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)

      at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)

      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)

      at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

      at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)

      at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon
text.java:227)

      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

      at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java
:796)

      at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

      at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:32)

      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

      at org.apache.axis.client.Call.invoke(Call.java:2767)

      at org.apache.axis.client.Call.invoke(Call.java:1792)

 

aTdHvAaNnKcSe,

 

Joe