File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS problem with WAS 8.0

 
Claude Moore
Ranch Hand
Posts: 746
7
IBM DB2 Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm encountering big problems with JAX-WS services on WAS 8.0.0.2.

I've developed following Web Service via EJB 3.1, using only annotations.


The idea behind this web-service is to execute a request on server side, passing a CustomObject
instance serialized as binary stream. CustomObject is a class made available both on Java client
(a simple Java swing app) and EJB module: more precisely, CustomObject is present in a Java project
which is used as "utility jar" in the EAR project which contains WSBusinessDelegate ejb.

The problem is that I cannot deploy this web services, by publishing to WAS 8.0: the only way i can successfully
publish it, is by removing ALL references to CustomObject.
I cannot understand why. As far JAX-WS is concerned, what is exchanged between client and server sides
is a data stream, no matter what it actually is (the content of a file, or other).
I've read that there is a problem with wsgen called by WAS or RAD during deploying stage, when setting classpath,
but i don't know if this may be the case.

Can anybody help me ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic