WS-I Basic Profile v1.1 (the current version) does not allow use of
SOAP 1.2, MTOM, or WS-Addressing. Support for MTOM and WS-Addressing
will be added in WS-I BP v1.2. Support for SOAP 1.2 will be added in
WS-I BP v2.0.
For the moment, use of any of these newer specifications is likely to
cause interoperability challenges, therefore the WS-I profiles still
recommend that you stick with the basics.
If you want to be WS-I BP v1.1 compliant, you must constrain your
service to SOAP 1.1 and WSDL 1.1. If you want to use attachments, you
can follow the WS-I Attachments Profile, which provides guidance for
using SOAP with Attachments (although you will encounter interop
problems with this.)
Anne
On 4/20/07, Ephemeris Lappis <[EMAIL PROTECTED]> wrote:
Hello.
My WSDL seems good enough for server and client generation in Axis2 and
.net. Nevertheless when validating it with my Eclipse, 2 problems are
reported :
WS-I: (AP2901) A description uses neither the WSDL MIME Binding as described
in WSDL 1.1 Section 5 nor WSDL SOAP binding as described in WSDL 1.1 Section
3 on each of the wsdl:input or wsdl:output elements of a wsdl:binding.
WS-I: (BP2402) The wsdl:binding element does not use a soapbind:binding
element as defined in section "3 SOAP Binding." of the WSDL 1.1
specification.
The message are refered for the second SOAP 1.2 binding :
<wsdl:binding
name="Moon4Service-SOAP12-Binding"
type="my-service:Moon4Service">
<soap12:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<wsdl:operation name="testAttachment">
<soap12:operation
soapAction="urn:moon-ws-4/service/test-attachment"
style="document" />
<wsdl:input name="TestAttachmentInput">
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output name="TestAttachmentOutput">
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
I have had a look at the WS-I documents, but even with their comments, I
don't understand what my eclipse is complaining about.
So, if some WSDL fluent speaker should help me…
Thanks…
--
Ephemeris Lappis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]