You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by John Baker <jb...@javasystemsolutions.com> on 2008/12/19 10:40:03 UTC

wsdl:location

Hi,

When a WSDL is produced, the wsdl:location is often set to localhost - is 
there any way to change this?


john

Re: wsdl:location

Posted by Benson Margulies <bi...@gmail.com>.
In the spring case it's just a property of the endpoint or @annotated
on the service.

On Sun, Dec 21, 2008 at 3:12 PM, John Baker
<jb...@javasystemsolutions.com> wrote:
> Is that a JVM flag?  Can it be set as a property when creating beans through
> Spring?
>
> Thanks.
>
> On Friday 19 December 2008 09:45:50 you wrote:
>> Hi John,
>> After cxf 2.1, there is a flag "-address" for you to specify the port
>> address.
>> But it's not in the cxf 2.0.x
>> Freeman
>>
>> John Baker wrote:
>> > Hi,
>> >
>> > When a WSDL is produced, the wsdl:location is often set to localhost - is
>> > there any way to change this?
>> >
>> >
>

Re: wsdl:location

Posted by Daniel Kulp <dk...@apache.org>.
On Sunday 21 December 2008 3:12:45 pm John Baker wrote:
> Is that a JVM flag?  Can it be set as a property when creating beans
> through Spring?

Umm.... the dynamic wsdl produced when you hit ?wsdl puts in the hostname that 
you use.   If you use "http://localhost/blah/foo?wsdl", it will put localhost 
in the location.    If you use the fully qualified name, that is what would 
be put there.

That said, the cxf-servlet has a property to override it.  "base-address" 
property can be set to be the base address that is used.

Dan



> Thanks.
>
> On Friday 19 December 2008 09:45:50 you wrote:
> > Hi John,
> > After cxf 2.1, there is a flag "-address" for you to specify the port
> > address.
> > But it's not in the cxf 2.0.x
> > Freeman
> >
> > John Baker wrote:
> > > Hi,
> > >
> > > When a WSDL is produced, the wsdl:location is often set to localhost -
> > > is there any way to change this?



-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Re: wsdl:location

Posted by John Baker <jb...@javasystemsolutions.com>.
Is that a JVM flag?  Can it be set as a property when creating beans through 
Spring?

Thanks.

On Friday 19 December 2008 09:45:50 you wrote:
> Hi John,
> After cxf 2.1, there is a flag "-address" for you to specify the port
> address.
> But it's not in the cxf 2.0.x
> Freeman
>
> John Baker wrote:
> > Hi,
> >
> > When a WSDL is produced, the wsdl:location is often set to localhost - is
> > there any way to change this?
> >
> >

Re: wsdl:location

Posted by Freeman Fang <fr...@gmail.com>.
Hi John,
After cxf 2.1, there is a flag "-address" for you to specify the port 
address.
But it's not in the cxf 2.0.x
Freeman

John Baker wrote:
> Hi,
>
> When a WSDL is produced, the wsdl:location is often set to localhost - is 
> there any way to change this?
>
>
> john
>
>