Re: OracleAS
On Wednesday 03 May 2006 16:21, Marco Aurélio Seraphim da Silva wrote: > Hi folks, > > Have someone here use Axis with Oracle Application Server? > > It's possible to do? And how can I do it? This link http://zatoichi.homeip.net/~brain/wiki/index.php/Howto_Axis_on_Oracle_Application_Server_OC4J is about the problems i experienced with Axis 1.2 and Oracle OC4J 9.0.4 sorry, the document it's in Italian... you can try with some translators http://66.249.93.104/translate_c?hl=en&ie=UTF-8&oe=UTF-8&langpair=it%7Cen&u=http://zatoichi.homeip.net/~brain/wiki/index.php/Howto_Axis_on_Oracle_Application_Server_OC4J Try to get a look on oracle metalink too. Ilias -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - PGP Key-ID:0x6A951A45 * http://zatoichi.homeip.net - https://www.universibo.unibo.it */ pgpFVVhFdsGyp.pgp Description: PGP signature
Re: Axis 1.2.1 to .NET Interoperability Question
On Monday 18 July 2005 07:23, Leslie Tighe wrote: > Hello, > I have webservice created with Axis 1.2.1 and that I am trying to consuming > in .NET (VB) using the Microsoft provided tools. While I am able to consume try adding a non empty soapAction="" in the WSDL you feed to .NET Ilias -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://zatoichi.homeip.net - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ pgpMSW7htGq2N.pgp Description: PGP signature
Re: Unable to tcpmon remote web services
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 13 May 2005 17:08, Yen wrote: > and ofcourse set below properties in my client program before running > it since I am behind a firewall I think proxy configuration must be setted in tcpmon dialog. Ilias - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFChMcg+CP4pmqVGkURAroQAJ9L8Jm6l4XPwIRhEutpJaYX90D4LACeIje9 snc0lguWJSfWtpBxC4XDbIQ= =8XcM -END PGP SIGNATURE-
auto generated WSDL with soapAction OPERATION
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is possible to set in the autogenerated WSDL ( the one retrieved with ?wsdl ) the soapAction value at the equivalent Java2WSDL OPERATION ? Does exists any WSDD parameter ? Thank you, Ilias - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCdjgc+CP4pmqVGkURAngYAJ9nPXU77idcsZJyUidaT2T1chJjuACfbnj/ 2nqGHPS0hBWYDoyxGXEE/JE= =4/Zx -END PGP SIGNATURE-
Re: axis on OC4J Distributed Configuration Management?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 08 April 2005 14:20, Ilias Bartolini wrote: > done! It wasn't as easy as I belived. I've finally managed to make Axis work on OC4J with Distributed Configuration Management!! In the attachment there is a little description with additional info about the installing process. (which i've written for internal purposes) I hope it can be useful anyway. Sorry it's in Italian, maybe someone can traslate it in English :) Ilias - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCaQjJ+CP4pmqVGkURAnlVAJ9QYMMAqveMOhBMJbKLxCQOLgglZACbBDNX b1rcN0pMGy1mYH+hhi5x8Gw= =tbDq -END PGP SIGNATURE- Title: Installazione Axis su Oracle Application Server Axis on Oracle AS installation HowTo Dopo tanti tentativi, in relatà l'installazione è molto non è più molto semplice: Scaricare e scompattare Axis: Può essere trovato sul sito di riferimento: http://ws.apache.org/axis/ Scompattare in una directory qualsiasi <$AXIS_HOME> Nota: ad oggi (11/04/2005) è molto consigliabile usare la versione 1.2RC3, rispetto alla 1.1 perchè anche se non stabile contiene molti miglioramenti riguardanti WS-Interp. Cmq la versioe 1.2 definitiva dovrebbe uscire nel giro di un paio di settimane. Creare il pacchetto WAR Axis: Semplicemente andare nella directory <$AXIS_HOME>/webapps/axis/ ed eseguire il comado jar cvf nomeArchivioAxis12_RC3.war . Installare il WAR utilizzando l'Oracle Entrprise Manager: nomeIstanza->nomeComponente->Applications->Deploy WAR file Testare l'installazione: Andando all'indirizzo http://nome_host:porta/path_axis_container/happyaxis.jsp è possibile verificare il corretto funzionamento dell'applicazione. Eventualmente verrà segnalata l'assenza di alcune librerie .jar (opzionali o meno) che possono essere scaricate dai link indicati nella pagina. Le librerie vanno messe in <$AXIS_HOME>/webapps/axis/WEB-INF/lib/ e si riparte dal punto 2. Se tutto va bene l'installazione di Axis è terminata. Modifica Parser SAX A questo punto sugli application server Oracle, nonostante i passi precedenti Axis genererà ancora degli errori causati dal Parser XML Oracle incluso nell'application server. Bisogna quindi sostituire quest'ultimo con Apache Xerces2 scaricabile da http://xml.apache.org/xerces2-j/. Si noti che questa modifica non viene supportata da Oracle! Istruzioni relative alla vecchia versione deprecata di Xerces1 possono essere trovate qui (domanda 25) A differenza deel istruzioni indicate nel link sopra le ultime versioni di Xerces2 necessiano due jar nel path: "xercesImpl.jar" e "xml-api.jar" che si trovano nel pacchetto di Xerces La modifica può essere eseguita aggiungendo in OracleEnterpriseManager->nomeIstanzaApplicationServer->Administration->ServerProperties->JavaOptions -Xbootclasspath/a:/directory_path_xerces/xercesImpl.jar:/directory_path_xerces/xml-apis.jare riavviando l'intera istanza di OC4J. Nota: se il directory_path è troppo lungo l'Enterprise Manager non è in grado di gestire il parametro e si generano altri errori. Test Parser SAX Si può verificare il corretto funzionamento andando all'indirizzo: http://nome_host:porta/path_axis_container/services/AdminService?wsdl è verificando che il wsdl venga generato (con il parser oracle viene generata un'eccezione). Ulteriore verifica si può eseguire sempre nella pagina happyaxis.jsp controllando che in "Examining Application Server"->"XML Parser" compaia "org.apache.xerces.jaxp.SAXParserImpl" Ulteriori dettagli su come installare Axis si possono trovare nella Installation Guide: http://ws.apache.org/axis/ Per usare gli strumenti di amministazione Axis installato sul server: Se si vogliono usare direttamente gli strumenti di deploy Axis sul server è necessario installare tutto il paccheto Axis in una directory e seguire i seguenti passi: export AXIS_HOME=/path_directory_installazione_axis/ export AXIS_LIB=$AXIS_HOME/lib export AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/commons-logging.jar :$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar :$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar per poi poter utilizzare gli strumenti Axis di deploy dei servizi, esempio: java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient -lhttp://nome_host:porta/axis/services/AdminService deploy.wsdd Ulteriori dettagli su come usare Axis e il suo sistema di deploy dei servizi si possono trovare nella User's Guide: http://ws.apache.org/axis/java/user-guide.html Ilias Bartolini - 19/04/2005
Re: Java2WSDL generates non valid Schema! (element maxOccours)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 22 April 2005 16:02, Ilias Bartolini wrote: > I've deployed a service which java methods return an array of objects. > Signature follows: > public Facolta[] getFacolta(String language) throws RemoteException {...} ah... don't know if the additional information is usefull: all Java objects are mapped with BeanMapping. Ilias - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCaQZ7+CP4pmqVGkURAn3+AJ96zGgAVsMhsO39xjpVsee807CM7ACeNZIl 1Wq9lmzauzXqGBfZ4bwOqMc= =tknd -END PGP SIGNATURE-
Java2WSDL generates non valid Schema! (element maxOccours)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using Axis1.2RC3 I don't know if it's a known bug, or maybe is not a bug. ...the problem is the follwing: I've deployed a service which java methods return an array of objects. Signature follows: public Facolta[] getFacolta(String language) throws RemoteException {...} The autogenerated WSDL contains the following schema snippet: - http://mid2vm.unibo.it:7782/axis12RC3/services/guideDocument";> http://guide.www.unibo.it"/> [...cut...] - AS described in http://www.w3.org/TR/xmlschema-1/#declare-element maxOccours attribute isn't allowed in XMLSchema if descends directly from !!! Is this a bug? Is this problem already known? Will be resolved in 1.2 release or is already resolved on CVS? If you need more information about my service definition, just ask. thank you for any answer, Ilias - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCaQQT+CP4pmqVGkURAnXBAJ9UIGhR4G5mPqpkQ0kR8MrCM2CWMQCdHJxy MOI4sWyqouCG5qn8NpvhG60= =V7xf -END PGP SIGNATURE-
Axis 1.2RC3 and oracle XML paser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using axis on an, oracle application server 10g. When reading the wsdl of a deployed service the following error happens: - - AXIS error: Sorry, something seems to have gone wrong... here are the details: Fault - ; nested exception is: oracle.xml.parser.v2.XMLDOMException: Implementation does not support the object requested. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: oracle.xml.parser.v2.XMLDOMException: Implementation does not support the object requested. faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:timmi.unibo.it - - It's an axis problem, or a oracle pasers problem? Anyone knows how to force axis using the Xerces paser, instead of oracle one? I've put Xerces in WEB-INF/lib directory but got the same error. - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCXRfy+CP4pmqVGkURAt49AJ0dPazpiu6kukEy7hgZYzLkLRcVAACfagfE GVCuujzdPzv4DBItD0+3rHs= =2lCM -END PGP SIGNATURE-
Re: axis on OC4J Distributed Configuration Management?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 08 April 2005 13:24, Ilias Bartolini wrote: > helps and suggestions are wolcome. > Ilias done! I've simply built manually a .war of the application deployed in Axis in my Tomcat and then deployed the .war on OC4J using the Oracle Entrprise Manager Graphical Interface. - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCVncG+CP4pmqVGkURAoucAJ4houOmGbbYu/uL94JCOgJIQ6J3mQCdFGiD hymJiq6SffBYQROOleAmmgQ= =hW9w -END PGP SIGNATURE-
axis on OC4J Distributed Configuration Management?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using axis 1.2_RC3. Anyone has experiencies of deploing axis on a OC4J Application Server with Distributed Configuration Management? I've tried to follw theese (http://radio.weblogs.com/0132036/2003/11/16.html) instructions in my own ApplicationServer/Istance/Component, but i have no error output nor any http output from my apllication. helps and suggestions are wolcome. Ilias - -- /** * Reply to: ilias.bartolini(at)studio.unibo.it * ICQ# 42797710 - FeSToso n°143 - PGP Key-IDs:0x6A951A45 * http://www.brainetwork.net/homepage - https://www.universibo.unibo.it * http://www.icalx.com/html/brain79/week.php?cal=brain79.public */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCVmnZ+CP4pmqVGkURAngoAJ9z2C1//AXJ2fAznpSDc3mMNjdfBQCfdow7 kvtuXhtKpSpP8VEsEsdxOpc= =mlaS -END PGP SIGNATURE-