It was simple enough to change that in the generated class. By default (or
somehow based on the wsdl that was fed to it), the generated client class
creates soap11 bindings, instead we need to do this.
AbstractSoapBinding soapBinding = asf.createSoap12Binding(service0,
new QName(nameSpaceURI,
"EpasSoapServiceBinding"),
"http://schemas.xmlsoap.org/soap/http");
Ankur Shah <[EMAIL PROTECTED]> wrote: I guess the change I am asking of is
applicable ot soap v 1.2. The question then is how can I have xfire send
requests using 1.2 schema definitions.
ankur
Ankur Shah <[EMAIL PROTECTED]> wrote: I want to change the soap:envelope
namespace from default http://schemas.xmlsoap.org/soap/envelope/ to
http://www.w3.org/2003/05/soap-envelope in the soa
I am using xFire to generate client stubs and access a remote web service.
Since all my requests are failing, i've been told to try changing this and see
if it works.
Any help will be much appreciated.
Ankur