Sunday, May 31, 2009

Weblogic 10.3 Web Services and SOAP 1.2

Weblogic 10.3 Web Services was failing to recognize my endpoint as SOAP 1.2. I was using the wsdlc and jwsc Ant tasks provided by Oracle to generate my Java code from WSDL. After working with Oracle Support, there is a bug in their code generator. To get around the problem, I had to modify my Service Annotation like this:

//@BindingType("http://schemas.xmlsoap.org/wsdl/soap/http")
@BindingType(value = "http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/")

No comments: