Hi again!

I'm getting more and more confused. I thought I might get the jboss proprietary 
createService method a shot while testing my dii java client. This was using 
jdk 1.4.2 and jboss supplied jax-rpc libraries. It turns out it throws the 
following exceptions when excecuted:

  | java.lang.NoClassDefFoundError: 
org/apache/xerces/xni/parser/XMLEntityResolver
  |     at org.jboss.xml.binding.Unmarshaller.<init>(Unmarshaller.java:53)
  |     at 
org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:59)
  |     at 
org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:158)
  |     at WSClientDII.main(WSClientDII.java:27)
  |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:324)
  |     at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
  | 

I then realized that this might be an xmp parser thingy and included the jboss 
endorsed xercesImpl.jar to my configuration and voila it works.

I then switched to jdk 1.5.0_01 and tried again and now it works both with code 
using the jboss proprietary createService method and the standard one!!!!

Whats the correct usage of the jboss client libraries? Shall a client depend on 
jboss endorsed libs? 

If JBWS-92 is a result from a mistake by me not including the correct libs 
pleas close the issue.

\Magnus

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870509#3870509

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870509


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to