Xapplication Web Services

X-Application Version: 4.1.1
Tamino Version : 4.1.4.1
Platform : Win2k
WebContainer : Tamcat 4.1.24
JDK Version : 1.4.1_03

I was trying to install Xapplication Web Services. Everything runs fine up to the point to execute deployServices_Session.cmd.

I got the follow error message!

-----------------------------------------------

Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient

Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient

Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient

Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient

------------------------------------------

Can anyone help me out in this?

Regards, Wypych

Hi,

You need to install Apache Axis 1.1 and put the axis jar files into Classpath.

Hope this helps.

Thank you Bill Leeney!

I´ve installed Apache Axis 1.1 but I missed the Axis jar files into Classpath, so I correct my Classpath, but I still having an error message.

Have you got any ideas?

Regards, Wypych


-----------------------------------------

C:\PROGRA~1\SOFTWA~1\Tamino\XAPPLI~1\WEBSER~1>deployServices_Session.cmd
--------------------------------------------
using CLASSPATH=C:\Program Files\Software AG\Tamino\xapplication_411\WebServices
\lib\debug\xapplicationWebservices.jar;C:\Program Files\Software AG\Tamino\xappl
ication_411\prerequisites\lib\ext\xercesImpl.jar;C:\Program Files\Apache Group\a
xis-1_1\lib\axis.jar;C:\Program Files\Apache Group\axis-1_1\lib\axis-ant.jar;C:<BR>Program Files\Apache Group\axis-1_1\lib\commons-discovery.jar;C:\Program Files\A
pache Group\axis-1_1\lib\commons-logging.jar;C:\Program Files\Apache Group\axis-
1_1\lib\jaxrpc.jar;C:\Program Files\Apache Group\axis-1_1\lib\log4j-1.2.8.jar;C:
\Program Files\Apache Group\axis-1_1\lib\saaj.jar;C:\Program Files\Apache Group<BR>axis-1_1\lib\wsdl4j.jar;C:\Program Files\Apache Group\axis-1_1\lib\xercesImpl.ja
r;C:\Program Files\Apache Group\axis-1_1\lib\xml-apis.jar;;C:\Program Files\Soft
ware AG\Tamino\xapplication_411\WebServices\webapps\services;XAPP_SERVICES;.;C:<BR>Program Files\Common Files\Software AG\xts.jar;C:\Program Files\Common Files\Sof
tware AG\sagxds.jar;C:\Program Files\Common Files\Software AG\saglic.jar;C:\Prog
ram Files\Common Files\Software AG\sagxds.jar;
--------------------------------------------
…Deploying the BuyerInterestInProperty service…
Processing file C:\Program
Exception:: java.io.FileNotFoundException: C:\Program (The system cannot find th
e file specified)
…Deploying the SellerInterestInProperty service…
Processing file C:\Program
Exception:: java.io.FileNotFoundException: C:\Program (The system cannot find th
e file specified)
…Deploying the SellerProperty service…
Processing file C:\Program
Exception:: java.io.FileNotFoundException: C:\Program (The system cannot find th
e file specified)
…Verify all services are there…



























http://xml.apache.org/axis/wsdd/
















Hi Wypych,

Your problem seems to be related to blanks in your pathname: C:\Program Files\Software AG\Tamino\xapplication_411…

One way to get around this is to put quotes around the pathnames in the Services_Session.cmd:

java org.apache.axis.client.AdminClient "%XAPPSERVICES_HOME%\deploy\deploy_BuyerInterestInProperty_Session.wsdd"

Best Regards,
Christine

Thank you Christine!

Now “deployServices_Session.cmd” seems to be ok, but the output of “SimpleTest.cmd” is not ok.

What does “Exception in thread “main” AxisFault” means? Is it another configuration error?

I got the follow error message!

-------------------------------

using CLASSPATH=C:\Program Files\Software AG\Tamino\xapplication_411\WebServices
\lib\debug\xapplicationWebservices.jar;C:\Program Files\Software AG\Tamino\xappl
ication_411\prerequisites\lib\ext\xercesImpl.jar;C:\Program Files\Apache Group\a
xis-1_1\webapps\axis\WEB-INF\lib\axis.jar;C:\Program Files\Apache Group\axis-1_1
\webapps\axis\WEB-INF\lib\axis-ant.jar;C:\Program Files\Apache Group\axis-1_1\we
bapps\axis\WEB-INF\lib\commons-discovery.jar;C:\Program Files\Apache Group\axis-
1_1\webapps\axis\WEB-INF\lib\wsdl4j.jar;C:\Program Files\Apache Group\axis-1_1\w
ebapps\axis\WEB-INF\lib\xercesImpl.jar;C:\Program Files\Apache Group\axis-1_1\we
bapps\axis\WEB-INF\lib\xml-apis.jar;C:\Program Files\Apache Group\axis-1_1\webap
ps\axis\WEB-INF\lib\commons-logging.jar;C:\Program Files\Apache Group\axis-1_1\w
ebapps\axis\WEB-INF\lib\jaxrpc.jar;C:\Program Files\Apache Group\axis-1_1\webapp
s\axis\WEB-INF\lib\saaj.jar;;.;C:\Program Files\Common Files\Software AG\xts.jar
;C:\Program Files\Common Files\Software AG\sagxds.jar;C:\Program Files\Common Fi
les\Software AG\saglic.jar;C:\Program Files\Common Files\Software AG\sagxds.jar;

