3 Replies Latest reply: Jun 24, 2014 7:01 PM by dvohra21 RSS

    No corresponding wsdl operation

    Miguel Angel

      I have created an adf application with the model and viewController proyect. Then I created one more proyect to integrate the application with a web service from SAP. In this proyect I have choose the option Web Client and proxy with a given URL. JDeveloper 12c creates the artifacts and classes. The problem is  that when I call the object ,thas has the method I want, then I got the error:

       

      javax.el.ELException: javax.xml.ws.WebServiceException: Method beaInvoke is exposed as WebMethod, but there is no corresponding wsdl operation with name {urn:sap-com:document:sap:soap:functions:mc-style}beaInvoke in the wsdl:portType{urn:sap-com:document:sap:soap:functions:mc-style}ZWS_BOLETAPERSONAL

       

      But I don' understand what is the beaInvoke method?. This is part of my code:

       

      Service service = new Service();
      ZWSBOLETAPERSONAL sapObject = service.getBinding();
      sapObject .zrfcHrBoletapersonal(idSap, aleatorio);
      
        • 1. Re: No corresponding wsdl operation
          dvohra21

          What is the WSL Url? WSDL is not found.

           

          Which server is used? GlassFish?

          • 2. Re: No corresponding wsdl operation
            Miguel Angel

            The server is WebLogic 12c

             

            Part of the WSDL is:

              <wsdl:portType name="ZWS_BOLETAPERSONAL">
                <wsdl:documentation>
                  <sapdoc:sapdoc xmlns:sapdoc="urn:sap:esi:documentation">
                    <sapdoc:docitem docURL="http://saperpdev.gruposalud.com:8001/sap/bc/esdt/docu/sd_text?sap-client=200&sd_name=ZWS_BOLETAPERSONAL"/>
                  </sapdoc:sapdoc>
                </wsdl:documentation>
                <wsp:Policy>
                  <wsp:PolicyReference URI="#IF_IF_ZWS_BOLETAPERSONAL"/>
                </wsp:Policy>
                <wsdl:operation name="ZrfcHrBoletapersonal">
                  <wsp:Policy>
                    <wsp:PolicyReference URI="#OP_IF_OP_ZrfcHrBoletapersonal"/>
                  </wsp:Policy>
                  <wsdl:input message="tns:ZrfcHrBoletapersonal"/>
                  <wsdl:output message="tns:ZrfcHrBoletapersonalResponse"/>
                </wsdl:operation>
              </wsdl:portType>
            <wsdl:service name="service">
                <wsdl:port name="binding" binding="tns:binding">
                  <soap:address location="http://saperpdev.gruposalud.com:8001/sap/bc/srt/rfc/sap/zws_boletapersonal/200/service/binding"/>
                </wsdl:port>
                <wsdl:port name="binding_SOAP12" binding="tns:binding_SOAP12">
                  <wsoap12:address location="http://saperpdev.gruposalud.com:8001/sap/bc/srt/rfc/sap/zws_boletapersonal/200/service/binding"/>
                </wsdl:port>
              </wsdl:service>
            
            • 3. Re: No corresponding wsdl operation
              dvohra21

              The WSDL URL doesn't seem to be as required, as usually WSDL URL has a ?WSDL at the end, and the default location attribute setting in WSDL  is required to be set to the WSDL URL.

               

              <wsdl:port name="binding_SOAP12" binding="tns:binding_SOAP12"> 

                    <wsoap12:address location="http://saperpdev.gruposalud.com:8001/sap/bc/srt/rfc/sap/zws_boletapersonal/200/service/binding"/> 

                  </wsdl:port>