You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Alex Labad <al...@gmail.com> on 2011/07/05 13:40:12 UTC

WSDL2Java from wsdl soap1.2 generating code fow wsdl soap1.1

Hi all,

I am generating the server part of an wsdl with soap 1.2 binding, and once
the server is generated and published, the server does not allow soap1.2
calls.

I have introduced this in the PortType,
@BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)

but still not working.

The WSDL used for generation is one sample for OGC SPSv2 implementation.
(attached).

Any help will be appreciated.
King regards,
Alex

Re: WSDL2Java from wsdl soap1.2 generating code fow wsdl soap1.1

Posted by Alex Labad <al...@gmail.com>.
Hi all again,

I also tried the following but no success:

 service.addPort(portQName, SOAPBinding.SOAP12HTTP_BINDING, address);

        //service.
        Endpoint.publish(address, service.getPort(portQName,
Sps2PortType.class));

I am using CXF 2.4.1

Any suggestions will be really appreciated.
Best regards,
Alex

2011/7/5 Alex Labad <al...@gmail.com>

> Hi all,
>
> I am generating the server part of an wsdl with soap 1.2 binding, and once
> the server is generated and published, the server does not allow soap1.2
> calls.
>
> I have introduced this in the PortType,
> @BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)
>
> but still not working.
>
> The WSDL used for generation is one sample for OGC SPSv2 implementation.
> (attached).
>
> Any help will be appreciated.
> King regards,
> Alex
>