[JBossWS] - Re: wstool jboss 4.05 vs jboss 4.2.0GA wsdl-java
by nirre
then one included in jboss 4.2 - jbossws-1.2.1.GA (build=200704151756)
I have another problem now. Wstool now (with the above mentioned version) generates "strange array data types" in the jax-rpc file (and it does not generate the corresponding java files) - they where not generated when using the jbossws 1.03 (the one incuded in jboss 4.0.5)...
At runtime I know get errors like:
[EndpointMetaData] Cannot load class for type: {http://company.com/theIntegration}ArrayOfOpportunityID,com.company.theIntegration.ArrayOfOpportunityID
and then I get a:
RemoteException occured when invoking web service method!java.rmi.RemoteException: Call invocation failed; nested exception is:
| java.io.IOException: Could not transmit message
I dont want to edit the jax-rpc file manually so my question is if arrays is handled differently between the versions.
My integrations do work when I use jboss 4.0.4GA and 4.0.5GA (and respective "standard jbossws" for the releases) but I have some difficulties then It comes to the one incuded in jboss4.2.
It would be great If anyone have some resources, links that I could go to to learn more. I have looked trough some of the documention found at the jbossws site but I think I´m following the examples etc...
regards
Niclas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093524#4093524
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093524
17 years
[JBossWS] - Error while using WSTools
by sidgod
Hi i was using JBOSS AS 4.0.4.GA for the J2EE application. Now i am trying to the soap interface also. Thus i downloaded zip for 4.0.4.GA and i am using following file to generate wsdl from my interface:
activation.jar, mail.jar, javassist.jar, jbossall-client.jar, jboss-backport-concurrent.jar, jbossretro-rt.jar, jbossws14-client.jar and xercesImpl.jar.
I was using jdk 1.4 06 earlier and i am still using the same. The command i am using to generate wsdl is :
org.jboss.ws.tools.WSTools -cp <all-my-jars> -config <config-file> -dest <some-dest>
Its failing with error java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2 i believe this class is available only from jdk 1.5.x series onwards. But i think WS tools which are shipped with server binary zip file can be used with 1.4.x also.
So please tell me whats wrong and how can i counter it ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093422#4093422
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093422
17 years