1 Reply Latest reply on Jan 28, 2011 6:06 AM by Magesh Bojan

    Web Service in front of CBR?

    Gary Pinkham Newbie

      how do you get the WSDL published when using the CBR in front of the SOAPProxy? The SOAProxy automatically produces the WSDL when using the HTTP GW.. This works great.. But I have the CBR in front of them and when I tried to put a inXSD on the Actions node the deployment failed: java.lang.UnsupportedOperationException..  Interestingly the WS and WSDL actually get published but the project's deployment fails..  So the services aren't published on the ESB..   Am I doing something wrong here?    Below is the Service Def..

       

      thanks!

      Gary

       

       

      <service category="Proxy_Routed" name="ImagingProxy_CBR"
      description="Routed WebService Proxy: Imaging CBR" invmScope="GLOBAL">
      <listeners>
      <http-gateway name="Proxy_CBR-GwListener"/>
      </listeners>
      <actions mep="RequestResponse" inXsd="/wsdl/CreateDocument.xsd" outXsd="/wsdl/CreateDocumentResponse.xsd">
      <!--
      <action name="proxy_cbr_echo_request"
      class="org.jboss.soa.esb.actions.SystemPrintln">
      <property name="message" value="Message before ContentBasedRouter" />
      </action>
      -->
      <action name="CreateDocument"
      class="org.jboss.soa.esb.actions.ContentBasedRouter">
      <property name="ruleSet" value="Proxy_Routed_Rules.drl"/>
      <property name="ruleLanguage" value="XPathLanguage.dsl"/>
      <property name="destinations">
      <route-to
      destination-name="imaging1"
      service-category="Proxy_Routed"
      service-name="Proxy_Imaging1" />
      <route-to
      destination-name="imaging2"
      service-category="Proxy_Routed"
      service-name="Proxy_Imaging2" />
      </property>
      </action>
      </actions>
      </service>

      <service category="Proxy_Routed" name="ImagingProxy_CBR"

      description="Routed WebService Proxy: Imaging CBR" invmScope="GLOBAL">

      <listeners>

      <http-gateway name="Proxy_CBR-GwListener"/>

      </listeners>

      <actions mep="RequestResponse" inXsd="/wsdl/CreateDocument.xsd" outXsd="/wsdl/CreateDocumentResponse.xsd">

      <action name="CreateDocument"

      class="org.jboss.soa.esb.actions.ContentBasedRouter">

      <property name="ruleSet" value="Proxy_Routed_Rules.drl"/>

      <property name="ruleLanguage" value="XPathLanguage.dsl"/>

      <property name="destinations">

      <route-to

      destination-name="imaging1"

      service-category="Proxy_Routed"

      service-name="Proxy_Imaging1" />

      <route-to

      destination-name="imaging2"

      service-category="Proxy_Routed"

      service-name="Proxy_Imaging2" />

      </property>

      </action>

      </actions>

      </service>