5 Replies Latest reply on Mar 12, 2004 1:48 AM by greengao

    The AXIS engine could not find a target service

    Ron Jawanda Novice

      Question:

      Can I deploy a jws file.
      ?
      If so where do I put it.
      I put it in the deploy
      Like so.

      jboss-3.0.0RC1/server/default/deploy/GreetingService.jws



      Jboss Release Candidate 1
      Embedded Jetty error


      My client axis program runs and I get this.

      # java AxisClient
      The AXIS engine could not find a target service to invoke! targetService is null

      In Jboss i get this


      My Service is this
      22:53:14,633 INFO [JARDeployer] deploying non-jar/xml file: file:/data/swi/jboss-3.0.0RC1/server/default/deploy/GreetingService.jws
      22:53:14,637 INFO [MainDeployer] Successfully completed deployment of package:
      file:/data/swi/jboss-3.0.0RC1/server/default/deploy/GreetingService.jws
      22:53:14,654 INFO [URLDeploymentScanner] Started
      22:53:14,654 INFO [MainDeployer] Successfully completed deployment of package:
      file:/data/swi/jboss-3.0.0RC1/server/default/conf/jboss-service.xml
      22:53:14,655 INFO [Server] JBoss (MX MicroKernel) [3.0.0RC1 Date:200204150356]
      Started in 1m:1s:561ms
      22:54:16,511 ERROR [AxisServlet] Exception:
      The AXIS engine could not find a target service to invoke! targetService is null


      public class GreetingService {
      public String sayHello(String firstName, String lastName) {
      return "Hi " + firstName + "." + lastName + " ! Have a Good Day" ;
      }
      }


      My Axis client is this

      import org.apache.axis.client.Call ;
      import org.apache.axis.client.Service ;
      import org.apache.axis.encoding.XMLType ;
      import javax.xml.rpc.namespace.QName;
      import javax.xml.rpc.ParameterMode;



      public class AxisClient {
      public static void main( String[] args ) {
      try {
      String endpointURL = "http://localhost:8080/axis/GreetingService.jws" ;
      String methodName = "sayHello" ;
      Service service = new Service();
      Call call = (Call) service.createCall();
      call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
      call.setOperationName( methodName );
      call.addParameter( "firstName", XMLType.XSD_STRING, ParameterMode.IN );
      call.addParameter( "lastName", XMLType.XSD_STRING, ParameterMode.IN );
      call.setReturnType( XMLType.XSD_STRING );
      String response = (String) call.invoke(new Object[] {
      "Stephen", "Mitchell"}) ;
      System.out.println("The Response:") ;
      System.out.println(response) ;
      }catch( Exception e) {
      System.out.println(e) ;
      }
      }
      }



        • 1. Re: The AXIS engine could not find a target service
          Ron Jawanda Novice

          I have the same problem.
          Exact same code.
          RC2 Jboss 3

          I test the service by going to the url
          http://localhost/axis/GreetingService.jws
          and it says that it is a valid service.

          In my client I get a

          C:\data\working\java\src\ca\husky\jbaan>java AxisClient
          The AXIS engine could not find a target service to invoke! targetService is null

          Client code is same as above.

          I put the jws in my ear file under the .war file root.

          It seems to deploy properly (well... I think).
          Hope someone can help.
          Ron



          • 2. Re: The AXIS engine could not find a target service
            Ron Jawanda Novice

            Here is the stack trace after the client runs

            2002-05-22 16:41:43,295 INFO [org.jboss.jetty.Jetty] JBossAxisServlet: init
            2002-05-22 16:41:43,295 DEBUG [org.apache.axis.transport.http.AxisServlet] In servlet init
            2002-05-22 16:41:43,310 DEBUG [org.apache.axis.transport.http.AxisServlet] In doPost
            2002-05-22 16:41:43,326 DEBUG [org.apache.axis.transport.http.AxisServlet] MessageContext:org.apache.axis.MessageContext@f4cf6f
            2002-05-22 16:41:43,326 DEBUG [org.apache.axis.transport.http.AxisServlet] HEADER_CONTENT_TYPE:text/xml; charset=utf-8
            2002-05-22 16:41:43,326 DEBUG [org.apache.axis.transport.http.AxisServlet] HEADER_CONTENT_LOCATION:null
            2002-05-22 16:41:43,404 DEBUG [org.apache.axis.Message] Attachment support is enabled? true
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart ctor(FORM_INPUTSTREAM)
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.SOAPPart] Setting current message form to: FORM_INPUTSTREAM (currentMessage is now org.mortbay.jetty.servlet.ServletIn@863941)
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] Message:org.apache.axis.Message@190efc
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] Constants.MC_HOME_DIR:C:\data\swi\jboss-3.0.0RC2\server\default\tmp\deploy\_axis_\axis
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] Constants.MC_RELATIVE_PATH:/GreetingService.jws
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] HTTPConstants.MC_HTTP_SERVLETLOCATION:C:\data\swi\jboss-3.0.0RC2\server\default\tmp\deploy\_axis_\axis\WEB-INF
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] HTTPConstants.MC_HTTP_SERVLETPATHINFO:null
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] HTTPConstants.HEADER_AUTHORIZATION:null
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] Constants.MC_REMOTE_ADDR:10.0.38.195
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] securityProvider:null
            2002-05-22 16:41:43,420 DEBUG [org.apache.axis.transport.http.AxisServlet] HEADER_SOAP_ACTION:""
            2002-05-22 16:41:43,435 DEBUG [org.apache.axis.transport.http.AxisServlet] configPath:C:\data\swi\jboss-3.0.0RC2\server\default\tmp\deploy\_axis_\axis\WEB-INF
            2002-05-22 16:41:43,435 DEBUG [org.apache.axis.transport.http.AxisServlet] Invoking Axis Engine.
            2002-05-22 16:41:43,435 DEBUG [org.apache.axis.server.AxisServer] Enter: AxisServer::invoke
            2002-05-22 16:41:43,435 DEBUG [org.apache.axis.server.AxisServer] Calling default logic in AxisServer
            2002-05-22 16:41:43,435 DEBUG [org.apache.axis.server.AxisServer] AxisServer.invoke: Transport = 'http'
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.SimpleChain] Enter: SimpleChain::invoke
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.handlers.http.HTTPActionHandler] Enter: HTTPActionHandler::invoke
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.handlers.http.HTTPActionHandler] HTTP SOAPAction: ""
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.handlers.http.HTTPActionHandler] Exit: HTTPActionHandler::invoke
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.handlers.http.URLMapper] Enter: URLMapper::invoke
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.handlers.http.URLMapper] Exit: URLMapper::invoke
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.handlers.http.HTTPAuthHandler] Enter: HTTPAuthHandler::invoke
            2002-05-22 16:41:43,498 DEBUG [org.apache.axis.handlers.http.HTTPAuthHandler] Exit: HTTPAuthHandler::invoke
            2002-05-22 16:41:43,513 DEBUG [org.apache.axis.SimpleChain] Exit: SimpleChain::invoke
            2002-05-22 16:41:43,513 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart::getAsSOAPEnvelopecurrent form is FORM_INPUTSTREAM
            2002-05-22 16:41:43,560 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Pushing handler org.apache.axis.message.EnvelopeHandler@6c08b2
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.utils.NSStack] NSPush (0)
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start prefix mapping 'SOAP-ENV' -> 'http://schemas.xmlsoap.org/soap/envelope/'
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start prefix mapping 'xsd' -> 'http://www.w3.org/2001/XMLSchema'
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start prefix mapping 'xsi' -> 'http://www.w3.org/2001/XMLSchema-instance'
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start prefix mapping 'SOAP-ENC' -> 'http://schemas.xmlsoap.org/soap/encoding/'
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start element ['http://schemas.xmlsoap.org/soap/envelope/' Envelope]
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Pushing handler org.apache.axis.message.EnvelopeBuilder@8bbc98
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.utils.NSStack] NSPush (1)
            2002-05-22 16:41:43,576 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start element ['http://schemas.xmlsoap.org/soap/envelope/' Body]
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Pushing handler org.apache.axis.message.BodyBuilder@be0446
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.MessageElement] New MessageElement (org.apache.axis.message.MessageElement@aa282) named SOAP-ENV:Body
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.utils.NSStack] NSPush (2)
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start element ['' sayHello]
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.BodyBuilder] Enter: BodyBuilder.onStartChild()
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.MessageContext] Dispatching to a body namespace ''
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.MessageContext] MessageContext: setServiceHandler(null)
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.MessageElement] New MessageElement (org.apache.axis.message.RPCElement@bde3d2) named
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.BodyBuilder] Exit: BodyBuilder.onStartChild()
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Pushing handler org.apache.axis.message.SOAPHandler@b80d9b
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.utils.NSStack] NSPush (3)
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start element ['' firstName]
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Pushing handler org.apache.axis.message.SOAPHandler@856d3b
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.MessageElement] New MessageElement (org.apache.axis.message.MessageElement@c67b54) named firstName
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.MessageElement] xsi:type = 'xsd:string'
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.utils.NSStack] NSPush (4)
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End element ['' firstName]
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Popping handler org.apache.axis.message.SOAPHandler@856d3b
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Start element ['' lastName]
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Pushing handler org.apache.axis.message.SOAPHandler@caefb0
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.MessageElement] New MessageElement (org.apache.axis.message.MessageElement@3e1d25) named lastName
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.message.MessageElement] xsi:type = 'xsd:string'
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.utils.NSStack] NSPush (5)
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End element ['' lastName]
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Popping handler org.apache.axis.message.SOAPHandler@caefb0
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End element ['' sayHello]
            2002-05-22 16:41:43,591 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Popping handler org.apache.axis.message.SOAPHandler@b80d9b
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.message.BodyBuilder] Enter: BodyBuilder.onEndChild()
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.message.SOAPEnvelope] Adding body element to message...
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.message.BodyBuilder] Exit: BodyBuilder.onEndChild()
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End element ['http://schemas.xmlsoap.org/soap/envelope/' Body]
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Popping handler org.apache.axis.message.BodyBuilder@be0446
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End element ['http://schemas.xmlsoap.org/soap/envelope/' Envelope]
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] Popping handler org.apache.axis.message.EnvelopeBuilder@8bbc98
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End prefix mapping 'SOAP-ENV'
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End prefix mapping 'xsd'
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End prefix mapping 'xsi'
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End prefix mapping 'SOAP-ENC'
            2002-05-22 16:41:43,607 DEBUG [org.apache.axis.encoding.DeserializationContextImpl] End document
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'SOAP-ENV' - 'http://schemas.xmlsoap.org/soap/envelope/'
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPush (0)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'xsd' - 'http://www.w3.org/2001/XMLSchema'
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'xsi' - 'http://www.w3.org/2001/XMLSchema-instance'
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'SOAP-ENC' - 'http://schemas.xmlsoap.org/soap/encoding/'
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.startElement ['http://schemas.xmlsoap.org/soap/envelope/' Envelope]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element [http://schemas.xmlsoap.org/soap/envelope/]:Envelope
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPush (1)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['
            ']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.startElement ['http://schemas.xmlsoap.org/soap/envelope/' Body]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element [http://schemas.xmlsoap.org/soap/envelope/]:Body
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPush (2)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['
            ']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.startElement ['' sayHello]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element []:sayHello
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPush (3)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['
            ']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.startElement ['' firstName]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element []:firstName
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPush (4)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['Stephen']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.endElement ['' firstName]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element firstName
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPop (4)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['
            ']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.startElement ['' lastName]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element []:lastName
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPush (4)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['Mitchell']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.endElement ['' lastName]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element lastName
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPop (4)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['
            ']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.endElement ['' sayHello]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element sayHello
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPop (3)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['
            ']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.endElement ['http://schemas.xmlsoap.org/soap/envelope/' Body]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element SOAP-ENV:Body
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPop (2)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.characters ['
            ']
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.endElement ['http://schemas.xmlsoap.org/soap/envelope/' Envelope]
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element SOAP-ENV:Envelope
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.utils.NSStack] NSPop (1)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.message.SAXOutputter] SAXOutputter.endDocument
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.SOAPPart] Setting current message form to: FORM_SOAPENVELOPE (currentMessage is now <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
            <SOAP-ENV:Body>

            <firstName xsi:type="xsd:string">Stephen
            <lastName xsi:type="xsd:string">Mitchell

            </SOAP-ENV:Body>
            </SOAP-ENV:Envelope>)
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.SOAPPart] Exit: SOAPPart::getAsSOAPEnvelope
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.transport.http.AxisServlet] The AXIS engine could not find a target service to invoke! targetService is null
            2002-05-22 16:41:43,623 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart::getAsSOAPEnvelopecurrent form is FORM_SOAPENVELOPE
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.message.SOAPEnvelope] Adding body element to message...
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart::getAsBytes
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart::getAsString
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'SOAP-ENV' - 'http://schemas.xmlsoap.org/soap/envelope/'
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (0)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'xsd' - 'http://www.w3.org/2001/XMLSchema'
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'xsi' - 'http://www.w3.org/2001/XMLSchema-instance'
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'SOAP-ENC' - 'http://schemas.xmlsoap.org/soap/encoding/'
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element [http://schemas.xmlsoap.org/soap/envelope/]:Envelope
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (1)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.message.SOAPEnvelope] 0 headers
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element [http://schemas.xmlsoap.org/soap/envelope/]:Body
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (2)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'null' - 'http://schemas.xmlsoap.org/soap/envelope/'
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element [http://schemas.xmlsoap.org/soap/envelope/]:Fault
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (3)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'ns1' - 'http://xml.apache.org/axis/'
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element []:faultcode
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (4)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element faultcode
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPop (4)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element []:faultstring
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (4)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element faultstring
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPop (4)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element []:detail
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (4)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] Start element [http://xml.apache.org/axis/]:stackTrace
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] register 'ns2' - 'http://xml.apache.org/axis/'
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPush (5)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element ns2:stackTrace
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPop (5)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element detail
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPop (4)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element SOAP-ENV:Fault
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPop (3)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element SOAP-ENV:Body
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPop (2)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.encoding.SerializationContextImpl] End element SOAP-ENV:Envelope
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.utils.NSStack] NSPop (1)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Setting current message form to: FORM_STRING (currentMessage is now <?xml version="1.0" encoding="UTF-8"?>
            <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
            <SOAP-ENV:Body>
            <SOAP-ENV:Fault>
            <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.NoService
            The AXIS engine could not find a target service to invoke! targetService is null

            <ns2:stackTrace xmlns:ns2="http://xml.apache.org/axis/">The AXIS engine could not find a target service to invoke! targetService is null&#xd;
            at org.apache.axis.server.AxisServer.invoke(AxisServer.java:282)&#xd;
            at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:543)&#xd;
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)&#xd;
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:326)&#xd;
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:595)&#xd;
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1357)&#xd;
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1309)&#xd;
            at org.mortbay.http.HttpServer.service(HttpServer.java:744)&#xd;
            at org.jboss.jetty.Jetty.service(Jetty.java:527)&#xd;
            at org.mortbay.http.HttpConnection.service(HttpConnection.java:743)&#xd;
            at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916)&#xd;
            at org.mortbay.http.HttpConnection.handle(HttpConnection.java:758)&#xd;
            at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:145)&#xd;
            at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)&#xd;
            at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)&#xd;
            at java.lang.Thread.run(Thread.java:536)&#xd;
            </ns2:stackTrace>

            </SOAP-ENV:Fault>
            </SOAP-ENV:Body>
            </SOAP-ENV:Envelope>)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.transport.http.AxisServlet] Returned Content-Type:text/xml; charset=utf-8
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart::getAsBytes
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Setting current message form to: FORM_BYTES (currentMessage is now [B@2297d7)
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Exit: SOAPPart::getAsBytes
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart::getAsBytes
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Exit: SOAPPart::getAsBytes
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.transport.http.AxisServlet] Returned Content-Length:1969
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Enter: SOAPPart::getAsBytes
            2002-05-22 16:41:43,638 DEBUG [org.apache.axis.SOAPPart] Exit: SOAPPart::getAsBytes
            2002-05-22 16:41:43,685 DEBUG [org.apache.axis.transport.http.AxisServlet] Response sent.

            • 3. Re: The AXIS engine could not find a target service
              Ron Jawanda Novice

              My test was invalid
              http://localhost/axis/GreetingService.jws
              This responds with a "This is a Axis service" but it really is just a generic reply when you put ANYthin after the axis/
              ie:
              http://localhost/axis/junk.jws
              has the same response.
              I think I am not registering properly.
              I don't believe GreetingService.jws (no compiled) in the .war of the .ear file is correct.

              anybody know?
              Thanks
              Ron

              • 4. Re: The AXIS engine could not find a target service
                Ron Jawanda Novice

                Ok,
                You put them in a wsr file.
                Don't know how yet.
                Me Stupid.

                • 5. Re: The AXIS engine could not find a target service
                  greengao Newbie

                  put GreetingService.jws into
                  "\jboss-4.0.0DR2\server\default\deploy\jboss-net.sar\jboss-net.war"