Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Wrong Method Name Passed !  RSS feed

 
Josweth Reddy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,

The below is the Exception when I was trying to invoke the webservice from Client Program. Please let me know where I was mistaken.How to set the method name in the client program. What might be the cause for the same.

AxisFault

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

faultSubcode:

faultString: java.lang.Exception: Wrong Method Name Passed

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}hostname:ccxapp-dev-1


java.lang.Exception: Wrong Method Name Passed

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

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

at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.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$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

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

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 
Ugender Rekulampally
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Josweth,
I am not sure what causing that problem since you didn't show us any code.

But here is the client side code that shows you how to call webservices.

The webservice name is "recommend" which takes a String argument and returns a String.





Hope this helps.

Thanks,
Ugender
[ December 01, 2007: Message edited by: Ugender Rekulampally ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!