Re: sending files through SOAP

2002-07-11 Thread Niket Anand
Hello Jean, I liked your suggestion regarding sending files through SOAP. You mentoned about DataHandler. It would be great help if you can send me some code snippet or any example so that it would be more clear to me. Thanks, Niket - Original Message - From: "Jean-Louis Vila" <[EMAIL PROT

Re: Cookie fix

2002-07-11 Thread Scott Nichol
I am a light Axis user, but not a developer. As a user, though, I have looked at the source more than a few times. Axis has the same cookie issues that Apache SOAP used to have. The source file is /xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java. In the readFromSocket method,

cvs commit: xml-soap/java/src/org/apache/soap/transport/http Cookie.java

2002-07-11 Thread snichol
snichol 2002/07/11 15:03:12 Modified:java/src/org/apache/soap/transport/http Cookie.java Log: Check for the use of the Netscape Expires attribute which is *not* in any RFC and does not escape its embedded comma by using quotes. (Presumably, any Set-Cookie header that includes t

Re: Xerces 1.4.4 won't schema validate this...

2002-07-11 Thread Scott Nichol
xerces-j-dev or xerces-j-user. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 3:23 PM Subject: Re: Xerces 1.4.4 won't schema validate this... > > You're right Scott...my bad...I was thinking xerces but typin soapjust > for future

HelpRequired Soap with attachments

2002-07-11 Thread Ramya Virudhs
Hi , I am new to SOAP and am trying to develop a proto using SOAP..Here are the details.. The software .. Tomcat Ver 4.0 My SQL Ver 3.23 Java Web Services Developer Pack 1.0JDK 1.3.1 The scenario .. I am trying to develop a simple mailing application using SOAP,jsp servlets and mysql..

Re: Xerces 1.4.4 won't schema validate this...

2002-07-11 Thread dswanson1
You're right Scott...my bad...I was thinking xerces but typin soapjust for future reference what is the email list/ng for xerces? btw I think I found my own problem...my contenthandler had a bug in it...looks like it validates now. -- To unsubscribe, e-mail: Fo

Re: cookies

2002-07-11 Thread Scott Nichol
I misread the Netscape spec. The semicolons are separating attributes from one another (just like the RFCs), not cookies from one another. Further, a quick look at some servers I have available shows that Expires is commonly used. So much for IETF standards! I will add proper handling of this

Re: cookies

2002-07-11 Thread Scott Nichol
Regarding "There is a comma in Max-Age/expires field", while I see that there is a comma in the Netscape Expires value (Expires did not make it to RFC level), I do not see how there could be a comma in Max-Age. Specifically, both RFC 2109 says "The Max-Age attribute defines the lifetime of the coo

Re: Xerces 1.4.4 won't schema validate this...

2002-07-11 Thread Scott Nichol
Not to duck a quesion, but have you tried posted to one of the xerces lists? Your problem, as well described in your subject, can be narrowed down to xerces (rather than being more generally related to Apache SOAP). Scott Nichol - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL

Xerces 1.4.4 won't schema validate this...

2002-07-11 Thread dswanson1
I'm using IBM's Websphere to develop/deploy a webservices application that accepts strings (xml docs) as arguments. I need to validate the incoming documents against a schema. When I run the code below I get a null pointer exception from the XML parser. I know I should update to a newer version

Re: Sending/Receiving objetcs. Please, Please, Please ... help.

2002-07-11 Thread Indrasish N Basuroychowdhury
Thanks Scott, I will look into it. But may require your help again. Indrasish. Scott Nichol wrote: > The AddressBook sample in Apache SOAP is an example of serializing objects > that are Java Beans. This is done with the BeanSerializer. > > The best text documentation for Apache SOAP is inclu

Re: Security in Web Services?

2002-07-11 Thread Scott Nichol
For info on what I would consider the emerging standard, do a Google search on WS-Security. Today, there is a lot of hand-rolling security, usually SSL for privacy combined with one of three authentication types (1) HTTP Basic auth (which you can deal with in a J2EE-standard way), (2) SSL client

Security in Web Services?

2002-07-11 Thread Miguel Perez
Title: Security in Web Services? How is security normally implemented when dealing with web services? I know the connection from the client to the server can be sent over HTTPS. However, how do tools like Single Sign-On tools come in to play. Can cookies be passed from the client to the server

Re: BadTargetObjectURI problem:: Please guide me !!!

2002-07-11 Thread Nishant_Awasthi
Scott. You got it... This is absolutely the same thing I wanted to do Let me try to figure out how this can be done I will email you if I have some problem.. Thanks -- Nishant Aw

Re: Sending/Receiving objetcs. Please, Please, Please ... help.

2002-07-11 Thread Scott Nichol
The AddressBook sample in Apache SOAP is an example of serializing objects that are Java Beans. This is done with the BeanSerializer. The best text documentation for Apache SOAP is included with the distribution. The User's Guide includes some information on Creating Type Mappings, although not

Sending/Receiving objetcs. Please, Please, Please ... help.

2002-07-11 Thread Indrasish N Basuroychowdhury
Hope people do not get tired with me as I am sending this message repeatedly. I need help for sending/receiving objects as well as serializing/deserializing them. Can anyone help me in findinf example of how to do it and what type of objects I can send and receive (I know String Boolean, Int, Dou

cvs commit: xml-soap/java/docs changes.html

2002-07-11 Thread snichol
snichol 2002/07/11 08:45:54 Modified:java/src/org/apache/soap/server/http ServerHTTPUtils.java java/docs changes.html Log: Remove deadlock for a service that in the constructor invokes another service when both services are at application scope. The deadlock stil

Re: BadTargetObjectURI problem:: Please guide me !!!

2002-07-11 Thread Scott Nichol
> You have correctly visualized the whole situation: > > >First, let me try re-phrasing what you've said to see if I understand. > >1. An Apache SOAP service is deployed on machine A. > >2. An HTML page is on machine B. > >3. The HTML page has a form that will invoke a servlet on machine ? when >

Re: BadTargetObjectURI problem:: Please guide me !!!

2002-07-11 Thread Nishant_Awasthi
Hello Scott You have correctly visualized the whole situation: >First, let me try re-phrasing what you've said to see if I understand. >1. An Apache SOAP service is deployed on machine A. >2. An HTML page is on machine B. >3. The HTML page has a form that will invoke a servlet on machine ? whe

Re: Constructor Deadlock

2002-07-11 Thread Scott Nichol
Adam, Thanks for the contribution. Your technique is better than what is currently used and will be applied to the code. The one thing that appears to be missing is that you do not change the code } else if (scopeLock == context) { context.setAttribute (targetID, targ

Re: BadTargetObjectURI problem:: Please guide me !!!

2002-07-11 Thread Scott Nichol
First, let me try re-phrasing what you've said to see if I understand 1. An Apache SOAP service is deployed on machine A. 2. An HTML page is on machine B. 3. The HTML page has a form that will invoke a servlet on machine ? when submitted. 4. The servlet will invoke the SOAP service on machine A.

Re: Practical changes to rpcrouter and ServerHttpUtils?

2002-07-11 Thread Scott Nichol
Michael, The "official" way to do this was added for either release 2.2 or 2.3 (I don't ecall which). You might notice in RPCRouter#invoke that if no method in the service class has the appropriate signature, there is a search for a method with the same signature, but with an additional lead par

Re: no object DCH for MIME type multipart/related

2002-07-11 Thread Amazing Arny
Thanks for your reply. I found out what was wrong, the mail-jar was corrupted. thanks Arny >From: Scott Nichol <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: no object DCH for MIME type multipart/related >Date: Thu, 11 Jul 2002 10:21:39 -0400 > >I am not

RE: Constructor Deadlock

2002-07-11 Thread Adam Moore
Scenario: We have a class that implements a SOAP service. Service scope is set to "application". In the constructor of that class we make a call to a different service that is running on the same machine. Since these are different services with different service ids everything should run fine,

Re: BadTargetObjectURI problem:: Please guide me !!!

2002-07-11 Thread Nishant_Awasthi
Hello Scott... I want to add a SOAP ENVELOPE in my java servlet such that It should be able to detect the webservice and give me the response. Let me make it more clear. 1. I want to depoly a service first of all on say MACHINE A. 2. Then On MACHINE B, I want to run a simple html page which wi

Re: no object DCH for MIME type multipart/related

2002-07-11 Thread Scott Nichol
I am not familiar with JDeveloper. Besides its own JDK, what other components does it install, e.g. does it have its own versions of tomcat, soap, javamail? Assuming it installs its own jars, are you using those when you use the non-Oracle JDK, or are you using other versions you installed separ

Re: ClassDefNotFound

2002-07-11 Thread Scott Nichol
What makes you think you installed the soap server OK? You cannot even access index.html. Based on the information you provided, the only suggestion I have is to try a version of the JDK earlier than 1.4. If you want more assistance, please provide more information, such as software versions an

Practical changes to rpcrouter and ServerHttpUtils?

2002-07-11 Thread Michael.Szalay
Hi all, I had to develop a SOAP access to a service which runs on Jetty Servlet Engine. We used SOAP to integrate a client, which runs on Win2k deep in the system. The service object deployed on SOAP needs to know the IP of the client, so it had to have access to the servletContext and the re

Re: BadTargetObjectURI problem:: Please guide me !!!

2002-07-11 Thread Nishant_Awasthi
Hello Scott... Good News !!! Everything is working fine now I have just ran my first SOAP application successfullyand its all because of you. You have given me hope by making consistent replies to my emails I have found something interesting here while configuring all the things: 1