Re: unexpected attachment performance ==> SOLVED!

2005-02-09 Thread Piergiuliano Bossi
, 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

RE: SOAP w attachment throughput low compared to ftp

2005-01-26 Thread Roy Willy Haug
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

DIME Attachment Chunking

2005-01-10 Thread Lucio Piccoli
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

Re: SOAP w attachment throughput low compared to ftp

2004-12-23 Thread Vy Ho
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.

Re: SOAP w attachment throughput low compared to ftp

2004-12-22 Thread ANDREW MICONE
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

SOAP w attachment throughput low compared to ftp

2004-12-21 Thread Roy Willy Haug
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

Bug? errors in attachment (100MB)

2004-12-16 Thread John Walker
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

Re: Attachment Performance

2004-12-13 Thread J . Sugrue
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

Re: Attachment Performance

2004-12-11 Thread Brian J. Sayatovic
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

Re: Attachment Performance

2004-12-10 Thread John Walker
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

Re: Attachment Performance

2004-12-10 Thread Mayur Shetye
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

Attachment Performance

2004-12-10 Thread J . Sugrue
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

Re: unexpected attachment performance

2004-12-02 Thread Piergiuliano Bossi
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

unexpected attachment performance

2004-12-02 Thread Piergiuliano Bossi
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

Re: desperate newbie-- trouble with image attachment

2004-12-01 Thread Vy Ho
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

RE: desperate newbie-- trouble with image attachment

2004-12-01 Thread Eyad Garelnabi
, 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

RE: desperate newbie-- trouble with image attachment

2004-12-01 Thread Eyad Garelnabi
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,

Re: desperate newbie-- trouble with image attachment

2004-12-01 Thread WAJSBERG Julien RD-BIZZ
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

Re: desperate newbie-- trouble with image attachment

2004-11-30 Thread Vy Ho
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

RE: desperate newbie-- trouble with image attachment

2004-11-30 Thread Eyad Garelnabi
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

Re: desperate newbie-- trouble with image attachment

2004-11-30 Thread Vy Ho
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

desperate newbie-- trouble with image attachment

2004-11-30 Thread Eyad Garelnabi
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

binary axis attachment problem

2004-11-26 Thread Eyad Garelnabi
  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

Compressed attachment file locke

2004-11-15 Thread Franck Leplé
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

Compressed attachment file locked

2004-11-15 Thread Franck Leplé
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

Attachment file locked

2004-11-10 Thread [EMAIL PROTECTED]
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

RE: Attachment

2004-10-29 Thread Shahi, Ashutosh
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

RE: Attachment

2004-10-29 Thread Sagar Pidaparthi
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

RE: Attachment

2004-10-29 Thread Tami Wright
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,

RE: Attachment

2004-10-29 Thread Pillai, Ranjith
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

RE: Attachment

2004-10-29 Thread Yadav, Ashok
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

RE: Attachment

2004-10-29 Thread Tami Wright
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

RE: Attachment

2004-10-29 Thread Steve Carton
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

Re: Attachment

2004-10-29 Thread Emmanuel Boudrant
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

RE: Attachment

2004-10-29 Thread Yadav, Ashok
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

RE: Attachment

2004-10-29 Thread Sagar Pidaparthi
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

RE: Attachment

2004-10-29 Thread Tami Wright
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

Re: Attachment

2004-10-29 Thread Ben Anderson
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'

Attachment

2004-10-29 Thread Emmanuel Boudrant
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

Re: attachment example

2004-10-01 Thread Hector Flores
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

AW: attachment example

2004-10-01 Thread Dorner, Thomas
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

attachment example

2004-10-01 Thread Maciej Hadam
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

RE: WS Attachment (DIME) error when receiving large attachments (The device is not ready)

2004-09-29 Thread Tami Wright
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

WS Attachment (DIME) error when receiving large attachments (The device is not ready)

2004-09-29 Thread Espen Westgaard
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

RE: Sending & receiving an object tree as an attachment?

