SOAP Apache 2.2 and header blocks.

2002-11-19 Thread Cyril Vidal
Hi,   I have problem to set a Header into a SOAP Message with Apache SOAP 2.2 Here's the code to add a header to my message, but unfortunately, it doesn't seem to work. When I look at the message by example through TunnelGui, I can't see my header. Does Apache support the Header blocks or not

Re: Unable to initialize context error with EJB on IPlanet (iAS 6.0)

2002-11-19 Thread Fergus O'Dalaigh
Thanks for all your replies. As I originally suspected, the problem was a JNDI naming problem. As I know how frustating it can be for someone starting to get all this going, I'll give a short explanation what I did to get it working. Here is the deployment descriptor: http://xml.apache.org/xml

Re: Unable to resolve target object

2002-11-19 Thread Philippe Burger
I GET IT When i unpacked the soap.war file to put my classes in /webapps/soap/WEB-INF/classes/packagename/, I forgot to set the WebAppDeploy to 'soap' in my Apache configuration file ( it was set on soap.war, so the classes could'nt be seen) Thank you Phil - Original Message - From: "Sc

Re: Unable to initialize context error with EJB on IPlanet (iAS 6.0)

2002-11-19 Thread Scott Nichol
Fergus, Thanks for letting us know what worked for you. I have added a section to the iPlanet installation instructions showing your deployment descriptor. Scott Nichol - Original Message - From: "Fergus O'Dalaigh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19,

Accessing web service from an applet

2002-11-19 Thread John Kirksey
Hello, I am new to Java web services; all of my experience is with Microsoft's SOAP toolkit.   Is it possible to access a web service from an applet? I am a part time Information Systems student, and I want to have an applet that connects to a stock quote service (among other things).   I hav

Re: Accessing web service from an applet

2002-11-19 Thread Alex Dovlecel
Hi This is all that I know and in fact I never used applets. So if there is someone qualified to explain this better... All I can say is this is related to java architecture. In fact this is the way it should happen. An appled is runned in a sandbox. That means that you are not allowed to do

Re: Accessing web service from an applet

2002-11-19 Thread Scott Nichol
For security reasons, an applet can only connect to the host from which is was loaded. See, e.g., http://java.sun.com/sfaq/#socket. The two things I have done to get around this are (1) set up a proxy on that host or (2) delegate actions to servlets. In your case, you could also consider writing

Re: Accessing web service from an applet

2002-11-19 Thread Scott Nichol
Information on the Java plug-in is at http://java.sun.com/j2se/1.4.1/docs/guide/plugin/developer_guide/overvie w.html. As suggested by Alex, you can probably use this and signed applets to get around the original applet security restrictions. Scott Nichol - Original Message - From: "Scot

Re: Accessing web service from an applet

2002-11-19 Thread John Kirksey
Thanks to all for the advice, I'll let you know how it goes! Regards, John Kirksey - Original Message - From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 10:51 AM Subject: Re: Accessing web service from an applet > Information on the Jav

Re: Accessing web service from an applet

2002-11-19 Thread Tom Myers
John Kirksey wrote: Is it possible to access a web service from an applet? I am a part time Information Systems student, and I want to have an applet that connects to a stock quote service (among other things) java.security.AccessControlException: access denied (java.net.SocketPermission 66.

VB6 client to SOAP service using String Arrays

2002-11-19 Thread Fergus O'Dalaigh
Hi SOAPers, I have a SOAP service that accepts a String array as a parameter. I've written an java client to access it no problemo using... ... params.addElement(new Parameter("names", String[].class, names, null)); ... Now I'm trying to write a Visual Basic 6 client to access it but

Re: SOAP Apache 2.2 and header blocks.

2002-11-19 Thread Scott Nichol
What do you see if before you call Message#send you do System.println(env.toString()); Scott Nichol - Original Message - From: "Cyril Vidal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 6:01 AM Subject: SOAP Apache 2.2 and header blocks. Hi, I hav

Re: VB6 client to SOAP service using String Arrays

2002-11-19 Thread Scott Nichol
On what line of VB code does the error occur? Can you post service2.wsdl to this list? Scott Nichol - Original Message - From: "Fergus O'Dalaigh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 11:53 AM Subject: VB6 client to SOAP service using String Arrays

servlet Cookie vs SOAP Cookie

2002-11-19 Thread David Q Levitt
In my portlet I've obtained the LtpaToken cookie, which is an instance of javax.servlet.http.Cookie. For the purpose of Single Sign On, I want to pass this cookie to a web service via the SOAP request. I downloaded the latest SOAP jar which contains a Call.invoke() method that accepts a Hash

Re: VB6 client to SOAP service using String Arrays

2002-11-19 Thread Fergus O'Dalaigh
The error occurs on the invocation of the service (3rd line below). Set client = CreateObject("MSSOAP.SoapClient") client.mssoapinit "helloworld.wsdl", "", "", "" MsgBox client.sayHello("hola") Here is the wsdl file I generated using java2WSDL: http://schemas.xmlsoap.org/wsdl/"; xm

Re: servlet Cookie vs SOAP Cookie

2002-11-19 Thread Scott Nichol
You could try Hashtable headers = new Hashtable(); headers.add("Cookie", ssoCookie.getName() + "=" + ssoCookie.getValue()); ... call.invoke(.., .., headers); Scott Nichol - Original Message - From: "David Q Levitt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2

Re: VB6 client to SOAP service using String Arrays

2002-11-19 Thread Scott Nichol
client.sayHello("hola") uses a string parameter, not string array. Your VB parameter must be type-compatible with the WSDL type. Scott Nichol - Original Message - From: "Fergus O'Dalaigh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 12:18 PM Subject: Re: V

NoClassDefFoundError: org/apache/soap/Envelope

2002-11-19 Thread Paul J. Caritj
Greetings, I have an annoying little problem pertaining to SOAP-Messaging. When I attempt to invoke a soap messaging service I get the following fault (shown in relevant part): /soap/servlet/messagerouter java.lang.NoClassDefFoundError: org/apache/soap/Envelope at java.lang.Class.getDecl

Re: NoClassDefFoundError: org/apache/soap/Envelope

2002-11-19 Thread Scott Nichol
Paul, You have probably put your service class at a different level than Apache SOAP in the Tomcat class loader delegation chain. Because messaging service classes rely on Apache SOAP classes (Envelope, SOAPContext), they must be loaded by a class loader that can also load the Apache SOAP classes