HI Alek, thank you for answer.
I copy all my wsif-2.0 folder from my computer to my home folder at
AIX server.
I executed classpath.sh run set, to define the CLASSPATH env.
variable, and all the CLASSPATH references are relative from wsif-2.0
folder, therefor i,m using the same jar files in both computers.
The following is my CLASSPATH=
build/lib/wsif-j2c.jar:build/lib/wsif.jar:build/classes:build/samples:build/tests:lib/activation.jar:lib/apache_soap-2_3_1.jar:lib/axis-1_0.jar:lib/commons-discovery.jar:lib/commons-logging.jar:lib/j2ee.jar:lib/jaxrpc-1_1.jar:lib/junit-3_8_1.jar:lib/log4j-1_2_4.jar:lib/mail.jar:lib/optional-1_5_1.jar:lib/qname-from-wsdl4j-20021124.jar:lib/saaj-1_1.jar:lib/servlet-2_2.jar:lib/soap.jar:lib/soaprmi-1_1.jar:lib/wsdl4j-20021124.jar:lib/xercesImpl-2_2_1.jar:lib/xmlParserAPIs-2_2_1.jar:.
The following files are my web services wsdl's generated by
websphere.
(See attached file: ConsultaLdapService.wsdl)(See attached file:
ConsultaLdapEJB.wsdl)(See attached file: ConsultaLdapBinding.wsdl)(See
attached file: ConsultaLdap.wsdl)
Thanks for all!
(Embedded image moved to file: pic05705.jpg)
Aleksander
Slominski
<[EMAIL PROTECTED] Para
.edu> [email protected]
cc
30/12/2004 17:35
Asunto
Re: WSIF ERROR WSIF0002E
Por favor,
responda a
[EMAIL PROTECTED]
e.org
[EMAIL PROTECTED] wrote:
>
>
>
>Good Afternoon.
>
> I�m using DynamicInvoker from WSIF 2.0 to consult a Web Service in a
>WAS 5.0.
>
> I configured and used it in my workstation with microsoft windows XP
>and runs very well. Show you the command line to execute it:
> java conexion.client.dynamic.DynamicInvoker ConsultaLdapService.wsdl
>buscarCedulaPorNombreCuenta resultado.txt.
>
> But I have a problem when i try to execute it on AIX/OS, before
>executed it, i executed the command dos2unix to transform wsdl file to
unix
>format and then execute the same comand line a taked the following error:
>
>
did you use exactly the same WSIF and WSDL4J jar files? any other
differences on CLASSPATH? did you try with different JDK versions - it
may be Xerces JAR file related problem.
HTH,
alek
> - WSIF0007I: Using WSIFProvider
>'org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxis'
>for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soap/'
>Leyendo documento WSDL de 'ConsultaLdapService.wsdl'
>- WSIF0002E: A failure occurred in loading WSDL from
>'ConsultaLdapService.wsdl'
>Exception in thread "main" WSDLException: faultCode=OTHER_ERROR: Unable to
>resolve imported document at 'ConsultaLdapService.wsdl'.:
>java.lang.NullPointerException
> at
>org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(ElementNode2.java:432)
> at
com.ibm.wsdl.util.xml.DOMUtils.getNamespaceURIFromPrefix(Unknown
>Source)
> at
com.ibm.wsdl.util.xml.DOMUtils.getNamespaceURIFromPrefix(Unknown
>Source)
> at com.ibm.wsdl.util.xml.DOMUtils.getQName(Unknown Source)
> at
>com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(Unknown Source)
> at com.ibm.wsdl.xml.WSDLReaderImpl.parsePort(Unknown Source)
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseService(Unknown Source)
> at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
Source)
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)
> at
>conexion.client.dynamic.DynamicInvoker.invokeMethod(DynamicInvoker.java:217)
> at
>conexion.client.dynamic.DynamicInvoker.main(DynamicInvoker.java:145)
>
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)
> at
>conexion.client.dynamic.DynamicInvoker.invokeMethod(DynamicInvoker.java:217)
> at
>conexion.client.dynamic.DynamicInvoker.main(DynamicInvoker.java:145)
>
>
>I don�t understand why does it work fine on DOS and not work in AIX ?
>
>
>Thanks for your help
>(Embedded image moved to file: pic32662.jpg)
>
>***REGULACI�N DE USO DEL CORREO ELECTR�NICO DE Banesco Banco Universal
>HACIA INTERNET***
>La informaci�n contenida en este correo electr�nico y cualquier anexo
puede
>ser de car�cter confidencial y es propiedad de Banesco Banco Universal.
>S�lo est� permitido su uso, copia, transmisi�n, recepci�n o distribuci�n a
>personas debidamente autorizadas. Si usted recibi� este correo por error
>por favor destr�yalo y/o elimine cualquier copia guardada en su sistema y
>notifique inmediatamente al remitente o a la direcci�n de correo
>electr�nica [EMAIL PROTECTED] Usted no debe utilizar la informaci�n
>contenida para ning�n prop�sito ni compartirla con otras personas.
>
>
>***REGULATION OF USE FOR ELECTRONIC MAIL OF Banesco Banco Universal
TOWARDS
>INTERNET***
>The information contained in this electronic mail and any attachment can
be
>of confidential character and is property of Banesco Banco Universal. Its
>use, copy, transmission, reception or distribution is allowed only to
>properly authorized people. If you received this mail by error please
>destroy it and/or eliminate any copy kept in your system and notify
>immediately to the sender or to the electronic mail address
>[EMAIL PROTECTED] You should not use the information contained in
>this email for any purpose nor to share it with other people.
>
>
> ------------------------------------------------------------------------
>
--
The best way to predict the future is to invent it - Alan Kay
***REGULACI�N DE USO DEL CORREO ELECTR�NICO DE Banesco Banco Universal
HACIA INTERNET***
La informaci�n contenida en este correo electr�nico y cualquier anexo puede
ser de car�cter confidencial y es propiedad de Banesco Banco Universal.
S�lo est� permitido su uso, copia, transmisi�n, recepci�n o distribuci�n a
personas debidamente autorizadas. Si usted recibi� este correo por error
por favor destr�yalo y/o elimine cualquier copia guardada en su sistema y
notifique inmediatamente al remitente o a la direcci�n de correo
electr�nica [EMAIL PROTECTED] Usted no debe utilizar la informaci�n
contenida para ning�n prop�sito ni compartirla con otras personas.
***REGULATION OF USE FOR ELECTRONIC MAIL OF Banesco Banco Universal TOWARDS
INTERNET***
The information contained in this electronic mail and any attachment can be
of confidential character and is property of Banesco Banco Universal. Its
use, copy, transmission, reception or distribution is allowed only to
properly authorized people. If you received this mail by error please
destroy it and/or eliminate any copy kept in your system and notify
immediately to the sender or to the electronic mail address
[EMAIL PROTECTED] You should not use the information contained in
this email for any purpose nor to share it with other people.
ConsultaLdapService.wsdl
Description: Binary data
ConsultaLdapEJB.wsdl
Description: Binary data
ConsultaLdapBinding.wsdl
Description: Binary data
ConsultaLdap.wsdl
Description: Binary data
<<attachment: pic05705.jpg>>
