Yes, this is a limitation.
Please raise a JIRA for that as this can be a real problem.

Cheers,
Guillaume Nodet

On 3/22/06, Raffaele Spazzoli <[EMAIL PROTECTED]> wrote:
> it worked many thanks.
> I misunderstood the meaning of the endpoint parameter. I thought that it
> would be the name of a new endpoint, a sort of alias.
> This raises another question: is there a way to proxy a an interal
> endpoint with a different name? what happen if I try to proxy an
> internal endpoint with two different extenal endpoint, for example
> SOAP/HTTP, SOAP/JMS?
>
> bye
> Raffaele
>
>
> On Tue, 2006-03-21 at 19:05 +0100, Guillaume Nodet wrote:
> > Make sure that the target endpoint of the servicemix-http matches
> > your corba endpoint and the wsdl and that you do not set the
> > wsdlResource in your xbean
> > config.  Given your wsdl, it should be
> >
> > service: {http://it.imolinfo.jbi4corba.test.webservice.generator} 
> > EchoService
> > endpoint: EchoServiceJBIPort
> >
> > You may also set the log level to DEBUG for org.apache.servicemix.http
> > or everything
> > to see if an exception occurs somewhere.
> >
> > Cheers,
> > Guillaume Nodet
> >
> > On 3/21/06, Raffaele Spazzoli <[EMAIL PROTECTED]> wrote:
> > > 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