SoapEnvelope toStringWithConsume()

2007-08-10 Thread Stefan Kok
;4004Validation ErrorValidation violation: TransactionID (MM7Schema) validation failed I must say I am stumped any ideas ? Kind regards Stefan Kok. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [axis2] Basic authentication (client side)

2007-02-15 Thread Stefan Kok
Hi Jarek Please see below it worked for me. HttpTransportProperties.Authenticator.DIGEST can be replaced with HttpTransportProperties.Authenticator.BASIC if you want I. Hope this helps. Regards Stefan. <--Start--> /* * Setup the Authentication */ Li

recursion

2007-02-12 Thread Stefan Kok
Hi All I am trying to figure out how I can use recursion to find an element in a soap body and read its value if the element exist. As you have guessed I did not have much success. I have tried a couple of different approaches but I always seem to end up with a single OmElement node with no chil

Re: Clustering

2007-01-22 Thread Stefan Kok
d where people can play around > with it. > This is based on a proposal by Chamikara/Chathura. > > Regards, > > Rajith > > On 1/20/07, Stefan Kok <[EMAIL PROTECTED]> wrote: > Hi All > > > I am curious do Axis support an

Clustering

2007-01-19 Thread Stefan Kok
Hi All I am curious do Axis support any form of clustering ? I have seen some proposals on the net but that about it. Regards Stefan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: SWA multipart/related boundary

2007-01-04 Thread Stefan Kok
gt; part.. Also the boundary as you have mentioned.. > > Final boundary should be something like the following... > > --MIMEBoundaryurn_uuid_A9D5ECF2C417B3D84B11678015337975-- > > Just now I tested SwA with a simple scenario and it worked fine.. > Please provide more details about your scenario... Also the which > Axis2 version are you using.. > > ~Thilina > &

Re: SWA multipart/related boundary

2007-01-04 Thread Stefan Kok
large and complex project and that > > there is a lot more to consider than my two reasons. At the same time > > let me express my appreciation and admiration for the Axis team. I know > > that I am not capable of what they are doing. So please view this as > > constructive. > &g

Re: SWA multipart/related boundary

2007-01-04 Thread Stefan Kok
capable of what they are doing. So please view this as constructive. Regards Stefan. PS. Curently using 2.1.1 On Wed, 2007-01-03 at 16:25 +0200, Stefan Kok wrote: > Hi Thilina > > I have found this article on the IBM website : > > http://www-128.ibm.com/developerworks/webservic

Re: SWA multipart/related boundary

2007-01-03 Thread Stefan Kok
Hi Thilina I have found this article on the IBM website : http://www-128.ibm.com/developerworks/webservices/library/ws-soapatt/?open&l=930,t=grws#figure1 They also end it off with the MIME boundary the stated in the header. Regards Stefan. On Wed, 2007-01-03 at 15:23 +0200, Stefan Kok w

Re: SWA multipart/related boundary

2007-01-03 Thread Stefan Kok
be doing more justice to the definition of boundary [2] than the > RFC's. > > ~Thilina > > [1] http://www.mhonarc.org/~ehood/MIME/ > [2] http://en.wikipedia.org/wiki/MIME#Multipart_Messages > > On 1/3/07, Stefan Kok <[EMAIL PROTECTED]> wrote: > > I have looke

Re: SWA multipart/related boundary

2007-01-03 Thread Stefan Kok
I have looked at the mm7 spec. All their multipart/related messages end with the boundary in the header. I still am not sure if this is applies only to mm7 or not. Would it be possible to change this behavior ? Or is it by design ? Regards Stefan. On Wed, 2007-01-03 at 08:25 +0200, Stefan Kok

Re: [Axis2]Re: MTOM and content-type

2007-01-02 Thread Stefan Kok
mes with Axiom.. Then you need to > create a DataHandler out of the resulting base64 string.. > > ~Thilina > > On 1/2/07, Stefan Kok <[EMAIL PROTECTED]> wrote: > > Thilina > > > > Thanks. This did work very well. The attachment is binary tough. Do I >

