SoaP Server

2002-08-21 Thread Johnson, Michael1 [IT]
Could anyone point me in the right direction into integrating a apache soap server into apache web server. I am not sure if this is the right list I apologize if it is not. -MJ -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: SoaP Server

2002-08-21 Thread Scott Nichol
In addition to the Apache web server and Apache SOAP, you need a J2EE container, such as Tomcat. The container will include instructions on how it integrates with the Apache web server, then you use the instructions from Apache SOAP to install it in the container. For Tomcat 4.0, instructions fo

Getting always an error from SOAP Service Manager...

2002-08-21 Thread Hendrik Leschber
Hi, I'm relatively new to Web Service Development. The tools I'm working with are Together 6.0 with JBoss PlugIn, JBoss 2.4 + Tomcat 3.2 with ApacheSOAP 2.3.1. Unfortunately, every time I try to deploy and use a Web Service I get the following message from JBoss prompt: [ERROR,Default] SOAP S

Re: Getting always an error from SOAP Service Manager...

2002-08-21 Thread Scott Nichol
Henrik, This message is expected the first time you access the SOAP router (typically /soap/servlet/rpcrouter). However, once you deploy a service, you should not see this again when you list services. Scott Nichol - Original Message - From: "Hendrik Leschber" <[EMAIL PROTECTED]> To: <

Re: XML response in SOAP message ???

2002-08-21 Thread Scott Nichol
The string being returned from the SOAP method must itself be embedded within an XML document, so it is "escaped", e.g. '<' is turned into '<'. If the client that calls the SOAP method correctly "un-escapes" these sequences, the resulting string will look like the string of XML text you created.

Re: XML response in SOAP message ???

2002-08-21 Thread Scott Nichol
If the client that calls the SOAP method correctly "un-escapes" these sequences, the resulting string will look like the string of XML text you created. I put this out there rather cavalierly: I don't think the Apache SOAP client un-escape this on its own. Scott Nichol -- To unsubsc

Re: [from soap-user] Re: urgent help needed with:Error buildingresponse evelope

2002-08-21 Thread Scott Nichol
Unfortunately, the stack trace for the *real* exception is printed to standard error on the server in version 2.2. I'm not sure whether this ends up on the console or in a file in %TOMCAT_HOME%\logs. You will probably need to get this trace to be able to track down the problem. Or, if you can,

Re: XML response in SOAP message ???

2002-08-21 Thread Nishant_Awasthi
Hello Scott I must admit the possibility that SOAP client might not be un-escaping the XML string I am sending. I will try to escape the characters by using (Backslash '\' and see if my client can output XML string. Thanks again, Nishant

Re: XML response in SOAP message ???

2002-08-21 Thread Nishant_Awasthi
Hey Scott I just now tried to escape the "<" and ">" and "?" tags of XML with escape charater ("\" - backslash) and tried to compile my java file it gave me error on each and everyspot where I please "\"... I don't know if I did something wrong or what...I am attaching a sample of the code pleas

Re: XML response in SOAP message ???

2002-08-21 Thread Scott Nichol
The compiler is complaining because the valid escape sequences in Java strings are things like \n, \r, \f, \u00fe. Where I believe you need the new code is on the client, not the server. I think the client will receive something like this across the wire:

Re: XML response in SOAP message ???

2002-08-21 Thread Nishant_Awasthi
Thanks for the comprehensive reply Scott, I will try to fix my client and server code... Thanks again Nishant Scott Nichol

Re: XML response in SOAP message ???

2002-08-21 Thread Scott Nichol
It turns out that Apache SOAP does un-escape strings on the client side. Here's the test service I wrote: public class XMLString { public String get() { return "\n" + "\n" + " This is data\n" + ""; } } The test client is: import java.io.*; import java.util.*; import java.net.*