You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Stefan Kok <st...@opensolutions.co.za> on 2006/12/28 10:52:42 UTC
DISABLE_SOAP_ACTION (AXIS2)
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 ideas could you please pass me some pointers.
Kind Regards
Stefan.
P.S
Original post at:
http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200610.mbox/%
3C9abd5e730610090047g556a4b11u5c7e3994ea188fb6@mail.gmail.com%3E
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: DISABLE_SOAP_ACTION (AXIS2)
Posted by Stefan Kok <st...@opensolutions.co.za>.
Hi Thilina
Thanks I found it.
The way I got it to work was :
options.setProperty(org.apache.axis2.Constants.Configuration.DISABLE_SOAP_ACTION,endPointRef);
Thanks Stefan.
On Fri, 2006-12-29 at 16:48 +0600, Thilina Gunarathne wrote:
> Stefan,
> A similar issue was fixed just before the 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 <st...@opensolutions.co.za> wrote:
> > Hi Anne
> >
> > Thanks for your reply.
> >
> > I am afraid you have lost me. Please see the two sample headers below.
> > The first is correct. The second incorrect. The second one is generated
> > by axis2 for me. I was hoping to drop the "urn:anonOutInOp" part using
> > DISABLE_SOAP_ACTION.
> >
> > However I can not figure out how to do it using the options object.
> >
> > Kind regards
> > Stefan.
> >
> >
> > ************* First **************
> > POST /some HTTP/1.1
> > Content-Type: multipart/related;
> > boundary="E0675A0FDC9DF1D04617D97FB987D5AD"; type=text/xml;
> > start="</some string>"
> > SOAPAction: ""
> > Content-Length: 120617
> > ****************************
> >
> > *********** Second ******************
> > POST /some HTTP/1.1
> > SOAPAction: "urn:anonOutInOp"
> > User-Agent: Axis2
> > Content-Length: 467
> > ******************************
> >
> > On Thu, 2006-12-28 at 08:29 -0500, Anne Thomas Manes wrote:
> > > If you want to send an empty SOAPAction, then you cannot disable it.
> > > You enablde bit but specify no value.
> > >
> > > On 12/28/06, Stefan Kok <st...@opensolutions.co.za> wrote:
> > > > 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 ideas could you please pass me some pointers.
> > > >
> > > > Kind Regards
> > > > Stefan.
> > > >
> > > > P.S
> > > > Original post at:
> > > > http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200610.mbox/%
> > > > 3C9abd5e730610090047g556a4b11u5c7e3994ea188fb6@mail.gmail.com%3E
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > --
> > Stefan Kok <st...@opensolutions.co.za>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
--
Stefan Kok <st...@opensolutions.co.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: DISABLE_SOAP_ACTION (AXIS2)
Posted by Thilina Gunarathne <cs...@gmail.com>.
Stefan,
A similar issue was fixed just before the 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 <st...@opensolutions.co.za> wrote:
> Hi Anne
>
> Thanks for your reply.
>
> I am afraid you have lost me. Please see the two sample headers below.
> The first is correct. The second incorrect. The second one is generated
> by axis2 for me. I was hoping to drop the "urn:anonOutInOp" part using
> DISABLE_SOAP_ACTION.
>
> However I can not figure out how to do it using the options object.
>
> Kind regards
> Stefan.
>
>
> ************* First **************
> POST /some HTTP/1.1
> Content-Type: multipart/related;
> boundary="E0675A0FDC9DF1D04617D97FB987D5AD"; type=text/xml;
> start="</some string>"
> SOAPAction: ""
> Content-Length: 120617
> ****************************
>
> *********** Second ******************
> POST /some HTTP/1.1
> SOAPAction: "urn:anonOutInOp"
> User-Agent: Axis2
> Content-Length: 467
> ******************************
>
> On Thu, 2006-12-28 at 08:29 -0500, Anne Thomas Manes wrote:
> > If you want to send an empty SOAPAction, then you cannot disable it.
> > You enablde bit but specify no value.
> >
> > On 12/28/06, Stefan Kok <st...@opensolutions.co.za> wrote:
> > > 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 ideas could you please pass me some pointers.
> > >
> > > Kind Regards
> > > Stefan.
> > >
> > > P.S
> > > Original post at:
> > > http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200610.mbox/%
> > > 3C9abd5e730610090047g556a4b11u5c7e3994ea188fb6@mail.gmail.com%3E
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> --
> Stefan Kok <st...@opensolutions.co.za>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: DISABLE_SOAP_ACTION (AXIS2)
Posted by Stefan Kok <st...@opensolutions.co.za>.
Hi Anne
Thanks for your reply.
I am afraid you have lost me. Please see the two sample headers below.
The first is correct. The second incorrect. The second one is generated
by axis2 for me. I was hoping to drop the "urn:anonOutInOp" part using
DISABLE_SOAP_ACTION.
However I can not figure out how to do it using the options object.
Kind regards
Stefan.
************* First **************
POST /some HTTP/1.1
Content-Type: multipart/related;
boundary="E0675A0FDC9DF1D04617D97FB987D5AD"; type=text/xml;
start="</some string>"
SOAPAction: ""
Content-Length: 120617
****************************
*********** Second ******************
POST /some HTTP/1.1
SOAPAction: "urn:anonOutInOp"
User-Agent: Axis2
Content-Length: 467
******************************
On Thu, 2006-12-28 at 08:29 -0500, Anne Thomas Manes wrote:
> If you want to send an empty SOAPAction, then you cannot disable it.
> You enablde bit but specify no value.
>
> On 12/28/06, Stefan Kok <st...@opensolutions.co.za> wrote:
> > 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 ideas could you please pass me some pointers.
> >
> > Kind Regards
> > Stefan.
> >
> > P.S
> > Original post at:
> > http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200610.mbox/%
> > 3C9abd5e730610090047g556a4b11u5c7e3994ea188fb6@mail.gmail.com%3E
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
--
Stefan Kok <st...@opensolutions.co.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: DISABLE_SOAP_ACTION (AXIS2)
Posted by Anne Thomas Manes <at...@gmail.com>.
If you want to send an empty SOAPAction, then you cannot disable it.
You enablde bit but specify no value.
On 12/28/06, Stefan Kok <st...@opensolutions.co.za> wrote:
> 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 ideas could you please pass me some pointers.
>
> Kind Regards
> Stefan.
>
> P.S
> Original post at:
> http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200610.mbox/%
> 3C9abd5e730610090047g556a4b11u5c7e3994ea188fb6@mail.gmail.com%3E
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org