, Giuliano
Piergiuliano Bossi wrote:
After some more thoughts it looks that we are not doing buffered I/O
while reading the attachment from disk. As suggested in many places
(for example
http://java.sun.com/docs/books/performance/1st_edition/html/JPIOPerformance.fm.html)
I/O operations in java are
the AttachmentImpl class without changing the
Axis.jar file?
Very informal test results for attachment transfers that do not involve
disk access on either side:
Using a 130MB bytearray that was attached to the SOAP message I got a
throughput of up to 27 MB per second and up to 45% network
attachment
examples seem to use DIME in one chunk.
I would have like to use the following sendChuck method in the DimeBodyPart
class.
void DimeBodyPart.sendChunk(java.io.OutputStream os, final byte position,
byte[] data, byte chunk);
How is any one producing mulitiple DIME chunks in
There was a post here that has performance problem with attachment. When
using buffered io, the performance shoot up 10 times. I wonder it also
applies to your case.
How are you running Axis? If you are running Apache and the jk2 connector to
tomcat you may see some performance improvements using tomcat in standalone
mode. I don't have any hard data, but people have commented that my web
services seem "admiriably faster" than other implementations. The way I
I am transferring files as SOAP with Attachments using the
javax.activiation.DataHandler and Axis 1.1 in a Gigabit network.
The maximum throughput using my simple Axis program is between 9 MBps
and 14MBps and a network utilization of only 8%. (MBps = MegaByte per
second)
Neither CPU, disk or net
All,
Please see the stacktrace below. Is there something that I am doing
to cause this, or is this a bug that I'm observing?
Thanks in advance,
-John Walker
Hello,
I tested with 100MB â error comes from java side. I hope this log helpsâ
Btw, I tried to set timeout to 5 min, but it's st
Hi.
I was using Axis 1.1 - I tried out Axis 1.2 RC2, but had the same problem.
Tmp is ok - I delete attachments as I get them in.
The strange things about this:
1) when I ran the soap server on another machine, I had no problems on the
client
2) other attachment based calls work fine - this
We had this problem at work. We wrote a special bit of code in our
attachment handle that checked to see if a DataSource was Axis'
DataSource, and if so, took special steps to clean up the temp file
since Axis seems to leave it laying around forever.
Regards,
Brian.
Mayur Shetye
James,
Which version of AXIS are you using?
Walker
On Fri, 10 Dec 2004 14:33:37 +, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi.
>
> Recently,when using Axis, I've found that the performance of the
> getAttachments method has disimproved.
> It's been fine up to now, and for no real re
James,
your disk might have filled up ! clear the /tmp/
folder where the attachments are stored written to.
Mayur
--- John Walker <[EMAIL PROTECTED]> wrote:
> James,
>
> Which version of AXIS are you using?
>
> Walker
>
>
> On Fri, 10 Dec 2004 14:33:37 +, [EMAIL PROTECTED]
> <[EMAIL PRO
Hi.
Recently,when using Axis, I've found that the performance of the
getAttachments method has disimproved.
It's been fine up to now, and for no real reason, getting the Iteration of
attachments while reading a message with one atttachment (of about
600Bytes) takes 30 seconds.
Does this soun
After some more thoughts it looks that we are not doing buffered I/O
while reading the attachment from disk. As suggested in many places (for
example
http://java.sun.com/docs/books/performance/1st_edition/html/JPIOPerformance.fm.html)
I/O operations in java are by default unbuffered.
Shame on
he byte array
parameter first, and then into attachments. The idea is that if the file
is small (ie: 100 KB) then using the parameter is ok, otherwise the
attachment got to be used.
The problem is that we observe unexpected performance in production. We
have built some jmeter load tests, trying
array of dom's elements as parameters, and also retrieve an array of
dom's elements as returned value. Attachment appears to be the same
(because these styles are in the body of the soap message (must be xml),
while attachment is a separate part (binary/text/xml/anything).
So, with respec
, November 30, 2004 4:23 PM
To: [EMAIL PROTECTED]
Subject: Re: desperate newbie-- trouble with image attachment
Looking at the reference for Java2Wsdl, there's this line:
-y, --style
The style of binding in the WSDL, either DOCUMENT, RPC,
or WRAPPED.
That means you can pass in DOC
EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 3:25 AM
To: [EMAIL PROTECTED]
Subject: Re: desperate newbie-- trouble with image attachment
Vy Ho a écrit :
> Looking at the reference for Java2Wsdl, there's this line:
>
> -y, --styleThe style of binding in the WSDL,
Vy Ho a écrit :
Looking at the reference for Java2Wsdl, there's this line:
-y, --styleThe style of binding in the WSDL, either
DOCUMENT, RPC, or WRAPPED.
That means you can pass in DOCUMENT as the style when generating the
wsdl to say that you want DOCUMENT style messaging.
Be ca
help me out
-Original Message-
From: Vy Ho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: desperate newbie-- trouble with image attachment
This should not be too hard.
Let's take 5 to 10 minutes to get it to work.
1) sta
help me out
-Original Message-
From: Vy Ho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: desperate newbie-- trouble with image attachment
This should not be too hard.
Let's take 5 to 10 minutes to get it to work.
1) start wi
This should not be too hard.
Let's take 5 to 10 minutes to get it to work.
1) start with an interface:
public interface ImageService{
public void sendImage(DataHandler data);
}
save that to a file named ImageService.java
Also, add proper package for the class and import statements for
DataHandl
Hi,
I’m
an axis newbie and having trouble sending an image attachment (document style
message) from my client to the server. The attachment seems to go across fine,
but when I use AttachmentPart on the server, the
server hangs. It tries to write the
binary source to the console/screen
Hi,
I'm
having trouble sending an image attachment from my client to the axis
webservice. The attachment seems to
go over fine but locks up my server and tries to write the binary data to the
console/screen (it also beeps like crazy, which makes me think it's a memory
pro
ed by attachment is
locked by Axis and I can't delete it.
I have looked at the thread "ttachment and closed stream question" (see
"http://marc.theaimsgroup.com/?l=axis-user&m=109598153701095&w=2";) but the
solution is useful for the client side only.
I tested it with
Hello,
Since I didn't get any response I thought I should try again.I have created
some Web Services with compressed attachments. The problem is on the server
side, the zip file passed by attachment is locked by Axis and I can't delete
it. I have looked at the thread "ttach
with my Web Services. On my server side, the zip file
passed by attachment is locked by Axis and I can't delete it. I have looked at
the thread "ttachment and closed stream question" (see
"http://marc.theaimsgroup.com/?l=axis-user&m=109598153701095&w=2";) but t
Guys,
You can check this link also.
http://www.iseran.com/Steve/papers/fear-of-attachments.pdf
Ashutosh
-Original Message-
From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 30, 2004 2:07 AM
To: [EMAIL PROTECTED]
Cc: Sagar Pidaparthi
Subject: RE: Attachment
Can you also send it to [EMAIL PROTECTED] please thanks.
sagar
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 1:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Attachment
Hi,
I've tried to send an attachment to the group many times and
Hi,
I've tried to send an attachment to the group many times and it is
filtered by the server. Sorry.
Tami
-Original Message-
From: Pillai, Ranjith [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 1:59 PM
To: [EMAIL PROTECTED]
Subject: RE: Attachment
Hello Tami,
Hello Tami,
If don't mind please send it to the group.
Thanks,
Ranjith Pillai
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 3:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Attachment
Hi Ashok,
I tried to send it to you but i
Sorry about that Tami! You can send me on [EMAIL PROTECTED] or
[EMAIL PROTECTED]
Regards
Ashok
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 3:10 PM
To: [EMAIL PROTECTED]
Subject: RE: Attachment
Hi Ashok,
I tried to send it to you but it
27;
Subject: RE: Attachment
Hi Tami
I am working on a soap with attachment proof of concept. It would be
very helpful for me if you have a working example. Could you please send
it to me.
Thanks and Regards
Ashok
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29
I'd like to see it too...
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 12:17 PM
To: [EMAIL PROTECTED]; Emmanuel Boudrant
Subject: RE: Attachment
Hi,
I've got a working example. If you would like me to email it to you,
l
Yes ... you can send me your example at : [EMAIL PROTECTED]
Thx
On Fri, 29 Oct 2004 11:43:49 -0500, Yadav, Ashok <[EMAIL PROTECTED]> wrote:
> Hi Tami
> I am working on a soap with attachment proof of concept. It would be very
> helpful for me if you have a working example. Could
Hi Tami
I am working on a soap with attachment proof of concept. It would be very
helpful for me if you have a working example. Could you please send it to
me.
Thanks and Regards
Ashok
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 12:17 PM
Does your example also have complex objects in addition to attachments?
Sagar
-Original Message-
From: Tami Wright [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 9:17 AM
To: [EMAIL PROTECTED]; Emmanuel Boudrant
Subject: RE: Attachment
Hi,
I've got a working example. I
Hi,
I've got a working example. If you would like me to email it to you,
let me know.
Tami
-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 9:08 AM
To: [EMAIL PROTECTED]
Subject: Attachment
Hi,
I am looking for a documentati
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08732.html
On Fri, 29 Oct 2004 17:08:02 +0200, Emmanuel Boudrant
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking for a documentation or tutorial for using SOAP Attachment
> with Axis. I try the axis sample but I don'
Hi,
I am looking for a documentation or tutorial for using SOAP Attachment
with Axis. I try the axis sample but I don't understand everything.
Another question is, what is the maximum size for a SOAP message ?
I see the SOAP Attachment in axis 1.1 is a preliminary support, what
is the
Maciej Hadam wrote:
Hi, i have problem with echo attachment example.
Generated wsdl is incorrect. i've tried to generate client class from
this wsdl using gSOAP generator, but there where errors and warnings.
Does anybody know how to solve wsdl problem for services with
attachment in
Hello Hadam,
As far as I know, and we
use a gsoap client and a AXIS Service to send DIME Attachments and receive
them, you don’t need to have your attachment in your wsdl.
Next point is, you
receive a DIME Error when you receive a DIME attachment with a gsoap Client,
but it doesn’t
Hi, i have problem with echo attachment
example.Generated wsdl is incorrect. i've tried to generate
client class from this wsdl using gSOAP generator, but there where
errors and warnings.Does anybody know how to solve wsdl problem for
services with attachment in AXIS?Thanks for any
to send it
to you, let me know.
Tami
-Original Message-
From: Espen Westgaard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 4:03 AM
To: [EMAIL PROTECTED]
Subject: WS Attachment (DIME) error when receiving large attachments
(The device is not ready)
Hi,
I've create
Hi,
I've created a web service that has been running for some time now
(using Axis 1.2beta), accepting attachments using both MIME and DIME as
attachment types. However, I've encountered a problem with large
attachments (larger than 20 KB).
I can parse the SOAP body part of the me
: [EMAIL PROTECTED]
Subject: Sending & receiving an object tree as an attachment?
Tell me if this is even remotely sane...
Lets say I have an object tree and I know how to turn it into something
(maybe XML, maybe a serialized goo, whatever...).
Now lets say I'm smart enough to create a DataSo
s the object tree
as an attachment. Just for grins, the MIME type would be "binary/james".
So... How would I tell the client side what to do when it receives
"binary/james"?
Thanks,
James
My java axis client app creates temp files for the attachments it receives
in soap messages.
Now that seems ok, but it doesn't remove them when it's finished with them!
Is this normal behaviour? or am I doing something stupid?
I only noticed this because a server died after running out of hard d
Hi,
When I receive a SOAP with attachments, the attachments get instantiated using
ManagedMemoryDataSource. When one of my handlers in the chain serializes this message
"msg" by
calling msg.writeTo(ostream), this in turn calls AttachmentsImpl's
writeContentToStream(ostream) and the following co
activation.jar takes care of ur
DataHandler class. It comes with javax.activation.Datahandler
package.
mail.jar may be needed for Attachment
Parts
Regards
Dhanush
- Original Message -
From:
Thomas
Zöchling
To: [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 4:11 PM
Collection of my experiences
with AXIS Client development for .net WSE enhanced Services:
- Use this to
set the Attachment format:
_call.setProperty(org.apache.axis.client.Call.ATTACHMENT_ENCAPSULATION_FORMAT,org.apache.axis.client.Call.ATTACHMENT_ENCAPSULATION_FORMAT_DIME
Collection of my experiences
with AXIS Client development for .net WSE enhanced Services:
- Use this to
set the Attachment format:
_call.setProperty(org.apache.axis.client.Call.ATTACHMENT_ENCAPSULATION_FORMAT,org.apache.axis.client.Call.ATTACHMENT_ENCAPSULATION_FORMAT_DIME
Hello List
I am trying to consume a .net Webservice that
responds a DIME attached image.
The call properly arrives at the service but the
reponse raises serveral SaxParseExceptions.
I tried to force Attachment Format by hardcoding this
…
_call.setProperty
Hello List
I am trying to consume a .net Webservice that
responds a DIME attached image.
The call properly arrives at the service but the
reponse raises serveral SaxParseExceptions.
I tried to force Attachment Format by hardcoding this
…
_call.setProperty
Hi,
sorry if this issue has been discussed before.
I am using Axis 1.1 running under JBoss 3.2 to develop a webservice
which accepts a SOAP attachment as parameter. The underlying webservice
is in fact a session bean, and the java parameter holding the attachment
is a standard
Hi,
I have attached Java code for sending attachments using Axis for those who
are yet to empower their webservice with attachments and want to see the
complete client side and server side code.
I have tried to keep the code very simple and clear and added documentation
too.
Hope the newbies wi
Title: java.lang.reflect.InvocationTargetException when client waiting for a larger attachment file returned
Hi all,
I have a web service that fetches data from a backend database and returns an attachment file. It works with a smaller data file. When the file size is large and it takes
Sorry, I was referring to the received attachment. The file that you
send is not deleted by axis in the sending side.
Best Regards,
Paulo Soares
> -Original Message-
> From: Paulo Soares [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 16, 2004 2:57 PM
> To: [EMAIL PROTECTE
, 2004 2:44 PM
> To: [EMAIL PROTECTED]
> Subject: delete an attachment after service invocation
>
> I followed the instructions in the document "Fear of attachments" to
> write a client that sends an attachment.
>
>DataHandler
I followed the instructions in the document "Fear of attachments" to
write a client that sends an attachment.
DataHandler dh = new DataHandler( new URL("file:///"+filename)
);
server.addAttachment(dh);
After the invocation of the service I'd like the c
I am running axis 1.2 beta in tomcat 5.0.19
I have copied the axis webapp from the axis distribution and
to get attachments working have copied in activation.jar and mail.jar.
When I goto the axis validation URL it states that everything is good
and I get the message...
The core axis libraries are
>I am working on a summary of this issue for a project I am involved in.
Feel free to do some new experiments as part of your project! And
please send us a copy of your summary, we're eager to learn.
>1. Is the following still accurate?
I wrote the bit about 100,000 elements being 50 megs
htt
Yo!
I am working on a summary of this issue for a project I am involved in.
Here are my questions to the list
1. Is the following still accurate?
2. Are there better quantifications of this?
3. Are there plans to try and better these limits, or is that much of an
issue for people?
4. Are there
Hello
My webservice have
a method:
public Integer
putDocument(DataHandler document) throws DMSServiceException {
return null;
}
I invoke this method from my client, everything ends
ok.
But in temp directory for attachments on server stay two
files(with the same size).
What should i do t
amething. Bottom line for me: upgrade to Tomcat 5.X if
you are going to use attachements and have .NET clients.
--Brad
-Original Message-
From: David Keyes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:21 AM
To: [EMAIL PROTECTED]
Subject: RE: Attachment from Axis service causing
Did you try changing the MIME type like this - worked for me :
DataHandler dhSource = new DataHandler(new String(bytes), "text/xml");
"David Keyes" <[EMAIL PROTECTED]>
23/03/2004 16:21
Please respond to
[EMAIL PROTECTED]
To
<[EMAIL PROTECTED]>
cc
Subject
x27;application/dime;charset=ISO-8859-1', but
expected 'text/xml'."
Arg!
-Original Message-
From: Abhinav Maheshwari [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 9:59 AM
To: [EMAIL PROTECTED]
Subject: RE: Attachment from Axis service causing .NET to Er
I have successfully used Axis 1.1 Final to create the web service and used
the .NET 1.1 with WSE 1.0 SP1 for the client side.
This is a simple web service that sends as DIME attachment the file whose
name is provided in the input.
The code for server side is as follows
ROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 3:52 PM
Subject: RE: Attachment from Axis service causing .NET to Error
> Yes, I'm using WSE10SP1. Uploading an attachment works fine, downloading
> from Axis on tomcat 4.1.29 fails with the message indicated belo
Yes, I'm using WSE10SP1. Uploading an attachment works fine, downloading
from Axis on tomcat 4.1.29 fails with the message indicated below.
Here I'm talking about the HTTP Content-Type header. This must be
'application/dime' when sending attachments to a .NET client, ra
solve your problem, I will mail again with detailed
steps. Seems like many users are having problems with attachments.
Warm regards,
Abhinav Maheshwari
-Original Message-
From: sergeant [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 20, 2004 8:44 AM
To: [EMAIL PROTECTED]
Subject: Attac
I am using Tomcat 5.0.3
- Original Message -
From: "sergeant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 20, 2004 10:33 PM
Subject: Re: declare attachment in wsdl
> For you folks that are sending attachments to .NET clients from Axis
&
K you cannot specify that a client must send an attachment or that a
service returns an attachment in WSDL. There is an example in the samples
directory of a method signature for sending and retrieving attachments (they
use custome serialisers). This worked fine for me on the Java only side but
when I
Hi,
AFAIK you cannot specify that a client must send an attachment or that a
service returns an attachment in WSDL. There is an example in the samples
directory of a method signature for sending and retrieving attachments (they
use custome serialisers). This worked fine for me on the Java only
BACKGROUND: I'm using Axis 1.1 on Tomcat 4.1.29. I've written a WSDL using
a simple document/literal approach and am interoperating with both Axis and
.NET clients. I've introduced an operation that returns a binary attachment
and this works fine with the Axis client. The WSDL k
AM 3/18/2004, you wrote:
Hi axis users,
I'd like to know if is there a way to declare in the
wsdl that a client of a ws has to send an attachment
as a parameter of the message, so that when I use
WSDL2Java I can use the portType in this way:
result = port.myMethod(dh, );
where dh is a DataHandl
Axis developers have solved the problem about mime type mapping!
(because I told'em to do so! ;) )
Dario
Dario Di Minno ha scritto:
Thanks for the link, it has been very useful for me.
The wsdl example reports two different mime types for attachment,
image/jpeg and application/octet-s
Thanks for the link, it has been very useful for me.
The wsdl example reports two different mime types for attachment,
image/jpeg and application/octet-stream.
To make the WSDL2Java work it is necessary to modify the second to
"application/octetstream". I think it is a
in my webservice documentation. But that is just a workaround.
If anybody has an idea, please could you share it ;)
Cheers,
Patrick.
Dario Di wrote:
Hi axis users,
I'd like to know if is there a way to declare in the
wsdl that a client of a ws has to send an attachment
as a parameter of the me
when you get it to work.
Thomas
-Ursprüngliche Nachricht-
Von: Dario Di [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 18. März 2004 08:55
An: [EMAIL PROTECTED]
Betreff: declare attachment in wsdl
Hi axis users,
I'd like to know if is there a way to declare in the
wsdl that a clie
Hi axis users,
I'd like to know if is there a way to declare in the
wsdl that a client of a ws has to send an attachment
as a parameter of the message, so that when I use
WSDL2Java I can use the portType in this way:
result = port.myMethod(dh, );
where dh is a DataHandler or some other w
xample) to send an xml and an
attachment to the service.
What should I add to the server-config.wsdd?
How can the client attach the files?
What should be the signature of the echoElements
method?
Thanks for your help.
Dario
___
Hi everybody,
I'd like the client of a message style web service
(like the "message" example) to send an xml and an
attachment to the service.
What should I add to the server-config.wsdd?
How can the client attach the files?
What should be the signature of the echo
You can find a tutorial here:
http://www.javaworld.com/javaworld/jw-09-2003/jw-0912-webservices.html
Regards
Jim
- Original Message -
From: "Ying Ying" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 11:17 PM
Subject: Re: SOAP with
Hi all,
I am interested in this as well. Is there anyone can provide some
information about it? Thanks.
Cheers,
ying
- Original Message -
From: "Asanka Priyanjitih" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 2004 8:53 AM
Subject: SOAP wi
Hi.
When I get an attachment (from a GSOAP Server - it's a DIME attachment) I
get the following error :
Caused by: org.xml.sax.SAXParseException: An invalid XML character
(Unicode: 0xc) was found in the prolog of the document.
at org.apache.axis.AxisFault.makeFault(AxisFault.jav
Hi All
Please Explain to me how to write simple SOAP With Attachments programs using AXIS,
And also any know some useful links or has Some tutorials please send it to me.
Thanks & Regards
G J A Priyanjith
I'm looking for example code which uses
attachments. I used wsdl2java to generate java classes from the wsdl, but the
generated java class did not have any support for attachments. I looked at the
attachments sample that came with Axis but it didn't seem to be what I was
looking for. The SOA
Hi Luciano!
I used a wrong version of mail.jar
Now it works!
Thanks for help!
Chris
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Februar 2004 19:53
An: [EMAIL PROTECTED]
Betreff: RE: Problems with Attachment sample
Hi Chris
Hi Luciano!
I used a wrong version of mail.jar
Now it works!
Thanks for help!
Chris
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Februar 2004 19:53
An: [EMAIL PROTECTED]
Betreff: RE: Problems with Attachment sample
Hi Chris
Title: RE: Problems with Attachment sample
Hi Chris,
can you be more specific?
In order to succesfully run the attachment sample you need to carefully follow the
readme file that comes with the example.
Luciano
-Original Message-
From: Chris Aiken [mailto:[EMAIL PROTECTED
Hi all!
I have problems with the Attachment sample:
java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.axis.Message.createAttachmentPart(Message.java:620)
at
javax.xml.soap.SOAPMessage.createAttachmentPart(SOAPMessage.java:243)
at
Hi all!
I have problems with the Attachment sample:
java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.axis.Message.createAttachmentPart(Message.java:620)
at
javax.xml.soap.SOAPMessage.createAttachmentPart(SOAPMessage.java:243)
at
By making this change starting at line 124 in SimpleJMSWorker.java:
// take this out:
//Message msg = new Message(in);
// put this in:
MimeHeaders header = new MimeHeaders();
header.addHeader("Content-Type", "multipart/related");
Message msg = new Mess
ennis
Dennis M. Sosnoski
Enterprise Java, XML, and Web Services Support
http://www.sosnoski.com
Redmond, WA 425.885.7197
[EMAIL PROTECTED] wrote:
Can someone sheds light on WS-I basic profile and attachment support?
Is it true that WS-I basic profile does not include attachment (because MS
prefers DIME
Can someone sheds light on WS-I basic profile and attachment support?
Is it true that WS-I basic profile does not include attachment (because MS
prefers DIME?)?
If that the case, how will attachment be exchanged between .Net and J2EE
in a standardized way,
if J2EE 1.4 is used for building web
Greetings,
I have a demo application that attempts to send
various types of attachments as SOAP messages over JMS using jaxrpc
Service methods include:
sendString(String str)
sendBytes(byte[] bytes)
sendDataHandler(DataHander dh)
Sending a String or a byte array works fine, but sending
a
Just
in case anyone had the same problem, this issue has gone away with version
1.2a.
Stuart
-Original Message-From: Stuart Miller
[mailto:[EMAIL PROTECTED]Sent: Friday 30 January 2004
14:29To: '[EMAIL PROTECTED]'Subject: Attachment is
accidentally added tw
This is
frustrating. My service sends an attachment along with some body
content. Can someone spot where I am going wrong?
Thanks much in
advance.
The code to create
the soap response is:
SOAPMessage reply = mf.createMessage(); //mf is
javax.xml.soap.MessageFactory
SOAPPart sp
Hi, I have a very
curious problem. My SOAP client sends a simple request with 1 small
attachment to it. When I run this client as a stand-alone
application, it works fine. However, when the <> is
called from within a message-driven-bean (an EJB which is listening to a JMS
message
--
From: Thomas Dorner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 5:50 AM
To: [EMAIL PROTECTED]
Subject: SOAP with Attachment (SwA) Dummy need Help! pls :)
Hello all,
I have a problem - i cant find a explanation
for the implementation of SOAP with Attachment.
I read all the Mail
1 - 100 of 267 matches
Mail list logo