Hi Javier,

The JibxSoap code has been left in an alpha form for some time, as I'm 
sure you're aware. Despite this alpha state, it is usable for web 
services that don't need WS-Security or other WS-* layers on top of SOAP.

In the current state of the code I believe you're correct that the 
elements in the header must be included in the binding, and that you'd 
need to add appropriate methods to actually work with the headers. The 
binding issue isn't inherent in using JiBX, of course - since the 
JibxSoap code was released I've made a number of enhancements that would 
allow independent bindings to be used for the headers and the body, for 
instance - but some restructuring of the JibxSoap code would be needed 
to work around these issues.

I'd like to do more with JibxSoap, but made the decision at the time of 
the initial JiBX production release at the end of 2005 to first focus on 
getting JiBX support integrated into Axis2, since Axis2 was going to 
support the whole stack of WS-* layers - something I'd likely not be 
able to do for JibxSoap. The Axis2 support has been a lot more involved 
than I expected, but there are now a substantial number of organizations 
using JiBX in this way. The upcoming Jibx2Wsdl release will make this 
even simpler for people starting from Java code. Now that JiBX support 
in Axis2 is stable I'll again look at taking JibxSoap further in order 
to help people who are looking for better performance than offered by 
frameworks such as Axis2 and XFire.

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Javier Diaz wrote:
> Hi guys
>
> Does anyone have any idea about this question we send a while ago? 
>
> We are using jibx already in our projects and we would like to be able
> to use jibxsoap to avoid introduce any more APIs in our projects. Also
> we don't need any complex functionalities, just be able to send and
> receive simple SOAP messages, but we really need more control over the
> SOAP headers.
>
> We would really appreciate that if anyone could let us know if the
> current version of jibxsoap can be used or not for this purpose and in
> case the answer is no, which of the current APIs for SOAP will you
> recommend? We have been looking to Axiom and Spring-WS, any ideas? 
>
> For us one of the most important things is speed, which is one the
> reasons we liked the idea of use jibxsoap in first place.
>
> Any comments or suggestions will be really appreciated.
>
> Javier
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Javier
> Diaz
> Sent: 10 April 2007 15:52
> To: JiBX users
> Subject: [jibx-users] jibxsoap and headers
>
> Hi all
>
> We would like to use jibxsoap (client side) to send different SOAP
> messages. 
>
> >From the souce code in SOAPContext.java it's possible to have an
> ArrayList(m_sendHeaders) to store any information you could need in the
> header of your SOAP message. However there are not any method(s) to
> populate this ArrayList. Also from the code, it looks that the elements
> in the header must be in the binding.xml.
>
> Does anyone know if there is any way to work with the headers without
> need to modify the source code?
>
> Any help will be really appreciated.
>
> Javier 
>
> ------------------------------------------------------------------------
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> V
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to