Hi naveen, In fact looks like this is not possible with the current wsdl2c generated code. It just pick the first binding and generate code for that. Can you please raise a JIRA. I will look in to that asap.
Thanks Dimuthu On Fri, May 30, 2008 at 3:06 PM, naveen bhat <[EMAIL PROTECTED]> wrote: > Hello group, > > Kindly let me know if my queries are relevant to this forum. > I have not received any response for the query posted below. > Do i need to post this axis2/java forum????? > Assistance needed. > > > On Mon, May 26, 2008 at 4:47 AM, naveen bhat <[EMAIL PROTECTED]> > wrote: >> >> Hello group, >> >> I am using a wsdl with soap 1.2 bindings.I generated >> client stub using three version of axis2/java (1.2/1.3/1.4). In all >> three I found that in the client stub the call for the operation,let >> say add(for eg) always sets the soap version to AXIS2_SOAP11,but >> actually it should be AXIS2_SOAP12 for a wsdl with soap 1.2 bindings. >> I am not finding any options in WSDL2C tool to generate client code >> for soap 1.2 . I also tried to set the soap version to 1.2 (in main >> function of client) before calling the operation defined in stub ,but >> this did not work as the soap version was reset back to soap 1.1 in >> the stub(let say axis2_stub_op_add() for eg). >> >> So my question is how do i use code generator to generate stub which >> can send soap 1.2 compliant message at the client side. >> >> PS: Following command was used to generate stub >> WSDL2C.sh -uri <wsdlpath> -d adb -u > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
