RE: SOAP and SSL

2001-07-19 Thread Pablo
On 19 Jul 2001 16:46:33 +0200, Ludovic BERTIN wrote: > Thanks a lot, Pablo. > Your document is a gold mine (short, explicit with good samples). I'm happy that the document is also useful to other people! > > But I still have a problem, I got this message : > java.lang.reflect.InvocationTarge

messagerouter problem (SOAP 2.2, Tomcat 3.1)

2001-07-19 Thread Atul Narkhede
Hello, I'm trying to run the 'SendMessage' sample, with no luck. Here is the error I get; I've made sure the classpaths are all correct. The rpcrouter examples all work fine though. What could be the problem here ? I'd appreciate any help. The method on the server-side has the correct signatu

urgent

2001-07-19 Thread BKS_prasad
Title: urgent     Hi All,     I am also getting the same error  like most of them when ever I run the samples of APACHE-Soap on Jrun3.0. D:\soap-2_2>java samples.addressbook.GetAddress http://localhost:8100/soap/servlet/rpcrouter "John B . Good" Generated fault:   Fault Code 

Re: parameters, attributes, custom de/serializers

2001-07-19 Thread William Brogden
Tom O'Connor wrote: > > I've seen this question asked multiple times in multiple ways and > haven't seen a complete answer: > > Q: When using soapencoding for message Parameters, how does one write > data as an XML attribute? I.E: > > oof > The way I read the SOAP standard for data seriali

Re: SOAP mapping of a bean with vectors

2001-07-19 Thread Javier A. Soltero
Are your data1 and data2 class following the bean pattern for getters and setters? If not, then the bean serializer will not be able to handle them. The bean serializer will use reflection to get at the individual members and if they dont follow the bean pattern they will not be able to be seriali

Re: parameters, attributes, custom de/serializers

2001-07-19 Thread Robert Englander
I'm not sure what your exact requirement is, but I can tell you about something similar I've done. I wrote a serializer/deserializer for sparse arrays according to the SOAP v1.1 spec. In that case, I needed to add an XML attribute to each serialized item from the array in order to specify its p

parameters, attributes, custom de/serializers

2001-07-19 Thread Tom O'Connor
I've seen this question asked multiple times in multiple ways and haven't seen a complete answer: Q: When using soapencoding for message Parameters, how does one write data as an XML attribute? I.E: oof The expected answer is "write your own Serializer/Deserializer class" which makes complete

Re: URLConnection

2001-07-19 Thread sramasu
Whwenever an exception occurs at the server side, the Apache RPCRouterServlet(SOAP Server) sets the HTTP response status header to SC_INTERNAL_SERVER_ERROR. As soon as this is set by the SOAP server, the URLConnection object InputStream gets corrupted and is not able to read anything. This is my

question about soap with attatchment

2001-07-19 Thread Ding, Chengmin
Hi, soap pals, I can successfully run a java client to send attachments to a web service. But now we need to use a Javascript client(using XMLHTTP) to send the attatchment files to the same soap service. In the HTML file, we need to let the user specify the files they want to upload, how can I w

RE: SOAP with WAS ( Was: Fix for NoSuchMethodError )

