• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Help with interoperability with Java WebService (JAXWS, Axis2, Metro)

 
Ranch Hand
Posts: 64
Oracle Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been developing a client to communicate with a Web Service which is developed using METRO, MySQL, Tomcat and Netbeans. I've developed the client using RAD (Rational Application Developer), DB2 and JAXWS & Axis2. I think that there must not be problems with wsdl since it's a standard and they can communicate. I couldn't even find the error, I'm receiving the following stacktrace:

INFO: WSP5018: Loaded WSIT configuration from file: file:/C:/Documents%20and%20Settings/user/My%20documents/interop/ibm/accesspointClient-library/bin/META-INF/wsit-client.xml.
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
at com.sun.xml.ws.rx.rm.runtime.RmConfigurationImpl.<init>(RmConfigurationImpl.java:73)
at com.sun.xml.ws.rx.rm.runtime.RmConfigurationFactory.createInstance(RmConfigurationFactory.java:73)
at com.sun.xml.ws.rx.rm.runtime.RmConfigurationFactory.createInstance(RmConfigurationFactory.java:65)
at com.sun.xml.ws.rx.rm.runtime.RmTubeFactory.createTube(RmTubeFactory.java:61)
at com.sun.xml.ws.assembler.TubeCreator.createTube(TubeCreator.java:79)
at com.sun.xml.ws.assembler.TubelineAssemblerFactoryImpl$MetroTubelineAssembler.createClient(TubelineAssemblerFactoryImpl.java:121)
at com.sun.xml.ws.client.Stub.createPipeline(Stub.java:224)
at com.sun.xml.ws.client.Stub.<init>(Stub.java:201)
at com.sun.xml.ws.client.Stub.<init>(Stub.java:174)
at com.sun.xml.ws.client.sei.SEIStub.<init>(SEIStub.java:81)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:602)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:326)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:308)
at javax.xml.ws.Service.getPort(Service.java:99)
at org.w3._2009._02.ws_tra.AccesspointService.getResourceBindingPort(AccesspointService.java:52)
at org.busdox.transport.start.client.AccessPointClient.setupEndpointAddress(AccessPointClient.java:228)
at org.busdox.transport.start.client.AccessPointClient.getAccessPointServicePort(AccessPointClient.java:179)
at org.busdox.transport.start.client.AccessPointClient.getPort(AccessPointClient.java:114)
at org.busdox.transport.start.client.Main.testService(Main.java:305)
at org.busdox.transport.start.client.Main.SendMessageToAccessPoint(Main.java:133)
at org.busdox.transport.start.client.Main.main(Main.java:110)
Caused by: java.lang.ClassCastException: com.sun.xml.ws.security.secext10.SecurityTokenReferenceType$JaxbAccessorF_any incompatible with com.sun.xml.bind.v2.runtime.reflect.Accessor
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.instanciate(OptimizedAccessorFactory.java:194)
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:186)
at com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:282)
at com.sun.xml.bind.v2.runtime.property.ArrayProperty.<init>(ArrayProperty.java:69)
at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.<init>(ArrayERProperty.java:88)
at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.<init>(ArrayReferenceNodeProperty.java:84)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:128)
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:183)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:521)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:540)
at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.<init>(SingleElementNodeProperty.java:105)
at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:128)
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:183)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:521)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:336)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1153)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:168)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:106)
at com.sun.xml.ws.rx.util.JaxbContextRepository.createContext(JaxbContextRepository.java:102)
at com.sun.xml.ws.rx.util.JaxbContextRepository.<init>(JaxbContextRepository.java:86)
at com.sun.xml.ws.rx.rm.runtime.RmRuntimeVersion.<init>(RmRuntimeVersion.java:154)
at com.sun.xml.ws.rx.rm.runtime.RmRuntimeVersion.<clinit>(RmRuntimeVersion.java:71)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
... 22 more

Thanks in advance for any help you could give to me. Thanks!
 
Hug your destiny! And hug this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic