Will try. :-)
On a slightly different topic I installed Visual Studio Express for C#
and have created a small .NET client. I added a Web Reference for each of
my services, LogonService and DocumentService.

I can call the LogonService.logon fine and get back a sessionID. However
when I call the MTOM DocumentService.getDocumentData I get an error...

Client found response content type of 'multipart/related; type 
application/xop+xml;
start="<soap.xml etc etc etc


The response looks fine so I'm guessing that the C# client is just not
handling the MTOM style response. I guess that there is a way to set
something on the WebReference to enable it for MTOM? Any .NET gurus? :-)



Dan Diephouse wrote:
HI Stuart,
I think this would be possible. Any chance you could take a look at how the StreamedAttachments class works and provide a patch? It should be relatively easy.

- Dan

Stuart Barlow wrote:
MTOM looks good so far. In first tests I am pulling back 82MB files (using XFire client - need to use .NET client next) with minimal change in memory
footprint (server and client). So good news. We are just starting to have
some thoughts on the use of ATTACHMENT_DIRECTORY as a temp store for the
attachment.

We would rather be able to provide a stream for XStream to push the
data into. That way we could stream the data straight off to another
service or into a custom filestore without going via the filesystem.


Fried Hoeben wrote:
The ObjectServiceFactory client does not need the WSDL as far as I'm
aware. Have you tried giving it the service URL (i.e. without ?wsdl
at
the end)?

Fried






--
Stuart

Reply via email to