ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Nilsson TACMa <l...@tac.se>
Subject RE: Attachments through COMProvider
Date Fri, 08 Nov 2002 15:01:55 GMT
Great, I had almost given up on this.
Looking forward to any suggestions. 
/Leif

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Friday, November 08, 2002 15:49
To: soap-dev@xml.apache.org
Subject: Re: Attachments through COMProvider


I have not forgotten about this, but I'm still thinking it over.

Scott Nichol
----- Original Message -----
From: "Leif Nilsson TACMa" <leni@tac.se>
To: <soap-dev@xml.apache.org>
Sent: Monday, October 28, 2002 1:10 PM
Subject: Attachments through COMProvider


Hi!

We send XML-files through Apache Soap.
There is a COM-server accessed via Apaches COMProvider.
The best way to send files as discussed is through attachments.
The only way I have figured out to do this via the ComProvider is to
alter
the
 org.apache.soap.providers.com.RPCProvider.java code.

I'm sure there is a better way but I will explain what I have done.
  I have added an option for the COmProvider DeploymentDescriptor
(attachString), which if present and set to true will cause
  Strings returned from COM-servers to be packaged in a DataHandler
object
using UTF-8 coding.

Any suggestions for how to do this better / cleaner ?
Cf. attached java code.
 <<Original RPCProvider.java>>  <<RPCProvider.java>>

Leif Nilsson
Software Engineer

TAC AB
Jägershillgatan 18
SE-213 75 Malmö, Sweden
Direct +46 40 38 69 56
Fax +46 40 21 82 87
Mobile +46 46 299 89 56
www.tac-global.com

This email is intended only for the use of the individual or entity to
whom
it is addressed. It may contain information that is privileged,
confidential
or otherwise protected from disclosure under applicable law. If you have
received this transmission in error, please delete it immediately and
notify
me by mailing me.





------------------------------------------------------------------------
--------


> --
> To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>


--
To unsubscribe, e-mail:   <mailto:soap-dev-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@xml.apache.org>

Mime
View raw message