0 Replies Latest reply on Jul 28, 2006 1:41 PM by georgesparks

    Web service fault:  could not find a target service

      I'm attempting to invoke a method on a web service. I instantiate the web service and call the method as indicated in the first three lines of the attached code (where sf_cred is a simple structure).

      The first two lines are fine, but the call to the "login" method produces the following error:

      Could not perform web service invocation "login".
      Here is the fault returned when invoking the web service operation:

      faultCode: { http://xml.apache.org/axis/}Server.NoService}
      faultString: The AXIS engine could not find a target service to invoke! targetService is
      { http://xml.apache.org/axis/}stackTrace:The AXIS engine could not find a target service to invoke! targetService is
      at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
      at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
      at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87)
      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...

      Can anyone point me to the cause of this error, either with something missing in my code or with a problem in the WSDL (provided in attached code)?