Hi All,
I was creating Web service with SOAP 1.2 binding
bottom-up approach....
@WebService(name="DLSOAP12Service", targetNamespace="ws.soap12.dlservice" ) @SOAPBinding(style=SOAPBinding.Style.DOCUMENT) @BindingType(value="http://www.w3.org/2003/05/soap/bindings/HTTP/") public class DLSOAP12Service { public String echoString(String input) { return input; } }
11:14:58,791 WARN [SOAP12BindingJAXWS] Expected SOAP-1.2 envelope, but got: http://schemas.xmlsoap.org/soap/envelope/
C:\jboss-4.0.5.GA\bin>wsconsume.bat -k e:\SOAP12\DLServiceSOAP12.wsdl parsing WSDL... [WARNING] Ignoring SOAP port "DLServiceSOAP12": it uses non-standard SOAP 1.2 binding. You must specify the "-extension" option to use this binding. line 613 of file:/e:/SOAP12/DLServiceSOAP12.wsdl [WARNING] Service "DLServiceSOAP12" does not contain any usable ports. try running wsimport with -extension switch. line 611 of file:/e:/SOAP12/DLServiceSOAP12.wsdl generating code... .... .... ....