dev@jax-ws.java.net

Re: SOAPAction not getting set in SOAP 1.2 messages?

From: Rama Pulavarthi <Rama.Pulavarthi_at_Sun.COM>
Date: Thu, 20 Nov 2008 11:28:30 -0800

Hi,
There won't be an SOAPAction header in SOAP 1.2 messages.
There would be a action parameter in the media type header.
If this is not hapepning, Please file an issue.

Please use users_at_jax-ws.dev.java.net for any issues.

thanks,
Rama Pulavarthi

Satadru Roy wrote:
> Environment - GFV2U2.
>
> I'm trying to set a SOAPAction header in the JAX-WS client code:
>
> portType=...
> BindingProvider bp = (BindingProvider)portType;
> bp.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY,
> Boolean.TRUE);
> bp.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY,
> "offeringID=4181:OperationName=LabPut");
>
> But the outgoing SOAP message doesn't have the SOAPAction header:
>
> --[HTTP request]---
> Accept: application/soap+xml, multipart/related, text/html, image/gif,
> image/jpeg, *; q=.2, */*; q=.2
> Content-Type: multipart/related; type="application/soap+xml";
> boundary="uuid:6c81b14d-ea67-4422-86f3-2437fc47acc7"
> --uuid:6c81b14d-ea67-4422-86f3-2437fc47acc7
> Content-Type: application/soap+xml
>
> ....
>
> What am I missing?
>
> Thanks,
> Satadru
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>