Interoperability between SOAP clients 7 Servers

2002-03-20 Thread prasad
Hi Group I am new to the group as well as to SOAP. I am searching examples info. on interoperability between MS SOAP server and Apache SOAP Client. I want to pass objects between these. Has anybody worked on it ? If yes, any info. on the same will be very helpful. Thanks & Regards, Prasad

Client calling a service implemented by an EJB? (my code in here...)

2002-03-20 Thread Tiago Fernandes Thomaz
Please tell me what can I do to get this running? /// The Client: /// public class MySOAPClient { /** Creates new Class */ public MySOAPClient(){ } public static void main(String args[]) throws Exception { if (args.length != 1) { Sys

BadTargetObjectURI

2002-03-20 Thread Tiago Fernandes Thomaz
I'm using tomcat 3.2.3 and Apache-Soap 2.2. I've coded a simple client to call a sayHello method. I'm deploying a Hello service to <%TOMCAT_HOME%>\webapps\soap\WEB-INF\classes\Hello.class using soap/admin, I've put in my classpath this service class and still having this following fault:

Errors: ServletException and TransportMessage

2002-03-20 Thread Matthew Luck
My installation of SOAP (v. 2.2) on my Windows server used to work fine. Now, for some reason I can't figure out, I am getting the following problems: 1. when I try "http://localhost:8080/soap/servlet/rpcrouter"; in a web browser, I get an Internal Server Error page with the following text:

Re: [RE: [Data Compression using Apache SOAP]]

2002-03-20 Thread Beau Anderson
please post your code and indicate where it is placed on the server. - Original Message - From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 12:58 PM Subject: RE: [RE: [Data Compression using Apache SOAP]] > I only have to set the

RE: [RE: [Data Compression using Apache SOAP]]

2002-03-20 Thread Tiago Fernandes Thomaz
I only have to set the method, the targetURI (which must match that of the deployment descriptor), required input parameter values, the endpoint and thats it? RPCrouter servlet will "guide" my request get the method return and wrap it up in a SOAP envelope to client? Is that it? If so, could you e

RE: [Data Compression using Apache SOAP]

2002-03-20 Thread Guy McArthur
Would it be possible, if using soap over http, to use mod_gzip (for instance)? I.e. the client sends a http header on request indicating that it accepts gzip'ed data. If so the response data is compressed on the fly then sent.

Re: DeployedServices.ds

