See Thread at: http://www.techienuggets.com/Detail?tx=29809 Posted on behalf of 
a User

Hi, I ran into this problem too. And fortunately, i have fixed this problem by 
packaging all the generated schema files (say, schema.jar) separately from the 
web service classes.
Hope this helps:)

Good luck:)

In Response To: 

Hello,

I'm using Castor 1.2 with Eclipse 3.1.1 (compiling in java 1.5)

I have a simple XSD which I built castor java objects out of.    When I
marshalled them to XML, everything worked fine until I built a web
service out of one of my classes.

Now the marshall goes through without error, but the resultant XML
string is "" (empty string), even when running a class as a straight
forward java app.

Figured something was up with the classpath but can't seem to find any
difference between what was working and what is not.

Any help would be appreciated.

Thanks.
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.
--------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to