I've never used the web service generation tools in Eclipse but I can
imagine if you start with a class that has a method that takes a String
parameter, Eclipse isn't going to know that that String is really XML.

I'd recommend you start designing your service from WSDL, then get Axis
to auto-generate the code stubs. For the WSDL, start by creating a
schema for your XML document - www.w3schools.com have some good
tutorials to start with.

IBM have some very good tutorials on web services and Java, see
http://www-130.ibm.com/developerworks/java.  

Hope that helps,

  Chris.

-----Original Message-----
From: Plorks mail [mailto:[EMAIL PROTECTED] 
Sent: 31 August 2005 11:20
To: [email protected]
Subject: RE: xml with strange characters



so how can i redeig myservce to work correctly with doc/lit and axis




>From: Guy Rixon <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: RE: xml with strange characters
>Date: Wed, 31 Aug 2005 10:34:38 +0100 (BST)
>
>On Wed, 31 Aug 2005, Plorks mail wrote:
>
> >
> > I use document/literal sytle
>
>You MIS-use it. In fact, you mis-use Axis in a way that causes Axis to 
>mis-use
>the document/literal form. You need to get round this idea of returning
XML 
>in
>a string from your service implementation. That can be kludged to work
but
>it's never going to be in the spirit of document/literal SOAP. Just 
>declaring
>document/literal in your WSDL doesn't help if your service
implementation 
>is
>mal-designed.

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://messenger.msn.co.uk



 
CONFIDENTIALITY & PRIVILEGE NOTICE

This e-mail is confidential to its intended recipient. It may also be 
privileged. Neither the confidentiality nor any privilege attaching to this 
e-mail is waived lost or destroyed by reason that it has been mistakenly 
transmitted to a person or entity other than its intended recipient. If you are 
not the intended recipient please notify us immediately by telephone or fax at 
the numbers provided above or e-mail by Reply To Author and return the printed 
e-mail to us by post at our expense. We believe, but do not warrant, that this 
e-mail and any attachments are virus-free, but you should check. We may monitor 
traffic data of both business and personal e-mails. We are not liable for any 
opinions expressed by the sender where this is a non-business e-mail. If you do 
not receive all the message, or if you have difficulty with the transmission, 
please telephone us immediately.

Reply via email to