Orion credentials in stateless session bean provider

2001-07-26 Thread Yuri Schimke
--- (Scanned for viruses ) --- StatelessEJBProvider.java.patch was scanned and no virus was found. StatelessEJBProvider.java was scanned and no virus was found. - Hi, We are using the StatelessEJBProvider but ran into a problem of Orion

Urgent help.....newbie

2001-07-26 Thread chetan janbandhu
Hi I am learning and trying out Apache SOAP v2.2. i am using xerces 1.4.1 and classpath is also properly set. i am writing a rpc client in java to fetch services listed out in www.xmethods.com. I am getting the following error for a net dealer service listed out: Caught SOAPException Fault C

SOAPHTTPConnection and session cookies

2001-07-26 Thread Warwick Slade
The code within SOAPHTTPConnection stores the header values in a hashtable.   To find the Set-Cookie header a get() is performed on the hashtable and hence performs a case sensitive search.   If the Web Server returns the header Set-cookie it will be ignored, currently iPlanet Web Server do

Re: Parsing error...

2001-07-26 Thread Scott Nichol
> Or a simpler thing to do at any point would be something like > > ClassLoader loader = Thread.currentThread().getContextClassLoader(); > if (loader instanceof URLClassLoader) { > URL[] urls = loader.getURLs(); Make that URL[] urls = ((URLClassLoader)loader).getURLs();

Re: Apache SOAP V2.2 client using SSL behind a proxy doesn't work

2001-07-26 Thread David Melgar
Did anyone verify if SSL through a proxy works or not with the apache SOAP client? I've tried it and have been unable to get it to work. Is anyone pursuing a fix, such as the one proposed in the note from a while ago... Apparently communicating through a proxy with SSL required some extra tunneli

Re: Parsing error...

2001-07-26 Thread Scott Nichol
Or a simpler thing to do at any point would be something like ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader instanceof URLClassLoader) { URL[] urls = loader.getURLs(); for (int i = 0; i < urls.length; i++) System.out.println(ur

Re: Parsing error...

2001-07-26 Thread Scott Nichol
As long as you are adding debug, if you can alter code where you can get access to the ServletContext, it would be interesting to see the result of a call to getAttribute("org.apache.catalina.jsp_classpath"). This appears to be the classpath used by the class loader for the servlet. Scott -

Re: Parsing error...

2001-07-26 Thread David Turner
Hi Scott, I did place xerces and even jaxp at the beginning of tomcat's classpath. That's what bothers me. Scott Nichol wrote: > Crimson is the XML parser that ships with Tomcat. If you've done nothing to > the Tomcat classpath or to the environment to coerce JAXP into loading the > Xerces par

Re: Parsing error...

2001-07-26 Thread David Turner
Further debug info: I stuck a couple of println's in the DOMUtils.getAttributeNS() method just prior to the line: Attr attr = el.getAttributeNodeNS(namespaceURI, localPart); Here's the output, and below that is the modifications I made to the method. DBT: in DOMUtils.getAttributeNS()... D

Re: Parsing error...

2001-07-26 Thread Scott Nichol
Crimson is the XML parser that ships with Tomcat. If you've done nothing to the Tomcat classpath or to the environment to coerce JAXP into loading the Xerces parser, it is the parser that will be used by Apache SOAP. It is not clear to me in the Tomcat 4 beta 6 I downloaded which version of Crim

Re: Parsing error...

2001-07-26 Thread David Turner
Scott, Here's a little more info on this issue that I'm running into. I've tracked this down to a line in RPCMessage.unmarshall() method: Bean paramBean = smr.unmarshall(actualParamEncStyle, RPCConstants.Q_ELEM_PARAMETER,

Re: Parsing error...

2001-07-26 Thread Scott Nichol
Sorry that I missed the fact your error was trying to deploy the services, not run them. I'll try installing Tomcat 4 if I get the chance today or tomorrow. Scott - Original Message - From: "David Turner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 10:01 AM

Re: using XML as a string in Java client

2001-07-26 Thread Pete Roth
Thanks for the code. This is helpful but would of been the next problem. What I really need though is a way use that String with the Apache libs. So that instead of having the Apache libs build the XML. I could pass the XML stored in a String ,which the below method built, to the Apache librari

Re: response from method is zero in my Apache Java client

2001-07-26 Thread Pete Roth
Wow! That was a nice hack you gave me. It works perfect. Thanks a ton!! I've been dealing with that problem for about 2.5 days now. Do you know if this is a problem with the most recent .NET beta 2 release? I'm wondering how anyone got a Java client to work with a .NET server before me? I co

RE: response from method is zero in my Apache Java client

2001-07-26 Thread Gopinadh Bandaru
i am not able to connect to soap server through apache ssl. When i tried the same one through browser its working fine Any help is apprecitable Error:: SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: org.apache.soap.util.net.SSLUtils; targetException=java.lang.IllegalArgume

Re: response from method is zero in my Apache Java client

2001-07-26 Thread Simon Laws
Pete The problem seems to be that some versions of .Net require that the paramaters be explicitly specified as being in the same namespace as the method name. Looking at the Apache code you don't seem to be able to turn off the 'ns1' prefixing the method name or specify that the parameter names s

Schema Validation problem

2001-07-26 Thread dswanson1
I'm trying to validate a document against a Schema and I'm getting the following error... Runing VAJ 3.5, NT4.0 sp6, Xerces 1.4, Xalan 2.0.1 Debugger Stack Trace Report: Thread[main,5,main] (Alive) Problem in org.apache.xerces.utils.regex.Op org.apache.xerces.utils.regex.RegularExpression.compi

AW: Exception in samples with soap 2.2

2001-07-26 Thread Ralf Neeb
Hello Scott, now it works!!! Thanks!! Ralf > -Ursprüngliche Nachricht- > Von: Scott Nichol [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 26. Juli 2001 16:05 > An: [EMAIL PROTECTED] > Betreff: Re: Exception in samples with soap 2.2 > > > The ..\lib\parser.jar in your Tomcat classpat

Re: Exception in samples with soap 2.2

2001-07-26 Thread Scott Nichol
The ..\lib\parser.jar in your Tomcat classpath does not support namespaces. You should point that to crimson.jar instead. Scott - Original Message - From: "Ralf Neeb" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 9:52 AM Subject: AW: Exception in samples with

Re: Parsing error...

2001-07-26 Thread David Turner
Hi Scott, I'm using tomcat 4.0 on a Tru64 machine. I can't run my stuff or the samples because the problem I described occurs when deploying the services. Scott Nichol wrote: > You've done some thorough investigating, but I am curious whether the > samples work. > > What servlet container are y

AW: Exception in samples with soap 2.2

2001-07-26 Thread Ralf Neeb
Hello Scott, > You need a jaxp parser in your classpath as well as your servlet > container's > classpath. I believe xalan is just the XSL processor. You > probably want to > add crimson.jar. I've daone it but it doesn't work :( so the new CLASSPATH i've used in the Tomcat is: Using CLASSPATH

RE: response from method is zero in my Apache Java client

2001-07-26 Thread Hansen, Richard
I would say this is an MS bug. I am no XML expert but as long as the "ns1" namespace is correctly declared, as it appears to be, and the message is well formed and valid XML the server should not care. Rick > -Original Message- > From: Pete Roth [mailto:[EMAIL PROTECTED]] > Sent: Thursda

Re: Exception in samples with soap 2.2

2001-07-26 Thread Scott Nichol
You need a jaxp parser in your classpath as well as your servlet container's classpath. I believe xalan is just the XSL processor. You probably want to add crimson.jar. Scott - Original Message - From: "Ralf Neeb" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 200

Re: using XML as a string in Java client

2001-07-26 Thread dswanson1
Peter, We're doing exactly what you're trying to do...I would recommend not building a string and converting to xml...here is a test method that uses the apache utils package for writing out a dom document to a string protected static String getSourceDocument(String aURL) throws Except

Exception in samples with soap 2.2

2001-07-26 Thread Ralf Neeb
Hello, I will get the following exception if I try to run following command line: Classpath=.;D:\java\jaxp-1.1\xalan.jar;U:\download\sun\soap-bin-2.2\soap-2_2 \lib\soap.jar;U:\download\sun\javamail-1_2\javamail-1.2\mail.jar;U:\download \sun\jaf 1_0_1\jaf-1.0.1\activation.jar java org.apache.soa

"JNDi authentication and Session management in Apache SOAP"

2001-07-26 Thread dube, shachi
Title: "JNDi authentication and Session management in Apache SOAP" I m working on a project in which we are planning to use Apache SOAP with  Weblogic. I m new to SOAP, And I m facing  a problem  which is as follows : I want to authenticate the user via JNDI method, something like env.put

security question again

2001-07-26 Thread Bernd Koecke
Hi, a few days ago, I send a suggestion for an additional Config-Param in Soap-Configuration. I didn't get any response. Do I miss something, or have I been to impatient? Is my problem solvable with the current apache-SOAP? Or is it uninteresting to think about the security in apache-SOAP? It see

using XML as a string in Java client

2001-07-26 Thread Pete Roth
I am trying to write a Java Client using the Apache libraries with a MS (Microsoft .NET beta 2) server. Is there anyway to pass the XML just as a string to the Call object (or some other way) when using the Java Apache SOAP libraries? The XML the Apache libs generate does not work for my server

response from method is zero in my Apache Java client

2001-07-26 Thread Pete Roth
Ok I am still having this problem. I am passing two values to the MS (Microsoft .NET beta 2) SOAP server to a method, "test_AddThem" which returns, gasp, the value of the two numbers added together. If I pass the exact XML the server requires, using an example without the Apache libraries which

Re: Sending mixture of datatypes....

2001-07-26 Thread William Brogden
> Susheel Chauhan wrote: > > Hello all, > I have my Apache soap service that have method with following > signatures > > public static String log(long a_lErrorId,long a_lUserId, String > a_strErrorDetails,String a_strErrorSource, > String a_strClassName, String a_strMethodName,String > a_strA

soap with apache ssl::

2001-07-26 Thread Gopinadh Bandaru
I am getting this error when i trying to access soap through apache(ssl with sslVerifyClient 0). [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: org.apache.soap.util.net.SSLUtils; targetException=java.lang.IllegalArgumentException: Error opening socket: org.apache.soap.ut