7 Replies Latest reply on Mar 16, 2012 9:51 PM by 710252

    Unable to register service Error while deployment

    user5108636
      Hi All,
      I am getting the following error while deploying. I have attached the log details and the WSDL. Please suggest how to resolve this error.

      2010-07-26T17:11:37.828+10:00] [soa_server1] [NOTIFICATION] [SOA-21046] [oracle.integration.platform.blocks.deploy.servlet] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IcD_uWX9xWD_n9G7yZ1CHweF000w^H,0] [APP: soa-infra] [dcid: 1cc699ed1d7ff4a3:-1e45b33a:129f87006e3:-7ffd-000000000000c092] [arg: default/ProcessData!1.0*soa_14ef45a1-847d-450b-aa18-a7eee66632ea] [arg: default/ProcessData!1.0*soa_0c78781a-709d-4b7e-a8f6-ccbd9ac75916] [arg: true] Calling coordinator to update composite. base composite: default/ProcessData!1.0*soa_14ef45a1-847d-450b-aa18-a7eee66632ea, new composite: default/ProcessData!1.0*soa_0c78781a-709d-4b7e-a8f6-ccbd9ac75916, isForceDefault flag: true
      [2010-07-26T17:11:38.254+10:00] [soa_server1] [ERROR] [SOA-20003] [oracle.integration.platform] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IcD_uWX9xWD_n9G7yZ1CHweF000w^H,0] [APP: soa-infra] [dcid: 1cc699ed1d7ff4a3:-1e45b33a:129f87006e3:-7ffd-000000000000c092] Unable to register service.[[
      oracle.webservices.provider.ProviderException: oracle.webservices.provider.ProviderException: No service {http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed}AVCadDataFeed defined in the WSDL
      at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(ProviderConfigImpl.java:443)
      at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(ProviderConfigImpl.java:282)
      at oracle.integration.platform.blocks.soap.FabricProviderConfig.addService(FabricProviderConfig.java:112)
      at oracle.integration.platform.blocks.soap.FabricProviderConfig.addService(FabricProviderConfig.java:201)
      at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:157)
      at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:91)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployServices(CompositeDeploymentConnection.java:162)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:144)
      at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:62)
      at sun.reflect.GeneratedMethodAccessor5638.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:69)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy262.load(Unknown Source)
      at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeRedeploy(StandaloneCompositeDeploymentCoordinatorImpl.java:62)
      at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.overwriteExistingComposite(BaseDeployProcessor.java:375)
      at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:222)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:161)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:110)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:98)
      at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:79)
      at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:153)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: oracle.webservices.provider.ProviderException: No service {http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed}AVCadDataFeed defined in the WSDL
      at oracle.j2ee.ws.server.provider.ProviderConfigImpl.getServiceName(ProviderConfigImpl.java:604)
      at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(ProviderConfigImpl.java:339)
      at oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(ProviderConfigImpl.java:283)
      at oracle.integration.platform.blocks.soap.FabricProviderConfig.addService(FabricProviderConfig.java:112)
      at oracle.integration.platform.blocks.soap.FabricProviderConfig.addService(FabricProviderConfig.java:202)
      ... 43 more

      ]]
      [2010-07-26T17:11:38.265+10:00] [soa_server1] [NOTIFICATION] [SOA-21061] [oracle.integration.platform.blocks.deploy.servlet] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IcD_uWX9xWD_n9G7yZ1CHweF000w^H,0] [APP: soa-infra] [dcid: 1cc699ed1d7ff4a3:-1e45b33a:129f87006e3:-7ffd-000000000000c092] [arg: soa_0c78781a-709d-4b7e-a8f6-ccbd9ac75916] [arg: /deployed-composites] Removing label soa_0c78781a-709d-4b7e-a8f6-ccbd9ac75916 in namespace /deployed-composites of MDS storage
      [2010-07-26T17:11:38.272+10:00] [soa_server1] [ERROR] [SOA-21037] [oracle.integration.platform.blocks.deploy.servlet] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IcD_uWX9xWD_n9G7yZ1CHweF000w^H,0] [APP: soa-infra] [dcid: 1cc699ed1d7ff4a3:-1e45b33a:129f87006e3:-7ffd-000000000000c092] [arg: Error during deployment: Update Failed: Unable to register service..] Sending back error message: Error during deployment: Update Failed: Unable to register service...



      WSDL

      <?xml version= '1.0' encoding= 'UTF-8' ?>
      <wsdl:definitions
      name="AVCadDataFeed"
      targetNamespace="http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed"
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      xmlns:inp1="http://au/gov/vic/mas/ortd/Cadmsg"
      xmlns:tns="http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <wsdl:types>
      <schema xmlns="http://www.w3.org/2001/XMLSchema" >
      <import namespace="http://au/gov/vic/mas/ortd/Cadmsg" schemaLocation="xsd/OdsCadMsg.xsd" />
      </schema>
      </wsdl:types>
      <wsdl:message name="requestMessage">
      <wsdl:part name="request" element="inp1:odsCadDataSet"/>
      </wsdl:message>
      <wsdl:portType name="livefeed_ptt">
      <wsdl:operation name="livefeed">
      <wsdl:input message="tns:requestMessage"/>
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:message name="headerMessage">
      <wsdl:part name="header" element="inp1:customHeader"/>
      </wsdl:message>
      <wsdl:binding name="livefeed_pttSOAP11Binding" type="tns:livefeed_ptt">
      <soap:binding style="document"
      transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="livefeed">
      <soap:operation style="document"
      soapAction="http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed/livefeed"/>
      <wsdl:input>
      <soap:body use="literal" parts="request"/>
      <soap:header use="literal" part="header"
      message="tns:headerMessage"/>
      </wsdl:input>
      </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="OrtdService">
      <wsdl:port name="Ortd_Port" binding="tns:livefeed_pttSOAP11Binding">
      <soap:address location="http://vdatdlsoa02.mas.vic.gov.au:8001/soa-infra/services/default/ProcessData/AVCadDataFeed"/>
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>


      Thanks

      Edited by: user5108636 on 26/07/2010 00:19
        • 1. Re: Unable to register service Error while deployment
          Anuj Dwivedi--Oracle
          Caused by: oracle.webservices.provider.ProviderException: No service {http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed}AVCadDataFeed defined in the WSDL
          I think this error is because of invalid WSDL. In WSDL the service name defined is -

          <wsdl:service name="OrtdService">

          but you are trying to deploy service "AVCadDataFeed".

          Regards,
          Anuj
          • 2. Re: Unable to register service Error while deployment
            user5108636
            Thanks Anuj, I will try deploying with the changes mentioned above. I am wondering in the WSDl what is the significance of the location attribute in the service element tag. Does this have to a valid accessible URL. In my case I tried tweak it with this value {http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed} and the other value as shown above in the WSDL. Not sure what the actual value should be. Please suggest.

            Thanks
            • 3. Re: Unable to register service Error while deployment
              user5108636
              I is till throwing error after changing <wsdl:service name="AVCadDataFeed">

              The message I get is

              Deployment Failed: Unable to find a WSDL that has a definition for service {http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed}AVCadDataFeed and port livefeed_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..

              Also, what should be the value of the <soap:address location attribute in the service element

              Thanks
              • 4. Re: Unable to register service Error while deployment
                Anuj Dwivedi--Oracle
                I is till throwing error after changing <wsdl:service name="AVCadDataFeed">
                Because still there are problems in WSDL. Error description gives the detail -
                Deployment Failed: Unable to find a WSDL that has a definition for service {http://oracle.com/sca/soapservice/ORTDWS/ProcessData/AVCadDataFeed}AVCadDataFeed and port livefeed_pt.
                Make sure that port attribute has right value.
                Also, what should be the value of the <soap:address location attribute in the service element
                From Web Services Description Language (WSDL) 1.1 specification (http://www.w3.org/TR/wsdl#_soap:address) -

                The SOAP address binding is used to give a port an address (a URI). A port using the SOAP binding MUST specify exactly one address. The URI scheme specified for the address must correspond to the transport specified by the soap:binding.

                <definitions .... >
                <port .... >
                <binding .... >
                <soap:address location="uri"/>
                </binding>
                </port>
                </definitions>

                Regards,
                Anuj
                • 5. Re: Unable to register service Error while deployment
                  user9285225
                  did u find a solution for this?
                  • 6. Re: Unable to register service Error while deployment
                    897088
                    hey i am facing a similar problem and tried changes in the WSDL but still no success .

                    Can anyone please help me out on this .

                    Thanks

                    Sachin
                    • 7. Re: Unable to register service Error while deployment
                      710252
                      I am facing the similar issue,I tried all above solutions,

                      I am getting the following error while deploying to EM console from my J Developer; but in Make/Rebuild no error. while in deployment I got this below error.

                      [01:36:45 PM] Error deploying archive sca_T7_rev1.0.0.jar to partition "default" on server soa_server1
                      [01:36:45 PM] HTTP error code returned [500]
                      [01:36:45 PM] Error message from server:
                      There was an error deploying the composite on soa_server1: Deployment Failed: Unable to register service..
                      [01:36:45 PM] Check server log for more details.
                      [01:36:45 PM] Error deploying archive sca_T7_rev1.0.0.jar to partition "default" on server soa_server1 [01:36:45 PM] #### Deployment incomplete. ####
                      [01:36:45 PM] Error deploying archive file:/C:/JDeveloper/mywork/T7/deploy/sca_T7_rev1.0.0.jar
                      (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

                      Any SOA guru's help much appreciated.

                      Thanks
                      ..