resCtx.setRootPart("OK thanks","text/html");    
                                ^^^^^^^^

That also works.                        

With respect,
Sozonnik Andrew.



-----Original Message-----
From: Chandrashekhar B [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 22, 2002 1:49 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbie questions on examples


Did that worked!. I think msg1.xml in itself would have got modified,
verify that for wellformedness.

Thanks,
Chandru.

>>> [EMAIL PROTECTED] 04/22/02 12:38PM >>>
Orion is application server.

In fact, \samples\messaging\POProcessor.java contains :

 resCtx.setRootPart("OK thanks, got the PO; we'll contact you when
ready.","text/xml");

But I think, that will be better write like this:

 resCtx.setRootPart("<msg>OK thanks, got the PO; we'll contact you when
ready.</msg>","text/xml");

With respect,
Sozonnik Andrew.



-----Original Message-----
From: Chandrashekhar B [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 22, 2002 9:31 AM
To: [EMAIL PROTECTED] 
Subject: Re: Newbie questions on examples


I don't know what Orion 1.5.2 is all about. But, your problem is with
the XML document well formedness. Look for the XML input document and
check for wellformedness.

Thanks,
Chandru.

>>> [EMAIL PROTECTED] 04/19/02 03:59PM >>>
Hello !
 
I have SOAP 2.2 on JDK 1.3 and Orion 1.5.2
 
When I try to use messaging samples and send msg1.xml it reply such
things:
 
Sending some messages...
RESPONSE:
--------
<HTML><HEAD><TITLE>Error parsing source XML for
/servlet/messagerouter</TITLE></
HEAD><BODY><PRE>Fatal error in
file:/D:/Plan_monitor/orion_s/applications/soap/s
oap/servlet/messagerouter at line 1: Document root element is missing.
</PRE></BODY></HTML>
 
What is wrong ?
 
P.S. Does SOAP servlet works under Resin 2.0.5 ?
 
With respect,
Sozonnik Andrew.
 


Reply via email to