X-Application Version: 3.1.3, 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 3.3
JDK Version : 1.3.1
I’m using X-application version 3.1.3, Tamino version 3.1.1.4 and Tomcat 4.0.
I was trying on the Xapplication web services. Everything runs fine up to the point to execute simpleTest.cmd, it generates fault error. Is it because i’m using xapplication version 3.1.3?
--------------------------------------------
using CLASSPATH=c:\xWebsrv\lib\debug\xapplicationWebservices.jar;c:\soap-2_2\li
\soap.jar;c:\soap-2_2\lib\mail.jar;c:\soap-2_2\lib\activation.jar;c:\xapp\prere
uisites\lib\ext\xerces.jar;.;C:\Program Files\Common Files\Software AG\xts.jar;
:\Program Files\Common Files\Software AG\saglic.jar;C:\Program Files\Common Fil
s\Software AG\sagxds.jar;C:\j2sdk14\bin
--------------------------------------------
…Deploying the BuyerInterestInProperty service…
…Verify all services are there…
Deployed Services:
urn:BuyerInterestInProperty_Service
urn:TaminoSOAPService
--------------------------------------------
…BuyerInterestInProperty: add an Interest item in property XWS0001…
…
Args.length=3
****** X-Application WebService Client******
SOAP-router-URL = http://localhost:8080/soap/servlet/rpcrouter
Service-Props-URL = http://localhost:8080/xappservices/InterestServicePropertie
.xml
Interest-XML-URL = http://localhost:8080/xappservices/XWS0001Interest_1.xml
…calling WebService init() method…
nothing returned
…calling WebService addInterestInProperty() method…
Generated fault:
Fault Code = SOAP-ENV:Server
Fault String = Exception from service object: com.softwareag.xtools.xapplicat
on.businessdocument.BusinessDocument.getDescendant(Ljava/lang/String;)Lcom/soft
areag/xtools/xapplication/businessdocument/BusinessNode;
…Test Finished…
--------------------------------------------
…BuyerInterestInProperty: find the added Interest item…
…
Args.length=4
****** X-Application WebService Client******
SOAP-router-URL = http://localhost:8080/soap/servlet/rpcrouter
Service-Props-URL = http://localhost:8080/xappservices/InterestServiceProp
rties.xml
PropertyReference = XWS0001
Email = hweechoo.koh@si-asia.com
…calling WebService init() method…
nothing returned
…calling WebService getInterestInProperty() method…
nothing returned
…Test Finished…
--------------------------------------------
…BuyerInterestInProperty: add an Interest item in property XWS0001…
…
Args.length=3
****** X-Application WebService Client******
SOAP-router-URL = http://localhost:8080/soap/servlet/rpcrouter
Service-Props-URL = http://localhost:8080/xappservices/InterestServicePropertie
.xml
Interest-XML-URL = http://localhost:8080/xappservices/XWS0001Interest_2.xml
…calling WebService init() method…
nothing returned
…calling WebService addInterestInProperty() method…
Generated fault:
Fault Code = SOAP-ENV:Server
Fault String = Exception from service object: com.softwareag.xtools.xapplicat
on.businessdocument.BusinessDocument.getDescendant(Ljava/lang/String;)Lcom/soft
areag/xtools/xapplication/businessdocument/BusinessNode;
…Test Finished…
--------------------------------------------
…BuyerInterestInProperty: find this newly added Interest item…
…
Args.length=4
****** X-Application WebService Client******
SOAP-router-URL = http://localhost:8080/soap/servlet/rpcrouter
Service-Props-URL = http://localhost:8080/xappservices/InterestServiceProp
rties.xml
PropertyReference = XWS0001
Email = hweechoo.koh@si-asia.com
…calling WebService init() method…
nothing returned
…calling WebService getInterestInProperty() method…
nothing returned
…Test Finished…
--------------------------------------------
…BuyerInterestInProperty: delete the firstly added Interest item…
…
Args.length=4
****** X_Application WebService Client******
SOAP-router-URL = http://localhost:8080/soap/servlet/rpcrouter
Service-Props-URL = http://localhost:8080/xappservices/InterestServiceProp
rties.xml
PropertyReference = XWS0001
Email = hweechoo.koh@si-asia.com
…calling WebService init() method…
nothing returned
…calling WebService getInterestInProperty() method…
nothing returned
!!! cannot find interest !!!
…Test Finished…
--------------------------------------------
…BuyerInterestInProperty: delete the secondly added Interest item…
…
Args.length=4
****** X_Application WebService Client******
SOAP-router-URL = http://localhost:8080/soap/servlet/rpcrouter
Service-Props-URL = http://localhost:8080/xappservices/InterestServiceProp
rties.xml
PropertyReference = XWS0001
Email = hweechoo.koh@si-asia.com
…calling WebService init() method…
nothing returned
…calling WebService getInterestInProperty() method…
nothing returned
!!! cannot find interest !!!
…Test Finished…
---------------------------------------------
…Undeploy all BuyerInterestInProperty service…
…Verify that all services are gone
Deployed Services:
urn:TaminoSOAPService
----------- FINISHED ----------------------
With regards,
Hwee Choo
Hello,
yes, prerequisite for the X-Application Web Service is X-Application 3.1.2 or 3.1.1.
We consider to post an update to the tutorial using X-Application 4.1 and Apache Axis.
I will add a voting post to the X-Application Discussion Forum. If you are interested, please vote for an update.
Regards, Harald
Has X-application v4.1 been released?
not yet. Please check upcoming features of X-Application 4.1 for more details.
Regards, Harald