Hi Daniel
There's no support for HTTP GET requests currently. You would need to
implement your own servlet to handle the request, but could use the
SoapProcessor,sendMessage() method from JiBX/WS to send the response.
You would need to set up some context before calling this method,
something like:
IBindingFactory outBodyBindingFactory =
BindingDirectory.getFactory(outputClass);
OutContext outContext = new OutContext();
outContext.setBodyWriter(new
MarshallingPayloadWriter(outBodyBindingFactory));
ExchangeContext exchangeContext =
ExchangeContext.createOutOnlyExchange(outContext);
SoapProcessor processor = new SoapProcessor(SoapVersion.SOAP1_1,
exchangeContext);
OutboundConnection outConn = setupOutboundConnection(); // see
WsServletConnection for example of setting up outbound connection
outContext.setBody(output);
processor.sendMessage(outConn);
cheers
Nigel
Daniel Jarrett wrote:
I am pretty new to using JiBX, so forgive me if the following is a
silly question.
Is it possible to create a JiBX WS client which sends requests using
GET rather than POST?
------------------------------------------------------------------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
------------------------------------------------------------------------
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users