You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Arek R." <un...@gmail.com> on 2017/06/22 16:39:57 UTC
JaxWsServerFactoryBean.setAddress
What should be set as the parameter to this method. Most examples set sth
like "/myService". But then I can see localhost:8080/myService in generated
wsdl
and while creating soapui project it uses that address and this is wrong.
Of course can change the url by hand.
So maybe I should set real address like like
https://mydomain.com/api/myService ?
I'm not sure what's the purpose of this section in the wsdl
Re: JaxWsServerFactoryBean.setAddress
Posted by "Arek R." <un...@gmail.com>.
I see, I'm working on that but currently have problems with jetty
dependencies. Solving one by one
And what if the address would be https://api.mydomain.com but ssl
terminates at the load balancer. Do I need to change sth in the existing
code ?
2017-06-22 18:55 GMT+02:00 Bill Mair <bi...@web.de>:
> The address is relative to where the CXF servlet is deployed.
>
> Serlet /api
>
> Service: /myService
>
> Path: /api/myService
>
> WSDL: /api/myService?wsdl
>
> You should see the full path in the generated WSDL.
>
> On 22/06/17 18:39, Arek R. wrote:
> > What should be set as the parameter to this method. Most examples set sth
> > like "/myService". But then I can see localhost:8080/myService in
> generated
> > wsdl
> > and while creating soapui project it uses that address and this is wrong.
> > Of course can change the url by hand.
> > So maybe I should set real address like like
> > https://mydomain.com/api/myService ?
> > I'm not sure what's the purpose of this section in the wsdl
> >
>
>
Re: JaxWsServerFactoryBean.setAddress
Posted by Bill Mair <bi...@web.de>.
The address is relative to where the CXF servlet is deployed.
Serlet /api
Service: /myService
Path: /api/myService
WSDL: /api/myService?wsdl
You should see the full path in the generated WSDL.
On 22/06/17 18:39, Arek R. wrote:
> What should be set as the parameter to this method. Most examples set sth
> like "/myService". But then I can see localhost:8080/myService in generated
> wsdl
> and while creating soapui project it uses that address and this is wrong.
> Of course can change the url by hand.
> So maybe I should set real address like like
> https://mydomain.com/api/myService ?
> I'm not sure what's the purpose of this section in the wsdl
>