2004-09-27 Thread Tami Wright
: [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

Sending & receiving an object tree as an attachment?

2004-09-27 Thread James CE Johnson
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

Axis (java) client leaves temp attachment files

2004-08-19 Thread Daniel Perry
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

Attachment with ManagedMemoryDataSource gets deleted after serial ization

2004-07-23 Thread Yoshida, Akitoshi
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

Re: .net Webservicem, AXIS client: DIME Attachment from Server

2004-06-21 Thread Dhanush Gopinath
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

AW: .net Webservicem, AXIS client: DIME Attachment from Server

2004-06-21 Thread Thomas Zöchling
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

AW: .net Webservicem, AXIS client: DIME Attachment from Server

2004-06-21 Thread Thomas Zöchling
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

.net Webservicem, AXIS client: DIME Attachment from Server

2004-06-20 Thread Thomas Zöchling
  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

.net Webservicem, AXIS client: DIME Attachment from Server

2004-06-20 Thread Thomas Zöchling
  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

attachment issue : SocketException: Connection reset

2004-06-03 Thread Gregory CHAZALON
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

Java Code To Send An Attachment

2004-05-29 Thread Rommel Sharma
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

java.lang.reflect.InvocationTargetException when client waiting for a larger attachment file returned

2004-04-22 Thread Yuan, Sheue S
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

RE: delete an attachment after service invocation

2004-04-16 Thread Paulo Soares
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

RE: delete an attachment after service invocation

2004-04-16 Thread Paulo Soares
, 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

delete an attachment after service invocation

2004-04-16 Thread Dario Di Minno
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

axis beginner - simple attachment service

2004-04-13 Thread Stuart Barlow
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

Re: AXIS message and attachment size limit

2004-04-06 Thread Nelson Minar
>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

AXIS message and attachment size limit

2004-04-06 Thread Jeffrey J Gaynor/jqhome
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

Attachment temp files created twice

2004-03-30 Thread Adam Cuper
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

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread sergeant
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

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread J . Sugrue
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

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread David Keyes
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

RE: Attachment from Axis service causing .NET to Error

2004-03-23 Thread Abhinav Maheshwari
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

Re: Attachment from Axis service causing .NET to Error

2004-03-22 Thread Jim Collins
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

RE: Attachment from Axis service causing .NET to Error

2004-03-22 Thread sergeant
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

RE: Attachment from Axis service causing .NET to Error

2004-03-22 Thread Abhinav Maheshwari
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

Re: declare attachment in wsdl

2004-03-21 Thread Jim Collins
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 &

Re: declare attachment in wsdl

2004-03-20 Thread sergeant
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

Re: declare attachment in wsdl

2004-03-20 Thread Jim Collins
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

Attachment from Axis service causing .NET to Error

2004-03-19 Thread sergeant
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

Re: declare attachment in wsdl

2004-03-18 Thread Anne Thomas Manes
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

Re: AW: declare attachment in wsdl

2004-03-18 Thread Dario Di Minno
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

Re: AW: declare attachment in wsdl

2004-03-18 Thread Dario Di Minno
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

Re: declare attachment in wsdl

2004-03-18 Thread BLIS Webmaster (Patrick Houbaux)
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

AW: declare attachment in wsdl

2004-03-18 Thread Thomas.Duehrsen
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

declare attachment in wsdl

2004-03-17 Thread Dario Di
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

Re: message style web service with attachment

2004-03-16 Thread Dario Di Minno
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 ___

message style web service with attachment

2004-03-16 Thread Dario Di
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

Re: SOAP with Attachment

2004-03-11 Thread Jim Collins
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

Re: SOAP with Attachment

2004-03-11 Thread Ying Ying
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

SOAP Attachment Error

2004-03-11 Thread J . Sugrue
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

SOAP with Attachment

2004-03-11 Thread Asanka Priyanjitih
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

xml attachment example

2004-03-10 Thread Sriram Nookala
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

AW: Problems with Attachment sample

2004-02-25 Thread Chris Aiken
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

AW: Problems with Attachment sample

2004-02-25 Thread Chris Aiken
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

RE: Problems with Attachment sample

2004-02-25 Thread luciano.fiandesio
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

Problems with Attachment sample

2004-02-25 Thread Chris Aiken
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

Problems with Attachment sample

2004-02-25 Thread Chris Aiken
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

Re: Problem with RPC Datahandler attachment over jms (1.2alpha)- fixed by adding MimeHeader to Message created in SimpleJMSWorker

2004-02-19 Thread tnelson
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

Re: WS-I Basic Profile and attachment

2004-02-13 Thread Dennis Sosnoski
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

WS-I Basic Profile and attachment

2004-02-13 Thread jzhang
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

Problem with RPC Datahandler attachment over jms

2004-02-11 Thread tnelson
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

RE: Attachment is accidentally added twice!! (but only when calle d from an EJB) - FIXED IN v1.2a

2004-02-09 Thread Stuart Miller
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

attachment is there, but can't reach it through soap w/attachment api

2004-02-01 Thread Steve Pruitt
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

Attachment is accidentally added twice!! (but only when called fr om an EJB)

2004-01-30 Thread Stuart Miller
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

RE: SOAP with Attachment (SwA) Dummy need Help! pls :)

2004-01-28 Thread Wagh, Shrikant
-- 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   2   3   >