Thanks Guillaume for that. I have made changes to my HTTP BC's xbean.xml
file as stated.

Still, I cannot get the WSDL.

If my xbean.xml is...

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:jwsdl="http://au.net.wcg.webservice.jvmhost/WSDL";>    
    <http:endpoint service="jwsdl:owen"
                   endpoint="soap"
                   role="consumer"
                   locationURI="http://0.0.0.0:8192/example/";
                   defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                   soap="true" />
</beans>

... what will I enter in my browser to get the WSDL?

Thanks,

  Owen.

-----Original Message-----
From: Guillaume Nodet [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 5:01 PM
To: [email protected]
Subject: Re: SOAP HTTP BC.

This will happen if you deploy the SU with an url such as
  http://localhost:8192/service

The "localhost" will cause the socket to be only accessible from
the local computer, whereas 0.0.0.0 will bind the socket to all
computer IP addresses.

On 4/17/07, Owen Thomas <[EMAIL PROTECTED]> wrote:
>
> Hi Guillaume
>
> Hmmm... I'm using another machine to the one I'm working on as my
> server. Apparently when I point my browser to the server, it is
waiting
> indefinitely for a response.
>
> Could you please tell me if this is because of a parameter in
> ServiceMix, and if this is so, the parameters name?
>
> Thanks,
>
>   Owen.
>
> -----Original Message-----
> From: Guillaume Nodet [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 17, 2007 4:39 PM
> To: [email protected]
> Subject: Re: SOAP HTTP BC.
>
> The wsdl exposed by the http BC can be accessed by pointing
> your web browser at the port defined in your xbean.xml.
> If you set the locationUri to be
>    http://0.0.0.0:8192/myService
> browsing to
>    http://localhost:8192/
> should display the list of available services and link to their wsdls.
>
> On 4/17/07, Owen Thomas <[EMAIL PROTECTED]> wrote:
> >
> > Thanks Gert for your reply.
> >
> > I've just deployed my first SA, and would like to get the WSDL it
has
> > exposed. Could you please tell me how to do that?
> >
> > Thanks,
> >
> >   Owen.
> >
> > -----Original Message-----
> > From: Gert Vanthienen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 17, 2007 4:17 PM
> > To: [email protected]
> > Subject: Re: SOAP HTTP BC.
> >
> > Owen,
> >
> > I have never used the HTTP BC, but as I understand it...
> > Not necessarily,  you can e.g. use a JSR-181 bean and expose it to
the
> > outside using a SOAP HTTP BC, in which case the WSDL will be
> > autogenerated.
> >
> > Regards,
> >
> > Gert
> >
> > Owen Thomas wrote:
> > > Hello.
> > >
> > >
> > >
> > > Will I need to define a WSDL for my SOAP HTTP BC?
> > >
> > >
> > >
> > > Thanks for your help,
> > >
> > >
> > >
> > >   Owen.
> > >
> > >
> > >
> >
> >
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
>



-- 
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Reply via email to