Re: about Axis2's binary attachment

2006-10-03 Thread Thilina Gunarathne
Please note the following in your debug output... at wuBlast.WDKWSClient.queryBinaryAsynchronize(WDKWSClient.java:295) at wuBlast.WDKWSClient.main(WDKWSClient.java:605) Please look for this in your original client code ~Thilina On 10/3/06, sam wang [EMAIL PROTECTED] wrote:

Re: about Axis2's binary attachment

2006-10-03 Thread robert lazarski
You can try the soap monitor which will also allow you to capture the request / repsonse: http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/1_1/soapmonitor-module.html Robert On 10/3/06, sam wang [EMAIL PROTECTED] wrote: thank you very much, Thilina. I tried to use TCPMon to

Re: about Axis2's binary attachment

2006-10-03 Thread sam wang
thanks, Thilina. but the debug output is from client side, which is caused by server side problem. you can check the detailed information from SOAP message returned from server side which I have attached as screenshot pictures in my previous email. the reason why I show you the debug

Re: about Axis2's binary attachment

2006-10-03 Thread robert lazarski
In linux you can double click in the pane and then use - the mouse middle scroll button / three button mouse middle button / click left and right button at same time - in another window such as a text editor to capture the message. Not sure how that works on other platforms. Not sure how to do a

Re: about Axis2's binary attachment

2006-10-03 Thread Thilina Gunarathne
Sam, I still feel that it's a client side problem. For me it seems like the server receives a 500 error while trying to send the response in a different channel(Since you are using non blocking invocation) ... Try debugging your client at the pointer given by me.. You can also try doing this

Re: about Axis2's binary attachment

2006-10-03 Thread sam wang
thanks, Robert! it works for me. I am using RedHat Linux. and my mouse has middle scroll button. the way working for me is to always use middle scroll button. that is, first, choosing content, second clicking middle scroll button, then getting into a text editor and clicking middle scroll

Re: about Axis2's binary attachment

2006-10-03 Thread sam wang
thanks, Thilina. but I don't think that is client's problem. I found out a way to work around finally. that is, specifying the EndpointReference appending with method name! usually the EndpointReference is the part till to service name, but I found for binary attachment, we need specify

Re: about Axis2's binary attachment

2006-10-03 Thread sam wang
Hi, guys, I just solved this problem :-) in fact, I didn't do anything except restarting linux. I guess my tomcat messed up for some reason that I didn't realize at first. until I can't control my mouse, I restarted the machine and everything is ok now :-) thanks again for all your great

Re: about Axis2's binary attachment

2006-10-02 Thread Thilina Gunarathne
Hi, Please post your server implementation class... since I can't copy and paste the soap message from SOAPMonitor, I save the soap message as screenshot pictures. please refer them to the attachment. the followings are my questions: You can use the http://ws.apache.org/commons/tcpmon/ to

RE: about Axis2's binary attachment

2006-09-29 Thread Betsy Frey
=false4000/parameter Betsy From: scott ken [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 7:53 PM To: axis-user@ws.apache.org Subject: Re: about Axis2's binary attachment Usually we will have an InputStream object. But I didn't make it work. I

Re: about Axis2's binary attachment

2006-09-29 Thread Paul Fremantle
: Re: about Axis2's binary attachment Usually we will have an InputStream object. But I didn't make it work. I tried using a byte array as input. you can easily convert an InputStream to a byte array. After that, use ByteArrayDataSource. // Build OMText to hold binary data byte[] binaryBytes

Re: about Axis2's binary attachment

2006-09-29 Thread Davanum Srinivas
PROTECTED] Sent: Thursday, September 28, 2006 7:53 PM To: axis-user@ws.apache.org Subject: Re: about Axis2's binary attachment Usually we will have an InputStream object. But I didn't make it work. I tried using a byte array as input. you can easily convert an InputStream to a byte array

about Axis2's binary attachment

2006-09-28 Thread sam wang
Hi, there, I have a question about transferring binary attachment through Axis2. I want to transfer binary attachment from server side to client side. My question is that if I can attach any kind of binary data? from Axis2's api, I see there are only two datasource: file and image.

Re: about Axis2's binary attachment

2006-09-28 Thread scott ken
Usually we will have an InputStream object. But I didn't make it work. I tried using a byte array as input. you can easily convert an InputStream to a byte array. After that, use ByteArrayDataSource. // Build OMText to hold binary data byte[] binaryBytes = ...; ByteArrayDataSource dataSource =