Hi i'm currently trying to use the Role WebService and i m having some
problems while generating the stub. My OS Red Hat 6.2, UserApp 4.0.2C
Running over WebSphere 7 patch 29

This is the command that's available on the documentation.


Code:
--------------------
"C:\Program Files\Java\jdk1.6.0_31\bin\java" -cp "../lib/wssdk.jar;../lib/jaxrpc-api.jar";"../lib/mail.jar";"../lib/activation.jar";"c:\Program Files\Java\jdk1.6.0_31\lib\tools.jar"; com.novell.soa.ws.impl.tools.wsdl2java.Main -verbose -ds gensrc -d C:\ -noskel -notie -genclient -keep -package com.novell.soa.af.role.soap.impl -javadoc role.wsdl
--------------------


I addecuate it to my system:


Code:
--------------------
"/opt/IBM/WebSphere/AppServer/java/bin/java" -cp "/opt/novell/idm5/WEB-INF/lib/wssdk.jar";"/opt/novell/idm5/WEB-INF/lib/jaxrpc-api.jar";"/opt/novell/idm5/mail.jar";"/opt/novell/idm5/activation.jar";"/opt/IBM/WebSphere/AppServer/java/lib/tools.jar"; com.novell.soa.ws.impl.tools.wsdl2java.Main -verbose -ds gensrc -d /tmp -noskel -notie -genclient -keep -package com.novell.soa.af.role.soap.impl -javadoc role.wsdlk
--------------------


And the error results are this:


Code:
--------------------
-bash: /opt/novell/idm5/WEB-INF/lib/jaxrpc-api.jar: cannot execute binary file
-bash: /opt/novell/idm5/mail.jar: Permission denied
/opt/novell/idm5/activation.jar: line 1: PK: command not found
/opt/novell/idm5/activation.jar: line 2: META-INF/PK: No such file or directory
/opt/novell/idm5/activation.jar: line 3: __META-INF/MANIFEST.MFManifest-Version:: No such file or directory
/opt/novell/idm5/activation.jar: line 4: Ant-Version:: command not found
/opt/novell/idm5/activation.jar: line 5: syntax error near unexpected token `('
'opt/novell/idm5/activation.jar: line 5: `Created-By: 1.5.0_22-147 (Apple Inc.)
/opt/IBM/WebSphere/AppServer/java/lib/tools.jar: line 1: PK: command not found
/opt/IBM/WebSphere/AppServer/java/lib/tools.jar: line 2: syntax error near unexpected token `;'
/opt/IBM/WebSphere/AppServer/java/lib/tools.jar: line 2: `;:9 META-INF/PK'
-bash: com.novell.soa.ws.impl.tools.wsdl2java.Main: command not found
--------------------



Could anyone give a hint about this one?
Thanks in Advance
Guido.


--
gierache
------------------------------------------------------------------------
gierache's Profile: https://forums.netiq.com/member.php?userid=5597
View this thread: https://forums.netiq.com/showthread.php?t=49130