SOAP attachments and ContentIDs in body

2003-01-09 Thread Jesus M. Salvo Jr.
Is there anyway for the SOAP body to reference the content ID of the attachment? If no, is there a better way of creating contentIDs for the attachments than the one mentioned in my next sentence? At the moment, I pre-assign a contentID ( a simple sequence of numbers such as "1234" ), use it a

Re: a problem while run the soap example

2003-01-09 Thread Scott Nichol
The getquote example uses a third-party service that is no longer in operation. Therefore, the failure you see is expected. If you download a nightly build of Apache SOAP (http://cvs.apache.org/dist/soap/nightly/), it has a modified sample that uses a different third-party service. Scott Nichol

Re: Can I override the MimePartSerializer?? - Need Help Soon

2003-01-09 Thread Scott Nichol
Unfortunately, DataHandlers are serialized as attachments, and attachments are always deserialized as DataHandlers. Therefore, your deserializer cannot work with the existing Apache SOAP code. A fairly simple alternative would be to have an Image [de-]serializer that delegates to the Base64Serial

a problem while run the soap example

2003-01-09 Thread li xu
when I run the soap example getquote I get the following exceptionss(it seems about the response head mime type should be text/xml): C:\foo\soap-2_3_1>java samples.stockquote.GetCountApp Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "

Can I override the MimePartSerializer?? - Need Help Soon

2003-01-09 Thread Vamsi Krishna
hi All, My service has a method - saveJPEG(String name, java.awt.Image img) taking a name and a jpeg image and saving that jpeg with that name in a specified directory. I am using SOAP RPC. Since there is no Serializer/Deserializer for Image type, i created my ImageSerializerDeserializer. The

Re: HTTP Status Problem

2003-01-09 Thread Scott Nichol
Have you run through TcpTunnelGui or something else like proxyTrace (www.pocketsoap.com) to see what the server is sending you? It looks like it is disconnecting before sending the HTTP status line. Scott Nichol - Original Message - From: "Brent Cerrato" <[EMAIL PROTECTED]> To: <[EMAIL P

Re: Schema validation

2003-01-09 Thread Scott Nichol
There is no schema validation built in. Most of the contents of the envelope would be described by the schema information in a WSDL file, but Apache SOAP does not support WSDL. If you want to validate, you could do it in an envelope editor (see http://xml.apache.org/soap/docs/guide/transhooks.htm

OT: Schema validation

2003-01-09 Thread Jesus M. Salvo Jr.
Since Apache SOAP uses JAXP ... and there does not seem to be a way in either JAXP or Xerces 2 to have DTD validation OFF but have Schema validation ON, ... what do you guys do with schema validation of SOAP envelopes? -- Jesus M. Salvo Jr. Mobile Internet Group Pty Ltd (formerly Softgame

Re: HTTP Status Problem

2003-01-09 Thread Martin Gainty
Brent- The HTML message you are parsing is "".May want to take a look at the other end to figure out who is sendingĀ a NULLĀ message to you.. Regards, Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attac

Re: HTTP Status Problem

2003-01-09 Thread Scott Nichol
Any chance you are using a nightly build from between Nov. 12 and Nov. 18? This sounds like a bug that was present in the code at that time. Scott Nichol - Original Message - From: "Brent Cerrato" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 5:36 PM Subjec

RE: HTTP Status Problem

2003-01-09 Thread Brent Cerrato
My soap.jar file is from 12/3. ~brent > -Original Message- > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 09, 2003 5:56 PM > To: [EMAIL PROTECTED] > Subject: Re: HTTP Status Problem > > > Any chance you are using a nightly build from between Nov. 12 and Nov. >

HTTP Status Problem

2003-01-09 Thread Brent Cerrato
I am receiving the following exception when attempting to call a remote procedure, any ideas? [SOAPException: faultCode=SOAP-ENV:Client; msg=Error parsing HTTP status line "": java.lang.Exception: Reached end of stream while reading HTTP response status; targetException=java.lang.Exception: Re