dev@jax-ws.java.net

Xsoap1.2 and Soap1.2

From: Jayashree Viswanathan <vjayashree_at_in.ibm.com>
Date: Sat, 19 Apr 2008 00:01:51 +0530

Hi Jitu,

When I run a wsgen using the command line -wsdl[:protocol] option as below
,

E:\>wsgen -wsdl:Xsoap1.2/http -extension -cp .
com.test.ws.wssample.sei.echo.EchoServicePortImpl

I get the generated wsdl files with <soap12:binding
transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"
style="document"/>


while if i use this "http://www.w3.org/2003/05/soap/bindings/HTTP/" as
binding id with the below command line

wsgen -cp . com.test.ws.wssample.sei.echo.EchoServicePortImpl -wsdl

I get an error "wsgen can not generate WSDL for SOAP 1.2 binding:
http://www.w3.org/2003/05/soap
/bindings/HTTP/ on class:
com.test.ws.wssample.sei.echo.EchoServicePortImpl"

So Is SOAP1.2 not-supported, if so why the same
"http://www.w3.org/2003/05/soap/bindings/HTTP/" is generated in Xsoap1.2.

Can you please explain what is the real difference between Xsoap1.2 and
soap1.2?

I am attaching the sample testcase and sample output as well.
Here com.zip has source and sample result.zip has the result sample.
(See attached file: com.zip) (See attached file: sample result.zip)

Thanks and Regards,
Jayashree V