Hi Javed,

It should be not a problem to use Document style with JMS.
If you look in jms samples delivered with CXF (jms_pubsub, jms_queue) as well 
as system tests - they working with Document style.

Could you provide a little bit more information about your problem and 
configuration: what kind of exception you receive, how your client / service 
are configured?

Regards,
Andrei.


> -----Original Message-----
> From: Javed Mandary [mailto:[email protected]]
> Sent: Dienstag, 19. Februar 2013 03:23
> To: [email protected]
> Subject: JMS over SOAP with Apache CXF
> 
> Dear All,
>             I currently have a requirement for a using same SOAP Request to
> access  both a JMS Apache CXF service endpoint and a SOAP Apache CXF
> synchronous service endpoint.
> 
> However when running tests I've found that the JMS service was expecting
> RPC style requests whilst the SOAP Synch Service was expecting Document
> literal style.
> 
> I have added the following annotation to the interface to change everything
> to RPC:
>   @SOAPBinding(style=Style.RPC, use=Use.LITERAL)
> 
> I've seen that sending an RPC style Request works for both the Synch and
> Asynch however when changing the @SOAPBinding style to Document I was
> not able to use Document style Request for the JMS side .
> 
> So am wondering how we actually make the Asynch endpoint use Document
> Style ?
> 
> Note that my service endpoint for both Synch and Asynch are defined using
> spring jaxws:endpoint tags.
> 
> kind regards,
>  Javed

Reply via email to