2002-03-20 Thread hughes_shawn
In web.xml (registration of the rpcrouter servlet): rpcrouter Apache-SOAP RPC Router org.apache.soap.server.http.RPCRouterServlet ConfigFile WEB-INF/soap.xml In WEB-INF/soap.xml (defin

Re: [Server side implementation, HELP?]

2002-03-20 Thread Beau Anderson
Here is an example: javax.xml.parsers.DocumentBuilder xdb = org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(); org.w3c.dom.Document doc = xdb.parse (new org.xml.sax.InputSource (*Your Reader*)); - Original Message - From: "Beau Anderson" <[EMAIL PROTECTED]> To: <

Rescue me guys...

2002-03-20 Thread Gayatri Irani
  …have been banging my head against this for last 2 days…I had got it working but something is messed up. I’ve looked up all the documentation and samples and I think I’m doing it right; Please tell me what is it that I’m doing something wrong.   I’m trying to pass attachments back and

Re: [Server side implementation, HELP?]

2002-03-20 Thread Beau Anderson
I use the SAX and DOM from xerces.jar. They can take an inputstream and read it as XML. - Original Message - From: "Tiago Fernandes Thomaz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 9:12 AM Subject: RE: [Server side implementation, HELP?] > But what co

Service's exception text not serialized???

2002-03-20 Thread hughes_shawn
My SOAP (2.2) service includes the stack trace when throwing the exception. However the exception message is not serialized. It is easily reproducible, just throw an exception that contains unescaped XML characters, e.g. public String getPublication(PublicationInputModel inputModel) throws

RE: [Server side implementation, HELP?]

2002-03-20 Thread Tiago Fernandes Thomaz
But what code must be done in order to retrieve info from soap request? Does Apache-SOAP APIs "knows" how to retrieve that info for me or must I implement that code? Tiago Fernandes Thomaz -Original Message- From: Law Kaikuo [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 20 de Março de

Re: DeployedServices.ds

2002-03-20 Thread David Hirst
Would placing this inside a .ear file affect the way that this "should" work? > I have something similiar to that. Do these files live in the soap.war file? One > other question, what do you have in the > dds.xml file? > > Thanks, > Dave > > [EMAIL PROTECTED] wrote: > > > I use an XML configurat

Re: DeployedServices.ds

2002-03-20 Thread David Hirst
I have something similiar to that. Do these files live in the soap.war file? One other question, what do you have in the dds.xml file? Thanks, Dave [EMAIL PROTECTED] wrote: > I use an XML configuration file (not the .ds file) so this may or may not > work. Anyway, you can change the config fi

alternatives to rpcrouter?

2002-03-20 Thread Tiago Fernandes Thomaz
I was wondering if, using SOAP for RPC, for a client to invoke a service that service has to be deployed in webapps/soap context? The TargetObjectURI must always be set to http://host:8080/soap/servlet/rpcrouter ? or can I create a servlet of my own to host those services? and if I can what logic

Re: [RE: [Data Compression using Apache SOAP]]

2002-03-20 Thread Law Kaikuo
Hi Nicolas Fonrose, You are right. I did do the convertion between string and byte array in reverse direction on client side and server side. Kaikuo Luo "Nicolas Fonrose" <[EMAIL PROTECTED]> wrote: Hi Law, Your solution is good but I think it is not a general answer to the "SOAP message

Re: [Server side implementation, HELP?]

2002-03-20 Thread Law Kaikuo
There are 2 cases to consider: 1. The size of the XML file small: read in the XML file as one byte array, use the array as a parameter and do the SOAP call; 2. The size of the XML file is large, that means you can not send it just in one time if you do not want to suffer network overflow. Use a lo

Re: Data Compression using Apache SOAP

2002-03-20 Thread Mark Childerson
I don't know if it can normally be done, but you could try modifying the transport to use a GZIPInputStream. That might cause interoperability problems, though. M. At 05:13 PM 3/20/02 +0100, you wrote: >Is it possible to compres the data transported in the soap envelope using >apache soap? >I

RE: [Data Compression using Apache SOAP]

2002-03-20 Thread Nicolas Fonrose
Hi Law, Your solution is good but I think it is not a general answer to the "SOAP message compression problem" since it may impact the interface of your service. For instance if a method from a WebService returns an big int array (int[]), you cannot directly use your technique. int[] myMe

RE: [Data Compression using Apache SOAP]

2002-03-20 Thread Phillip Urrea
I also used gzip to compress the xml data contained in my SOAP request but be careful to Base64 encode the resulting stream of data as I found some problems sending the data raw. -Original Message- From: Law Kaikuo [mailto:[EMAIL PROTECTED]] Sent: 20 March 2002 16:33 To: [EMAIL PROTECTED]

Server side implementation, HELP?

2002-03-20 Thread Tiago Fernandes Thomaz
Hi to all SOAP Developers! I'm new at SOAP. I want to implement a SOAP interface in order to allow communication with some remote app clients and an EJB server. I'm facing some problems concerning interpretation of instream XML SOAP request. The actual point is: I have a client(Java class) that b

Re: [Data Compression using Apache SOAP]

2002-03-20 Thread Law Kaikuo
The answer is yes you can. In my last project, I need to transmit data contained in XML files, because files are usually very large (> 5 mega), so I compress them first using gzip or zip, then send them piece by piece, and assemble them back into the files and unzip... Kaikuo Luo "Mohssin

Re: DeployedServices.ds

2002-03-20 Thread hughes_shawn
I use an XML configuration file (not the .ds file) so this may or may not work. Anyway, you can change the config file location in web.xml using the RPC router init parameter "ConfigFile", e.g. web.xml: rpcrouter Apache-SOAP RPC Router org.apache.soap.

Data Compression using Apache SOAP

2002-03-20 Thread Mohssin Assaban
Is it possible to compres the data transported in the soap envelope using apache soap? I m developing an application wich returns a large count of records. But the time needed to transfer all this data (in one time) is verry long. In the Microsof implementation of soap is it possible to use some d

DeployedServices.ds

2002-03-20 Thread David Hirst
Has anyone succesfully been able to specify a different location for the DeployedServices.ds file. I have tried a few times and it always seems like the servlet never picks up any of the changes that I make to the deployment descriptor. If anyone as any suggestions I would appreciate it. Thanks,

org.apache.soap.messaging.Message Class

2002-03-20 Thread LAMY Olivier
Is it possible to construct a org.apache.soap.messaging.Message or org.apache.soap.Envelope classes form a byte[] ? Because the org.apache.axis.Message give this possibility. Olivier ** Ce message électronique et tous

AW: Installation problem

2002-03-20 Thread Michael Bayer
I don't have experience with that myself, but be aware that in "Java & XML" the author Brett McLaughlin recommends not to use SOAP in combination with xerces 1.3 ... Cheers michael -Ursprüngliche Nachricht- Von: Charlie Abela [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. März 2002

RE: Installation problem

2002-03-20 Thread Charlie Abela
Try and use an older version of Xerces, such as version 1.2.3. I had similar results when I used Xerces 1.4.x... Charlie -Original Message- From: Martin Gehrecke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 3:14 PM To: [EMAIL PROTECTED] Subject: Installation problem I am

AW: Installation problem

2002-03-20 Thread Michael Bayer
Hi Martin, I did not get that exact error, but I got some similar problems that seemed to be related to the combination of xerces (2.0.1) and tomcat (3.3). I switched to Tomcat 3.2.4 and Xerces 1.4.4, and now everything is working smoothly. Maybe you should try to switch to tomcat 3.2.4 ... Re

Installation problem

2002-03-20 Thread Martin Gehrecke
I am getting stucked with some NoSuchMethodError (i guess all are basically coming from the same place i am just to blind to find) I did install tomcat 3.3, soap 2.2, activation 1.0, javamail 1.2 and xerces 1.4.3 Opening http://localhost:8080/soap/index.html is giving me a nice welcome page as