i have no idea, anyone else ?
[EMAIL PROTECTED] a écrit :
...ok I notice that in debugging mode.
furthermore I see that ther service will add the attachment to the
messagecontext.
On client site there is no attachement for <swa:graph href="
cid:urn:uuid:62CBFFDCF6E8B1C6941200561177615" /> available!
Where is the leak?
Hartmut Zimmermann
Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany
www.basf-it-services.com
BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike
Nicolas Pignier
<nicolas.pignier@
imag.fr> An
axis-dev@ws.apache.org
17.01.2008 10:35 Kopie
Thema
Bitte antworten Re: Antwort: Re: Antwort: Re:
an Antwort: Re: binary transfer
[EMAIL PROTECTED]
e.org
Your attachment is not in the soap body but in the message context
in your response message you only obtain the attachment' "id", which is
used after to obtain the attachment from the context
[EMAIL PROTECTED] a écrit :
hmm
that's my SOAP communication ...
Request:
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<swa:getStats xmlns:swa="http://service.sample/xsd">
<swa:projectName>axis2</swa:projectName>
</swa:getStats>
</soapenv:Body>
</soapenv:Envelope>
Resoponse:
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<swa:getStatsResponse xmlns:swa="http://service.sample/xsd">
<swa:projectName>Apache Axis2</swa:projectName>
<swa:month>2007 January</swa:month>
<swa:downloads>34000</swa:downloads>
<swa:graph href="cid:urn:uuid:62CBFFDCF6E8B1C6941200561177615" />
</swa:getStatsResponse>
</soapenv:Body>
</soapenv:Envelope>
.... I miss the binary attachement in the SOAP body !?
Hartmut Zimmermann
Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany
www.basf-it-services.com
BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike
Nicolas Pignier
<nicolas.pignier@
imag.fr>
An
axis-dev@ws.apache.org
17.01.2008 09:33
Kopie
Thema
Bitte antworten Re: Antwort: Re: Antwort: Re:
an binary transfer
[EMAIL PROTECTED]
e.org
hi,
try to replace all the
new QName("http://service.sample/xsd")
by
new QName("http://service.sample")
(ie without "/xsd" to the end)
personnaly i use web tools platform included in eclipse europe with
apache tomcat 5.5 and axis2-1.3 as the axis runtime.
[EMAIL PROTECTED] a écrit :
Hello Nicolas,
thanks alot, a very good idea.
I tried out to run the sample that you told me under
http://wso2.org/library/1675.. it will not run . I got following
exeption
axis
Project Name : Apache Axis
Exception in thread "main" Month : 2007 January
Downloads : 34000
urn:uuid:48C5896313170564DB1200553517006
java.lang.Exception: Cannot find the data handler.
at sample.client.StatisticsServiceClient.processResponse(
StatisticsServiceClient.java:120)
at sample.client.StatisticsServiceClient.getMonthlyDownloadStats(
StatisticsServiceClient.java:90)
at sample.client.StatisticsServiceClient.main(
StatisticsServiceClient.java:46)
I try both with parameter "axis" and "axis2" by the client!
Have you an idea what happens?
Hartmut Zimmermann
Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany
www.basf-it-services.com
BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike
Nicolas Pignier
<nicolas.pignier@
imag.fr>
An
axis-dev@ws.apache.org
16.01.2008 15:18
Kopie
Thema
Bitte antworten Re: Antwort: Re: binary transfer
an
[EMAIL PROTECTED]
e.org
for example in the first response message you give the status of the
upload operation and/or the name of the file to be downloaded by the
second service...
hope this help
Nicolas
[EMAIL PROTECTED] a écrit :
Thanks for your answer Nicolas, I know the example for uploading an
attachementand it works... so maybe I have to follow your advice to
seperate these operations.
Hartmut Zimmermann
Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059
Ludwigshafen,
Germany
www.basf-it-services.com
BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike
Nicolas Pignier
<nicolas.pignier@
imag.fr>
An
axis-dev@ws.apache.org
16.01.2008 13:35
Kopie
Thema
Bitte antworten Re: binary transfer
an
[EMAIL PROTECTED]
e.org
Hi Hartmut,
I recentrly tried to do this with a unique webservice, ie upload a file
to a webservice and obtain another file as a response.
But I experienced problems with attachments, so i gave up...
As an alternate solution I developped 2 webservices : one to upload the
file, the second to download the other file, those 2 services are
called
successively to simulate send/receive pattern.
here is my inspiration for the "download" part of the webservice :
http://wso2.org/library/1675
and for the "upload" part I looked at the samples delivered with axis
in
the sub-directory "soapwithattachments".
Nicolas
[EMAIL PROTECTED] a écrit :
Hello guys,
I'm pretty new in the community and with axis stuff.
I like to write an WebService were I can transfer binary data like an
Pdf-document or images, to an service and the response has to be also
an
in binary form.
Is there a way to do this claim with AXIOM?
Please can you give an example?
Thanks in advance
Hartmut Zimmermann
Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059
Ludwigshafen,
Germany
www.basf-it-services.com
BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]