Tomcat, Axis and SSL (was: Using SOAP + HTTP as a client within tomcat.)

2003-01-02 Thread Michael D. Spence
> -Original Message- > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 12:06 PM > To: [EMAIL PROTECTED] > Subject: Re: Using SOAP + HTTP as a client within tomcat. > > > Good luck, and when you resolve this, it would be great if you could > post the resolut

Re: CLASSPATH Problem

2003-01-02 Thread Scott Nichol
Your classpath is ignored by Tomcat 4. If you deploy Apache SOAP under Tomcat 4 according to the instructions at http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/ tomcat.html?rev=HEAD&content-type=text/html, you would not need to copy the samples anywhere, as the samples wou

Re: Using SOAP + HTTP as a client within tomcat.

2003-01-02 Thread Sean McCauliff
There is definately some problem that relates to the tomcat configuration. When I ran it outside tomcat it works just fine. I tried adding the server certificates to the keystore. My solution was to write my own https transport that uses a custom SSLSocketFactory. Thanks for your help, -Sean

CLASSPATH Problem

2003-01-02 Thread Vijay Shinde
Hi, I am using SOAP with Tomcat 4.0. I am running my samples from C:\soap-2_3\samples. Whenever i run any samples I need to physically copy the classes to C:\Program Files\Apache Tomcat 4.0\common\classes directory. I have already set C:\soap-2_3\samples directory in my classpath. Any suggestions

Re: SOAP - method return

2003-01-02 Thread Vijay Shinde
Scott, Thanx for your help. I solved my problem by making some changes in my method. Now i am creating a dummy Hashtable and populating them with the result of the Enumaration so i can just get a plain Hashtable in my method return type. In future i may need to return a java object.Thanx a lot for

Re: SOAP - method return

2003-01-02 Thread Scott Nichol
No. Vector$1 is not a Vector, it is a class that implements Enumeration. Scott Nichol - Original Message - From: "Vijay Shinde" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 1:41 PM Subject: Re: SOAP - method return > Thanx Scott, > can u se this class or

Re: SOAP - method return

2003-01-02 Thread Vijay Shinde
Thanx Scott, can u se this class org.apache.soap.encoding.soapenc.VectorSerializer and map it to Vector$1? Vijay Scott Nichol wrote: > The Hashtable mapping is implicit: you do not need it in your > deploymentdescriptor. > > As you can see, the error is actually finding a serializer for > java.ut

Re: PL HELP ME... URGENT HELP REQUIRED

2003-01-02 Thread Scott Nichol
I'm not sure, but I think the relative paths in your imports are a problem. If the "main" WSDL file is in the same directory as one it imports, the location attribute on the import element should be a simple file name. In other words, if InsuranceOrganizationServiceRMI.wsdl is in c:\bea\wlserver6

Re: PL HELP ME... URGENT HELP REQUIRED

2003-01-02 Thread Rakesh . Kumar
Scott GREAT.. THANX FOR QUICK REPLY . well my question even after configration like below i mean i have put all .xsd and wsdl under C: \bea\wlserver6.1\config\mydomain\applications\soap\kmg\wsdl directory of weblogic 6.1 but still i am not able to RUN the application I have set the below pa

Re: SOAP - method return

2003-01-02 Thread Scott Nichol
The Hashtable mapping is implicit: you do not need it in your deploymentdescriptor. As you can see, the error is actually finding a serializer for java.util.Vector$1. This class exists back to JDK 1.2; it is an anonymous class implementing the Enumeration interface defined by the Vector#elements(

Re: PL HELP ME... URGENT HELP REQUIRED

2003-01-02 Thread Scott Nichol
I am not sure what your question is. There are 2 WSDL files where you reference all the .xsd for your domain types, so I would think you would reference the .xsd for a Vector from both of those files. You will need to create the .xsd file yourself, I guess. Scott Nichol - Original Message -

Re: SOAP - method return

2003-01-02 Thread Vijay Shinde
Scott, Here are the details. I guess i need to provide the mapping in my DeploymentDescriptor.xml. Here is my descriptor. http://xml.apache.org/xml-soap/deployment"; id="urn:ldap"> org.apache.soap.server.DOMFaultListener http://schemas.xmlsoap.org/soap/encoding/"

Re: SOAP - method return

2003-01-02 Thread Scott Nichol
A couple of things: 1. Which line of your code is line 36 where the exception is occurring? 2. Your code should check for a SOAP Fault before doing getReturnValue(), e.g. Response resp = call.invoke(url, ""); if (resp.generatedFault()) { Fault fault = resp.getFault(); System.err.printl

Re: PL HELP ME... URGENT HELP REQUIRED

2003-01-02 Thread Rakesh . Kumar
Scott Nichol Thanx for ur help last time also u have helped for parsers.. well i have 4 wsdl for one class i am facing problem where and how to mention path for xsd any help will be appreciated TONS of thanx Kind regrds raky i have stored all files wsdl and xsd under " kmg.wsdl" directory

Re: Using SOAP + HTTP as a client within tomcat.

2003-01-02 Thread Scott Nichol
I have barely used SSL with Apache SOAP, but since no one else seems to be chiming in, I'll throw in a couple of thoughts. First, the SSL docs distributed with Apache SOAP are specifically form Tomcat at http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/ FAQ_Tomcat_SOAP_SSL.h

SOAP - method return

2003-01-02 Thread Vijay Shinde
Hi, I am doing LDAP call using soap .I want to return Hashtable from my method call. On my client site I am using following code to get my hashtable. Response resp = call.invoke(url, ""); Parameter p = resp.getReturnValue(); Hashtable values = (Hashtable)p.getValue(); I am getting following ex

Re: Cannot find trusted certificate when using SOAP/HTTPS

2003-01-02 Thread Scott Nichol
Jack, Please post Axis questions to [EMAIL PROTECTED] Thanks. Scott Nichol - Original Message - From: "Jack Byrne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 10:07 AM Subject: Cannot find trusted certificate when using SOAP/HTTPS > Hello, > > I am tryi

Re: PL HELP ME... URGENT HELP REQUIRED

2003-01-02 Thread Scott Nichol
Or, if it is an option, consider using an array for the parameter rather than a Vector. Besides being more interoperable (arrays are defined in the SOAP spec), you can declare data types more explicitly with arrays, since they allow you to specify the data type of the elements, whereas you cannot

Re: PL HELP ME... URGENT HELP REQUIRED

2003-01-02 Thread Scott Nichol
In addition to mappings for XML Schema types, Apache SOAP (and possibly Axis, too) provides implicit mappings for some Java types (such as Vector and Hashtable). Unlike the XML Schema types, however, there is no standard XML type for these Java types, so Apache SOAP uses its own custom types. In

Cannot find trusted certificate when using SOAP/HTTPS

2003-01-02 Thread Jack Byrne
Hello, I am trying to access an external site using SOAP and HTTPS. I am getting the following exception: As I am trying to access a Remote Server, do I need its certificate (I presume Public Key) to access the remote site. I have written a SOAP Client (using the autogenerated bindings from W

PL HELP ME... URGENT HELP REQUIRED

2003-01-02 Thread Rakesh . Kumar
Hello ALL I am connecting wsdl ( weblogic6.1) using .net and getting this error any help will be appreciated Thanx kind regrd raky SoapMapper:The schema definition with a targetnamespace of http://xml.apache.org/xml-soap for SoapMapper Vector could not be found HRESU