2001-07-19 Thread Jared P Jurkiewicz
When you enabled your ear, did you select the jar containing your bean and add it as a required classpath for your service? -- Jared [EMAIL PROTECTED] on 07/19/2001 04:04:00 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: SOAP with WAS ( Was: Fix for NoSuchMet

RE: SOAP with WAS ( Was: Fix for NoSuchMethodError )

2001-07-19 Thread ebelisar
I suspect that WAS servlet-runner "messed up" my classpath as well, I have a hard time to sort it out when I enable my stateless SB with WS SOAP support. The WS EJB_Adder sample works fine and my SB works fine by itself, but as soon as I enable my .ear file for SOAP, which adds soap.war to the a

URLConnection

2001-07-19 Thread Olson, Brian
Hi, I've written an applet that is very small (7k) that formats a SOAP request and sends it to the apache router servlet. The applet does not use any of the SOAP client packages or the call object. It builds a string buffer formatted as a HTTP posting with the SOAP body. Using a direct soc

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread richard green
You can chnage the third line from top to, set CLASSPATH=D:\xerces-1_3_0\xerces.jar;%CLASSPATH%;%CP% It works in my case. richard >From: "Bahal, Sanjay" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: RE: Fix for NoSuchMethodError (Was

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Bahal, Sanjay
Tom, Thanks again. I have followed the instuctions and my tomcat.bat has the flwg lines: set CP=c:\xerces\xerces.jar;%CLASSPATH%;%CP% set CP=%CP%;c:\soap\samples; I have put the above lines in 3 different places ( depending on the path the bat files chooses). But I do not know why xerces.jar is st

Method Attributes

2001-07-19 Thread Susan Orth
How do I set an attribute for a method call? For example, if you execute the get_authToken method for UDDI and it takes userID and cred as attributes, not parms. I realize the IBM UDDI4J abstracts all this, I'm just using the UDDI call as an example. Thanks in advance!

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Tom Myers
At 01:41 PM 7/19/2001 -0400, Bahal, Sanjay wrote: >I got that. I had to put it in soap/webapps/soap rather than soap/webapps. >I get the classpath: >java.class.path=c\:\\tomcat\\classes;c\:\\tomcat\\lib\\ant.jar;c\:\\tomcat\\ >lib\\jasper.jar;c\:\\tomcat\\lib\\jaxp.jar;c\:\\tomcat\\lib\\parser.jar

RE: SocketException while calling a service

2001-07-19 Thread richard green
Hi, I am calling a third party service located at : http://www.capescience.com/ccgw/GWXmlServlet which seems to be running. richard >From: Sri Sankaran <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTE

RE: SocketException while calling a service

2001-07-19 Thread Sri Sankaran
Your servlet engine/web server isn't running. Sri -Original Message- From: richard green [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 1:44 PM To: [EMAIL PROTECTED] Subject: SocketException while calling a service Hi, I am getting the following exception when I try to call

SocketException while calling a service

2001-07-19 Thread richard green
Hi, I am getting the following exception when I try to call a service - java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:90)

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Bahal, Sanjay
I got that. I had to put it in soap/webapps/soap rather than soap/webapps. I get the classpath: java.class.path=c\:\\tomcat\\classes;c\:\\tomcat\\lib\\ant.jar;c\:\\tomcat\\ lib\\jasper.jar;c\:\\tomcat\\lib\\jaxp.jar;c\:\\tomcat\\lib\\parser.jar;c\:\ \tomcat\\lib\\servlet.jar;c\:\\tomcat\\lib\\webs

ClassNotFoundException in JRun3.1

2001-07-19 Thread Donald Tan
Hi, I installed Apache SOAP using JRun 3.1 using JDK1.2.2. I am able to deploy, list as well as un-deploy SOAP services. However, I am not able to engage a SOAP services form a SOAP-enabled client. I am actually referring to the messaging example that comes with Apache SOAP-2.2. I tried placi

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Tom Myers
At 11:58 AM 7/19/2001 -0400, Bahal, Sanjay wrote: >Tom, >Thanks again. >I am running Tomcat- the latest version. I dropped the cp.jsp in webapps and >ran http://localhost:8080/soap/cp.jsp. Get page not found error. umm, do you mean you put it in jakarta-tomcat/webapps? I meant in "the soap web

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Bahal, Sanjay
Tom, Thanks again. I am running Tomcat- the latest version. I dropped the cp.jsp in webapps and ran http://localhost:8080/soap/cp.jsp. Get page not found error. My class path reads: CLASSPATH=.;c:\xerces\xerces.jar;C:\XML\PARSER.JAR;C:\XML\JAXP.JAR;C:\JUNIT\ JUIN T.JAR;C:\JUNIT\SRC.JAR;C:\JDEPE

Re: XML schema support for SOAP

2001-07-19 Thread Glenn Nielsen
I just started looking at Castor yesterday to try and accomplish this. It looks very promising. http://castor.exolab.org/ Regards, Glenn [EMAIL PROTECTED] wrote: > > Hello, > > How to associate XML schema with SOAP document for validating the XML data. > Does Apache SOAP XML parser support X

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Tom Myers
At 10:29 AM 7/19/2001 -0400, Bahal, Sanjay wrote: >Tom, >Thanks- I got a step further. Now the error is- >C:\>java org.apache.soap.server.ServiceManagerClient >http://localhost:8080/soap/ >servlet/rpcrouter list >Ouch, the call failed: > Fault Code = SOAP-ENV:Server.Exception: > Fault String

classpath jsp?

2001-07-19 Thread Tom Myers
Given that so many problems are classpath problems and that the classpath seen by SOAP services is so often not the classpath that people think they set up, wouldn't it be a good idea to report the classpath, and maybe even other system info, in some easily-viewed but easily-removable way? Suppos

JRun3.0 classpath peculiarities (was re: urgent)

2001-07-19 Thread Tom Myers
At 10:05 AM 7/19/2001 +0530, BKS_prasad wrote: I am also getting the same error like most of them when ever I run the samples of APACHE-Soap on Jrun3.0. D:\soap-2_2>java samples.addressbook.GetAddress http://localhost:8100/soap/servlet/rpcrouter "

RE: Deployment Descriptors

2001-07-19 Thread Hansen, Richard
Apache only uses deployment descriptors to deploy a service on the server. A client that calls a service does not use them at all. > -Original Message- > From: Dylan J Browne [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 19, 2001 9:45 AM > To: soap > Subject: Deployment Descriptors >

Re: SOAP mapping of a bean with vectors

2001-07-19 Thread Nirmal Mukhi
Hi, Are Data1 and Data2 beans as well? If not, you need to use an appropriate serializer (maybe write a custom serializer for them) and register that with the mapping registry. If they are beans what you have should work. If you still have problems, could you post the error along with all the i

RE: SOAP and SSL

2001-07-19 Thread Ludovic BERTIN
Thanks a lot, Pablo. Your document is a gold mine (short, explicit with good samples). But I still have a problem, I got this message : java.lang.reflect.InvocationTargetException: java.net.SocketException: SSL implementation not available Is the world is so crual ? Ludovic -Message d'ori

Deployment Descriptors

2001-07-19 Thread Dylan J Browne
Hi, Is it possible to use Apache SOAP to communicate with other SOAP services without DeploymentDecriptors? Ie communicating with UPnP services that have been created using a UPnP SDK like that available from Intel. They include an example which uses SOAP, (it is written in c and c++), but it doe

Re: SOAP mapping of a bean with vectors

2001-07-19 Thread r_2
Hi, My beans have all getter and setter methods for their fields and some further public methods for modifiying the fields. I tried to use the SOAP mapping registry, but I cannot find my error. I deployed the mappings to the server: http://schemas.xmlsoap.org/soap/encoding/";

RE: A way to ping a SOAP Server?

2001-07-19 Thread Algirdas Veitas
Thanks for the tip, this solution is Apache SOAP specific. Maybe this isn't the best place to ask this, but is their a general solution to "ping" a SOAP Server, which is independent of the SOAP Server implementation (Apache SOAP, MS .NET, etc.)? Is this called out in the SOAP spec at all? --- "

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Bahal, Sanjay
Tom, Thanks- I got a step further. Now the error is- C:\>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/ servlet/rpcrouter list Ouch, the call failed: Fault Code = SOAP-ENV:Server.Exception: Fault String = java.lang.NoSuchMethodError My Tomcat server conf file h

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Tom Myers
>From: Bahal, Sanjay [mailto:[EMAIL PROTECTED]] ... >I have an install/test problem: >I just installed Soap and am trying to run it with apache. I have followed >the install instructons. The server test works fine but when I run the >client test it errors out: >C:\>java org.apache.soap.serve

RE: urgent

2001-07-19 Thread sramasu
Please check do you have the following 1. SOAP samples in your classpath 2. Deployed the AddressBook service with the SOAP server. Thanks, Sekar. BKS_prasad

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Sri Sankaran
Sanjay: In my case the problem showed up when xerces.jar was not being loaded. Make sure that your path to the jar file is correct. By default, xerces.jar is in the root xerces installation directory _and_not_ in a lib sub-directory. Hope that helps sri -Original Message- From: B

RE: Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Bahal, Sanjay
Hi, I have an install/test problem: I just installed Soap and am trying to run it with apache. I have followed the install instructons. The server test works fine but when I run the client test it errors out: C:\>java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/ rpcroute

Urgent request for help

2001-07-19 Thread Gokhman, Ed (CICG Direct Markets)
(this is a re-post - previous had a wrong subject by mistake) Hi, I am new to Apache SOAP. I have a NameValuePair object written as a java bean. The data items are:     String name;     Object value; // May be a Vector of NameValuePairs or class-wrappers for primitive types, i.e.   

Re: SOAP mapping of a bean with vectors

2001-07-19 Thread Nirmal Mukhi
Hi, You will need to register serializers and deserializers for the Data1and Data2 classes with the SOAP mapping registry; once you do that BeanSerializer should be able to handle the MyBean class (assuming that it has all the properties of a bean, including the required setters and getters...)

Fix for NoSuchMethodError (Was Re: Urgent)

2001-07-19 Thread Sri Sankaran
To all those who have been struggling with the NoSuchMethodError try Blaine's recommendation; get xerces 1.4.1. It works. For me the combination of products & platform is: -- win NT -- tomcat 3.2.2 -- xerces 1.4.1 -- soap 2.2 The only change I made to the tomcat.bat file was to add the foll

SOAP mapping of a bean with vectors

2001-07-19 Thread r_2
Hello, I´m a newbee and I´m trying to use a bean for a RPC. My bean has some protected String values with 2 Vector classes. Each Vector holds only one type of Objects. Example: public class MyBean { protected String test1; protected String test2; protected String test3; protected Stri

Re: SOAP and SSL

2001-07-19 Thread Pablo
Hi, maybe you can have a look at the document in http://www.eneris.com/~pablo/ It is explained there how to set up Soap and HTTP with Orion server in Linux. Pablo PS. By the way, and if there is anyone out there interested, I've just uploaded the new version of my example addressbo

fault detail vector not being written to reply XML

2001-07-19 Thread Adam Lipscombe
Folks, I am using the ExceptionFaultListener. This populates the faultDetails with a Vector containing a Parameter that wraps the root exception. I have debugged to the level where I am confident it is being called correctly and the faultDetails are being populated. However, the detail entries

SOAP and SSL

2001-07-19 Thread Ludovic BERTIN
Hi, i try do pass soap services under HTTPS connection. I'm using Orion, so I've modified the files server.xml to declare a new website with (secure="true"). When a component tries to access a soap service, it gets the following error : [BackboneException: ; EmbededException=[SOAPException: faul