9 Replies Latest reply: Aug 22, 2011 10:59 AM by 797169 RSS

    Register SOA apps in Service Manager Fails

    adrian campanaro - oracle
      I am Oracle support for OEG.

      I have a customer that is having trouble with registering SOA services in OEG Service Manager.
      When they register normal Java web Services it is fine.
      When they try to register SOA servers we get error:

      "Please enter a valid WSDL URL"
                

      OEG version is 11.1.1.5.

      STEPS
      ====

      Create SOA
      -----------------
      - In JDeveloper create a SOA project doint
                - Select Composite with BPEL Process
                - Synchronous or Asynchronous
      - Deploy to WebLogic SOA server
      - In EM (under SOA | soa-infra) select SOA service and get WSDL URL in Test screen.
           
      OEG
      ---
      - In Service Manager right-click Web Services node and select 'Register Web Service'
      - Register Web Service dialog:
                WSDL URL: enter URL of SOA service from above
                Press [Register].
                >> FAILED:
                
                     Error
                     
                     Please enter a valid WSDL URL
        • 1. Re: Register SOA apps in Service Manager Fails
          882069
          Can you please supply the trace contents when the error is triggered in the Gateway, see the /trace directory of your Gateway installation.
          • 2. Re: Register SOA apps in Service Manager Fails
            adrian campanaro - oracle
            Here is the trace

            ERROR 16/Aug/2011:00:25:19.252 [2ee8] java exception:
            com.vaadin.data.Validator$InvalidValueException: Please enter a valid WSDL URL

                 at com.vaadin.data.validator.AbstractValidator.validate(AbstractValidator.java:64)

                 at com.vordel.webmanager.ui.services.RegisterWebServiceDialog.validateWsdlArguments(RegisterWebServiceDialog.java:319)

                 at com.vordel.webmanager.ui.services.RegisterWebServiceDialog$1.buttonClick(RegisterWebServiceDialog.java:126)

                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                 at java.lang.reflect.Method.invoke(Method.java:597)

                 at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)

                 at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:162)

                 at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1166)

                 at com.vaadin.ui.Button.fireClick(Button.java:380)

                 at com.vaadin.ui.Button.changeVariables(Button.java:196)

                 at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1297)

                 at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1217)

                 at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:733)

                 at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)

                 at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:483)

                 at com.vordel.webmanager.WebManagerServlet.service(WebManagerServlet.java:69)

                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            • 3. Re: Register SOA apps in Service Manager Fails
              882069
              Hi,
              What is the value of the URL that you've entered? From grepping the code of the OEG for the exception it appears that the Service Manager has some incorrect logic where by it's testing the value of the WSDL URL has a minimum length of 13 and a maximum length of 100. I've opened up an SR against engineering on this.

              Can you use the Policy Studio to register the service?

              Thanks,
              D
              • 4. Re: Register SOA apps in Service Manager Fails
                adrian campanaro - oracle
                This is the url for Java web service that works
                http://10.187.80.13:7001/SimpleBPEL-JavaWS-context-root/SimpleWSPort?wsdl
                (server not running)

                This is the the url of BPEL url that is not working
                http://acampanaro-pc2.au.oracle.com:7001/soa-infra/services/default/Project2/bpelprocess1_client_ep?WSDL


                Policy Manager..I will try
                • 5. Re: Register SOA apps in Service Manager Fails
                  882069
                  Yes, the URL below is 105 characters in length and so fails:

                  http://acampanaro-pc2.au.oracle.com:7001/soa-infra/services/default/Project2/bpelprocess1_client_ep?WSDL

                  Use the ip address instead of the FQDN brings the length to 74 and so will continue to load.

                  Thanks
                  • 6. Re: Register SOA apps in Service Manager Fails
                    adrian campanaro - oracle
                    Can you please send me your contact details to adrian.campanaro@oracle.com.
                    I would like to talk to you about this.

                    Also I am having trouble starting/using the Policy Studio.
                    • 7. Re: Register SOA apps in Service Manager Fails
                      797169
                      Hi Acampana,

                      Try to Register the Service in Policy Studio and Reset the service Manager. It will get Registered.

                      Pokuri
                      • 8. Re: Register SOA apps in Service Manager Fails
                        797169
                        Hi Acampana,

                        Try to Register the Service in Policy Studio and Reset the service Manager. It will get Registered.

                        Pokuri
                        • 9. Re: Register SOA apps in Service Manager Fails
                          797169
                          Hi Acampana,

                          Try to Register the Service in Policy Studio and Reset the service Manager. It will get Registered.

                          Pokuri