--------------------------------------------
…BuyerInterestInProperty: add an Interest item in property XWS0001…

Args.length=2

****** X-Application WebService Client******

Service-Props-URL = http://localhost:8080/xappservices/InterestServiceProperties
.xml
Interest-XML-URL = http://localhost:8080/xappservices/XWS0001Interest_1.xml

…calling WebService init() method…
Exception in thread “main” AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:

java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.AddIn
terestInProperty.main(AddInterestInProperty.java:55)


java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.AddIn
terestInProperty.main(AddInterestInProperty.java:55)
--------------------------------------------
…BuyerInterestInProperty: find the added Interest item…

Args.length=3

****** X-Application WebService Client******

Service-Props-URL = http://localhost:8080/xappservices/InterestServicePrope
rties.xml
PropertyReference = XWS0001
Email = rogerio.wypych@consist.com.br

…calling WebService init() method…
Exception in thread “main” AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:

java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.GetIn
terestInProperty.main(GetInterestInProperty.java:51)


java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.GetIn
terestInProperty.main(GetInterestInProperty.java:51)
--------------------------------------------
…BuyerInterestInProperty: delete the firstly added Interest item…

Args.length=3

****** X_Application WebService Client******

Service-Props-URL = http://localhost:8080/xappservices/InterestServicePrope
rties.xml
PropertyReference = XWS0001
Email = rogerio.wypych@consist.com.br

…calling WebService init() method…
Exception in thread “main” AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:

java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.Delet
eInterestInProperty.main(DeleteInterestInProperty.java:54)


java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.Delet
eInterestInProperty.main(DeleteInterestInProperty.java:54)
--------------------------------------------
…BuyerInterestInProperty: delete the secondly added Interest item…

Args.length=3

****** X_Application WebService Client******

Service-Props-URL = http://localhost:8080/xappservices/InterestServicePrope
rties.xml
PropertyReference = XWS0001
Email = rogerio.wypych@consist.com.br

…calling WebService init() method…
Exception in thread “main” AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:

java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.Delet
eInterestInProperty.main(DeleteInterestInProperty.java:54)


java.lang.reflect.InvocationTargetException
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
alizationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar
ser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespa
ceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind
er.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
tionContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.softwareag.xtools.xapplication.examples.webservices.clients.stubs
.BuyerInterestInPropertySoapBindingStub.init(BuyerInterestInPropertySoapBindingS
tub.java:221)
at com.softwareag.xtools.xapplication.examples.webservices.services.Buye
rInterestInPropertyProxy.init(BuyerInterestInPropertyProxy.java:33)
at com.softwareag.xtools.xapplication.examples.webservices.clients.Delet
eInterestInProperty.main(DeleteInterestInProperty.java:54)
----------- FINISHED ----------------------

Regards,

Wypych

Hi Wypych,

The SOAP call to initialize the BuyerInterestInproperty service failed.

Do the urls
http://localhost:8080/xappservices/XWS0001Interest_1.xml and http://localhost:8080/xappservices/InterestServiceProperties work properly in your browser?

Best Regards,
Christine

Hi Christine,

The ( http://localhost:8080/xappservices/XWS0001Interest_1.xml ) url seems to be ok, as you can see below.

<?xml version="1.0" ?>
-
XWS0001
Example First Interest
1-222-333-44444
rogerio.wypych@consist.com.br
450000
Not before December


----------------------------------------------

But the ( http://localhost:8080/xappservices/InterestServiceProperties ) is returning an error (HTTP Status 404)

Best Regards,
Wypych

sorry, there was a typo in my previous mail. I meant http://localhost:8080/xappservices/InterestServiceProperties.xml

Does this url above work?

Best Regards,
Christine

Hi Christine,

This url is ok!

Best Regards,
Wypych

Hi Wypych,

At a first glance also your classpath settings look fine. Sorry the only ideas I have at the moment are:

Which JDK version are you using?
Which Tomcat version?

Does the axis installation testpage http://localhost:8080/axis/happyaxis.jsp report any errors?

Have you tried to run one of the Axis samples?

Best Regards,
Christine

Hi Christine,

I´m using:
- Tomcat : 4.1.24
- JDK Version : 1.4.1_03

The axis installation testpage http://localhost:8080/axis/happyaxis.jsp seems to be ok, as you can see in the attached file.

Best Regards,
Wypych
Axis_Happiness_Page.htm (5.85 KB)

Hi Wypych,

I could reproduce this exception: It’s related Tomcat 4.1.24 version. This Tomcat version comes with a different xercesImpl.jar in the jakarta-tomcat-4.1.24\common\endorsed\ directory.

XApplication needs Xerces 2.1. See http://tamino.forums.softwareag.com/viewtopic.php?p=13883

Best Regards,
Christine

Hi Christine,

Thanks a lot for your help!
Everything seems to be ok.

Best Regards,
Wypych