Hi Josef
thanks for replaying
however, my question was rather regarding the Axis2/J API.
I am looking for a way of streaming the large base64 content inside the
SOAP request. That is, if content does not fit the memory.
Someone also noted that possibly, Axis2/J completes the XML SOAP request
in memory before sending it out to server. Thus streaming might be not
an option at all. If that is the case, I would like to confirm it.
Thanks,
~ Alex.
On 11/30/2010 3:52 AM, Stadelmann Josef wrote:
just a hint !
For those elaborating with-in heterogeneous environments, such as
MS-something-client to axis2-services or axis2-client to
MS-something-service
MS-something can stand for a ASP.NET or IIS or WCF-based web-service
or whatever comes from MS*.
My learning was:
Do it first 1 to 1 by using not a heterogeneous environment that is to say
a)Java to Java -> axis2-client-Java to axis2-service-Java AND
b)Monitor and record traffic using TCPMON or Wire Shark AND THEN
c)If you understand what is going on and how to control it MAKE
d)MS-some-client (ie. ASP.NET-client) to MS-some-service (i.e.
ASP.NET-service or IIS-service) AND
e)Trace and record all traffic using TCPMON or Wire-Shark UNLESS
f) you really know how this two partner in each environment
communicate with each other AND UNLESS
g)your are happy and understand the protocol-bits and bytes, THEN
h)figure out the commonalities AND
i)figure out how you can best make your axis2-Client fake to your
MS-something-service i.e. IIS BECAUSE YOU SHOULD
*j)**concentrate fully on the protocol traced and recorded by TCPMON
or Wire Shark*
k)make your client as independent as possible from the service but
make it send and receive to what the service expects to receive and
send, AND
l)even MTOM and streaming goes into the same business, BECAUSE
m)if streaming is not supported according to standards by one party
forget it AND
n)if MTOM is not supported by one party according to standards forget it
We did that even for long lasting sessions, between a MS C# .NET WCF
3.5 client and a Axis2/J 1.2 Service in scope="soapsession", passing
nested collections trimmed tour needs.
But we would not be able to do it not following the approach and
sequence shown above.
Josef. Stadelmann
@axa-winterthur.ch
*Von:*Alex A [mailto:[email protected]]
*Gesendet:* Dienstag, 30. November 2010 03:41
*An:* [email protected]
*Cc:* [email protected]
*Betreff:* Need help: large attachments inside SOAP XML request
Hello
I am looking for a way to stream the content of file inside the XML
element, *without MTOM enabled*.
Because it looks like MTOM is not supported by the Microsoft's IIS.
Axis2/J, only client - wsdl used to generate xmlbeans/stub.
Anyone could give me pointers or even better, examples?
Thanks,
~ Alex.