I'm trying have the following configuration

corbaservant <---> corba BC <---> jbiesb <---> servicemix-http <--->
soap client

The call execution works so i think I have correctly configured the
servicemix-http service assemby.
When I try to get the wsdl document for that service I get this from
MC4J console:
<?xml version="1.0" encoding="UTF-8"?>

and if I try <serviceurl>/?wsdl

HTTP ERROR: 404
No wsdl is available for this service

RequestURI=/Service/EchoService/

Powered by Jetty://

if I enquire the endpoint defined for the corba BC I get the following
wsdl:

<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";
xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding";
xmlns:tns="http://it.imolinfo.jbi4corba.test.webservice.generator";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
targetNamespace="http://it.imolinfo.jbi4corba.test.webservice.generator";>
  <wsdl:types>
    <xsd:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://it.imolinfo.jbi4corba.test.webservice.generator";>
      <xsd:element name="echo">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element maxOccurs="1" minOccurs="1" name="in0"
nillable="true" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="echoResponse">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element maxOccurs="1" minOccurs="1" name="out"
nillable="true" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="echoRequest">
    <wsdl:part element="tns:echo" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="echoResponse">
    <wsdl:part element="tns:echoResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:portType name="EchoServicePortType">
    <wsdl:operation name="echo">
      <wsdl:input message="tns:echoRequest" name="echoRequest"/>
      <wsdl:output message="tns:echoResponse" name="echoResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="EchoServiceJBIBinding"
type="tns:EchoServicePortType">
    <wsdlsoap:binding style="document"
transport="http://java.sun.com/xml/ns/jbi/binding/service+engine"/>
    <wsdl:operation name="echo">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="echoRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="echoResponse">
        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="EchoService">
    <wsdl:port binding="tns:EchoServiceJBIBinding"
name="EchoServiceJBIPort">
      <wsdlsoap:address
location="jbi://{http://it.imolinfo.jbi4corba.test.webservice.generator}EchoService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

any suggestion?

bye Raffaele


Reply via email to