• Post Reply Bookmark Topic Watch Topic
  • New Topic

The AXIS engine could not find a target service (Axis/BEA WL 6.1)  RSS feed

 
herve attia
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I successfully deploy Axis with BEA 6.1...I guess !
I can access from the browser (http://localhost:7001/axis/Calculator.jws )the Axis apche sample Calculator
But I tried to run the given client calculator client in samples/userguide/example2/CalcClient.java
it fails with the following exception :
Any clues ?
$java samples.userguide.example2.CalcClie
nt -p7001 add 2 5
Endpoint: http://localhost:7001/axis/Calculator.jws
Exception in thread "main" The AXIS engine could not find a target service to in
voke! targetService is
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:120)
at org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:671)
at weblogic.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:14
03)
at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(
XMLValidator.java:1444)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
.dispatch(XMLDocumentScanner.java:1274)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
at org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:204)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378)
at org.apache.axis.client.Call.invoke(Call.java:1268)
at org.apache.axis.client.Call.invoke(Call.java:1113)
at org.apache.axis.client.Call.invoke(Call.java:1043)
at org.apache.axis.client.Call.invoke(Call.java:1069)
at org.apache.axis.client.Call.invoke(Call.java:674)
at samples.userguide.example2.CalcClient.main(CalcClient.java:43)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!