SWA multipart/related boundary

2007-01-02 Thread Stefan Kok
I have noticed that when SWA sends a multipart/related message it looks like: (Trimmed to keep it short) POST /mm7 HTTP/1.1 SOAPAction: "" User-Agent: Axis2 Content-Length: 37588 Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_A9D5ECF2C417B3D84B11678015337975; type="text/xml"; sta

SWA encoding control

2007-01-02 Thread Stefan Kok
ibute("href", contentType, nms); -- Stefan Kok <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Axis2]Re: MTOM and content-type

2007-01-02 Thread Stefan Kok
t; > This gives the in line result. > > > > Regards > > Stefan > > > > > > On Tue, 2007-01-02 at 13:47 +0530, Thilina Gunarathne wrote: > > > Yes.. It is possible..Please see here [1].. You need to construct the > > > soap envelope usi

Re: [Axis2]Re: MTOM and content-type

2007-01-02 Thread Stefan Kok
ease see here [1].. You need to construct the > soap envelope using OMElements... This [2] might be usefull to figure > out OMElements.. > > Thilina > > [1] http://ws.apache.org/axis2/1_1/mtom-guide.html#3 > [2] http://ws.apache.org/commons/axiom/OMTutorial.html > &g

Re: [Axis2]Re: MTOM and content-type

2007-01-01 Thread Stefan Kok
me time, cause then MTOM will > get priority and the message will be MTOM.. > > See here [1] for more detials... > > Thilina > [1] http://wso2.org/library/264 > > On 12/29/06, Stefan Kok <[EMAIL PROTECTED]> wrote: > > Hi All > > > > I have got axis2

Re: MTOM

2007-01-01 Thread Stefan Kok
Thanks Thilina Will try your advice will let you know what the outcome is. Regards Stefan. On Sat, 2006-12-30 at 08:58 +0600, Thilina Gunarathne wrote: > Thilina -- Stefan Kok <[EMAIL PROTECTED]> - To unsubscrib

MTOM and content-type

2006-12-29 Thread Stefan Kok
Hi All I have got axis2 to generate the following for me: POST /some HTTP/1.1 SOAPAction: "" User-Agent: Axis2 Content-Length: 5790 Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_D71D1475B0136C8FED11673898742622; type="application/xop+xml"; start="<0.urn:uuid:[EMAIL PROTECTED]>";

Re: DISABLE_SOAP_ACTION (AXIS2)

2006-12-29 Thread Stefan Kok
Axis2 1.1.1-RC1[1]... Please try > that. > > ~Thilina > [1] http://people.apache.org/~thilina/axis2/1.1.1-RC1/ > > On 12/28/06, Stefan Kok <[EMAIL PROTECTED]> wrote: > > Hi Anne > > > > Thanks for your reply. > > > > I am afraid you have lost

MTOM

2006-12-29 Thread Stefan Kok
Hi All My understanding from the MTOM guide is that if I specify: OMText textData = sf.createOMText(dataHandler, false); Then the attachment will be sent using base64 and not binary. However it sends it as binary regardless if I set it as true or false. Also the guide lists an example :

Re: DISABLE_SOAP_ACTION (AXIS2)

2006-12-28 Thread Stefan Kok
SOAPAction, then you cannot disable it. > You enablde bit but specify no value. > > On 12/28/06, Stefan Kok <[EMAIL PROTECTED]> wrote: > > Hi All > > > > > > I need to send an empty SOAPAction. I have found a reference to > > org.apache.axis2.Constants.

DISABLE_SOAP_ACTION (AXIS2)

2006-12-28 Thread Stefan Kok
Hi All I need to send an empty SOAPAction. I have found a reference to org.apache.axis2.Constants.DISABLE_SOAP_ACTION. It seems this would solve my problem. This can be set via the options object. I have searched Google for examples of setting it but could find none. If anyone has got any ide