2 Replies Latest reply on Jul 24, 2006 7:13 PM by Ravishankar Srinivasan

    Endpoint does not contain operation meta data for:

    Nx Lp Newbie

      Hi again!

      I have generated my WSDL

      <?xml version="1.0" encoding="UTF-8"?>
      <!--definitions name="EJB3Service"
      targetNamespace="http://org.jboss.ws/samples/jsr181ejb"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"-->
      <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:s="http://www.w3.org/2001/XMLSchema"
      xmlns:ns="http://org.jboss.ws/samples/jsr181ejb"
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      targetNamespace="http://org.jboss.ws/samples/jsr181ejb">
      
      
      <wsdl:types>
      <s:schema elementFormDefault="qualified" targetNamespace="http://org.jboss.ws/samples/jsr181ejb">
      
      <s:complexType name="libro">
      <s:sequence>
      <s:element name="Nombre" nillable="true" type="s:string"/>
      <s:element name="Autor" nillable="true" type="s:string"/>
      <s:element name="edicion" nillable="true" type="s:int"/>
      <s:element name="compradores" nillable="true" type="s:string"/>
      </s:sequence>
      </s:complexType>
      </s:schema>
      </wsdl:types>
       <wsdl:message name="EndpointInterface_echoResponse">
      <wsdl:part type="s:string" name="result"/>
      </wsdl:message>
       <wsdl:message name="EndpointInterface_echo">
      <wsdl:part name="elLibro" type="ns:libro"/>
      </wsdl:message>
      
      <portType name="EndpointInterface">
      <wsdl:operation name="echo">
      <wsdl:input message="ns:EndpointInterface_echo"/>
      <wsdl:output message="ns:EndpointInterface_echoResponse"/>
      </wsdl:operation>
      </portType>
      
      <binding name="EndpointInterfaceBinding" type="ns:EndpointInterface">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
       <operation name="echo">
      <soap:operation style="document"/>
       <input>
      <soap:header message="ns:EndpointInterface_echo" part="elLibro" use="literal"/>
      <soap:body use="literal"/>
      </input>
       <output>
      <soap:body use="literal"/>
      </output>
      </operation>
      </binding>
      
      <!-- aldjals -->
      
      <service name="EJB3Service">
      <port binding="ns:EndpointInterfaceBinding" name="EndpointInterfacePort">
       <soap:address location="http://can02:8080/jbossws-samples-jsr181ejb/EJB3Bean01"/>
      </port>
      </service>
      
      
      </wsdl:definitions>


      I have a bean class, an interface class and a remote EJB class.

      calling my webservice, i obtain this SOAP message:


      <env:Fault>
      env:Client
      Endpoint {http://org.jboss.ws/samples/jsr181ejb}EndpointInterfacePort does not contain operation meta data for: elLibro
      </env:Fault>



      where could be the problem??

      thanks!