Re: Signing an Apache SOAP Message

2002-09-18 Thread Tariq Sultan
Scott,   thanx for considerinng my problem so seriously... i am using RPC API not the messaging API...   ---Original Message---   From: [EMAIL PROTECTED] Date: Wednesday, September 18, 2002 08:27:49 PM To: [EM

Re: From a Servlet

2002-09-18 Thread Vinayan Menon
Hi Scott. Thanks for the link... Its really helpful... I need one more clarification... I have an ejb, I need to expose as a SOAP service, How should I go about this ? Also this service needs to be invoked from the servlet mentioned earlier.. Regards. Vinay - Original Message - From

Re: web service with Gui

2002-09-18 Thread Neha Srivastava
hi, But if call.invoke was not executing - how could i get the result-returned values. that means- response.getReturnValue is executing. Everything is wrkng fine i am getting the results also but i am not able to see the soap messages. regards neha - Original Message - From: "Scott N

Re: Apache SOAP 2.3.1 on Mac OS X 10.1.5 - Jasper Exception

2002-09-18 Thread Scott Nichol
Another user recently had problems with an install on OS X 10.2 (http://marc.theaimsgroup.com/?l=soap-user&m=103219551400479&w=2), but the problem was solved when he found and removed a copy of soap.jar in /Library/Java/Extensions. That does not seem to be your problem. How did you install Apache

RE: Must use TcpTunnelGui on the same machine? how is Vector represented in Soap?

2002-09-18 Thread Jian Zhang
You are definitely right. -Original Message- From: Scott Nichol [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 3:06 PM To: [EMAIL PROTECTED] Subject: Re: Must use TcpTunnelGui on the same machine? how is Vector represented in Soap? The envelope you show looks like an em

Re: Must use TcpTunnelGui on the same machine? how is Vectorrepresented in Soap?

2002-09-18 Thread Scott Nichol
The envelope you show looks like an empty Vector. Are you sure you've added elements to the Vector you are using as the parameter? Scott Nichol - Original Message - From: "Jian Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 2:42 PM Subject: RE: Mu

RE: Must use TcpTunnelGui on the same machine? how is Vector repr esented in Soap?

2002-09-18 Thread Jian Zhang
Sorry guys. It was caused by a bug. Although the search criterion list was constructed properly, an empty list was sent to the server. That is why I saw nothing in the request message. Thanks, -Original Message- From: Jian Zhang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18

RE: Must use TcpTunnelGui on the same machine? how is Vector represented in Soap?

2002-09-18 Thread Jian Zhang
The method signature that I use is: public HitList search (Vector criteria) { . } When I call this method, I pass a Vector which contains a Criterion object that contains String fields such as name, search values, etc. The SOAP message is as below: ---

RE: Must use TcpTunnelGui on the same machine? how is Vector represented in Soap?

2002-09-18 Thread Jian Zhang
Thanks a lot. The code works after I changed it to make it work with JDK 1.3 -Original Message- From: Scott Nichol [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 6:14 PM To: [EMAIL PROTECTED] Subject: Re: Must use TcpTunnelGui on the same machine? how is Vector represented

Re: From a Servlet

2002-09-18 Thread Scott Nichol
I'm not sure why you would use a SOAP call instead of using RMI. For an example of making a SOAP call from a servlet, see http://www.scottnichol.com/apachesoapservletclient.htm. Scott Nichol - Original Message - From: "Vinayan Menon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wed

Re: Invalid signature

2002-09-18 Thread Scott Nichol
Might you be calling a static method on a service not declared static? Scott Nichol - Original Message - From: "Ray Byrne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 10:45 AM Subject: Invalid signature > Hi, > > I have a client, which is connecting

Invalid signature

2002-09-18 Thread Ray Byrne
Hi, I have a client, which is connecting to a SOAP service. The Response returned after invoking the Call object generates a fault: Fault Code = SOAP-ENV:Client Fault String = Invalid signature Anybody come across this before? the method I am calling takes a String as a parameter and I am s

Re: Signing an Apache SOAP Message

2002-09-18 Thread Scott Nichol
Also, do you have a need to use the RPC API (Call object, etc.) or can you use the messaging API? Scott Nichol - Original Message - From: "Tariq Sultan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 10:13 AM Subject: Re: Signing an Apache SOAP Message

Re: Signing an Apache SOAP Message

2002-09-18 Thread Tariq Sultan
I want to access XML for both requested message and response message   ---Original Message---   From: [EMAIL PROTECTED] Date: Wednesday, September 18, 2002 08:02:15 PM To: [EMAIL PROTECTED] Subject: Re: Signing an

Re: Signing an Apache SOAP Message

2002-09-18 Thread Scott Nichol
Do you want to access the XML for a received message, or for a message being sent? Scott Nichol - Original Message - From: "Tariq Sultan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 9:32 AM Subject: Re: Signing an Apache SOAP Message Can anybody

Re: web service with Gui

2002-09-18 Thread Scott Nichol
> But TcpTunnelGui is still not wrkng with my servlet client. > it is wrkng with simple client. > > I have used the same command- > > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080 > > I am able to see the Windows but not the messages. > I have given endpoint url in the client as > >

Re: web service with Gui

2002-09-18 Thread Scott Nichol
> why do we give defaultEndpointURL in getInitParameter.? > > url = getServletConfig().getInitParameter("defaultEndpointURL"); This just provides a default value if the user does not enter a URL. The other code is: String url = req.getParameter("endpointURL"); if (url == null || url.le

Re: (SOAP-ENV:Protocol): Unsupported response content type "text/html"

2002-09-18 Thread Scott Nichol
When an "internal" error occurs with many Web servers or servlet containers, a "normal" HTML response is returned, which is what you are seeing. To fully understand what is going wrong, you might need to capture the response using TcpTunnelGui or another network monitoring application. Scott Nic

Re: SOAP RPC problems with complex types

2002-09-18 Thread Martin Gainty
Can we see the code used by the trailer.dllhttp://tims.moveyourselftrailer.com.au:8000/scripts/trailer.dll/soap/ITrailerIt is possible that your Date fields would be declared as Date instead of CalendarAlso we would need to check the Hire.dllhttp://tims.moveyourselftrailer.com.au:8000/scripts/Hire.

Re: classpath question

2002-09-18 Thread Scott Nichol
See http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/classpath.html for information on setting the classpath. The JVM does *not* look for .jar files in specified directories; they must be listed explicitly. Scott Nichol - Original Message - From: "Neha Srivastava" <[EMAIL PROTECTED]

Re: SOAP RPC problems with complex types

2002-09-18 Thread Scott Nichol
You cannot always use classes generated by Axis in your Apache SOAP code. You are experiencing one of the reasons why. While Axis maps xsd:dateTime to Calendar, SOAP maps it to Date. Thus WSDL2Java generates a THireInfo with Calendar members, while SOAP deserializes a Date. If you use the class

Re: Signing an Apache SOAP Message

2002-09-18 Thread Tariq Sultan
    Can anybody tell me how to get XML document from the SOAP Message created by Apache SOAP. I just want to save the SOAP Message in form of Simple XML on a storage device.     ---Original Message---   From: [EMAIL PROT

Re: websphere 4.0 SOAPException Please Help!

2002-09-18 Thread Scott Nichol
Unfortunately, it's hard to help with the WAS implementation, since you cannot just plug in a new build that has more specific messages. Have you used a tool like TcpTunnelGui to capture the SOAP envelope from the call? I am wondering exactly what is being de-serialized when this error occurs.

Re: Signing an Apache SOAP Message

2002-09-18 Thread Scott Nichol
I have not heard of anyone doing this successfully. There is a post from someone who was not successful (at the time, at least): http://marc.theaimsgroup.com/?l=soap-dev&m=102490144518531&w=2. This user was using normal serialization, however. It could be that if you use the messaging intefaces

Signing an Apache SOAP Message

2002-09-18 Thread Tariq Sultan
  Hi All,     I am a new comer to this list. I am using Apache SOAP for remote procedure calling. Now i want to use XML digital signature to sign my SOAP messages and then validate them on server side. Can anybody pl. point me towards some examp

websphere 4.0 SOAPException Please Help!

2002-09-18 Thread O'Neill, Timothy(LIT)
Hi All,   I have deployed an ear file using websphere and am getting the following SOAPException:   [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to set 'companyCode' property: null.; targetException=java.lang.IllegalArgumentException: Unable to set 'companyCode' property: null.]