hejka

Nie jestem pewien czy tutaj powinienem założyć ten temat... :/
Wygenerowałem sobie z eclipse przykładowy plik wsdl. Walidator eclipse zgłasza mi błąd, którego nie potrafię zidentyfikować. Może ktoś mi wskazać gdzie należy wprowadzić poprawki?

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  3. xmlns:tns="http://www.example.org/probe/"
  4. xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  5. xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="probe"
  6. targetNamespace="http://www.example.org/probe/">
  7.  
  8. <wsdl:types>
  9. <xsd:schema targetNamespace="http://www.example.org/probe/">
  10. <xsd:complexType name="PROBE_TYPE">
  11. <xsd:sequence>
  12. <xsd:element name="param1" type="xsd:string"></xsd:element>
  13. <xsd:element name="param2" type="xsd:string"></xsd:element>
  14. </xsd:sequence>
  15. </xsd:complexType>
  16. </xsd:schema>
  17. </wsdl:types>
  18. <wsdl:message name="probeOperationRequest">
  19. <wsdl:part name="parameters" type="tns:PROBE_TYPE" />
  20. </wsdl:message>
  21. <wsdl:portType name="probe">
  22. <wsdl:operation name="probeOperation">
  23. <wsdl:input message="tns:probeOperationRequest" name="inputParam" />
  24. </wsdl:operation>
  25. </wsdl:portType>
  26. <wsdl:binding name="probeSOAP" type="tns:probe">
  27. <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
  28. <wsdl:operation name="probeOperation">
  29. <soap:operation soapAction="" />
  30. <wsdl:input name="inputParam">
  31. <soap:body use="literal" />
  32. </wsdl:input>
  33. </wsdl:operation>
  34. </wsdl:binding>
  35. <wsdl:service name="probe">
  36. <wsdl:port binding="tns:probeSOAP" name="probeSOAP">
  37. <soap:address location="http://www.example.org/" />
  38. </wsdl:port>
  39. </wsdl:service>
  40. </wsdl:definitions>


Bład jaki mi się wyświetla ma następującą treść:
A document-literal binding contains soapbind:body element(s) that refer to message part element(s) that do not have the element attribute
i pojawia się przy linijce
  1. <wsdl:binding name="probeSOAP" type="tns:probe">


z góry dzięki i pozdrawiam