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 Pederzolli <jp...@gmail.com> on 2007/05/30 20:19:12 UTC

soap:address location

When setting up the JAXWS hello world example with Spring, the WSDL generated
has defines the endpoint as

<soap:address location="/helloWorldService"/>

instead of a dynamic server location/path as I would expect. Is this a
configuration problem on my part or a bug. The interface of the object being
exposed as a service only has the @WebService annotation and the service is
configured as:

	<jaxws:endpoint id="helloWorldService"
		implementor="#helloWorldServiceBean" address="/helloWorldService" />

Thanks for any assistance.

- John
-- 
View this message in context: http://www.nabble.com/soap%3Aaddress-location-tf3842068.html#a10879582
Sent from the cxf-user mailing list archive at Nabble.com.


Re: soap:address location

Posted by John Pederzolli <jp...@gmail.com>.
Willem -

Thanks - I downloaded the latest from SVN (543174) and everything looks good
now. I was running the latest RC1 binary available on the website.

- John


Willem Jiang-2 wrote:
> 
> Hi John
> 
> Can you tell me which version of CXF are you using?
> The WSDL generator was broken by my May,23 commit, and it was fixed in 
> my May,24's commit.
> 
> I just tested the helloworld with the lastest trunk , and I got the 
> right soap address.
> 
> Willem.
> 
> John Pederzolli wrote:
>> When setting up the JAXWS hello world example with Spring, the WSDL
>> generated
>> has defines the endpoint as
>>
>> <soap:address location="/helloWorldService"/>
>>
>> instead of a dynamic server location/path as I would expect. Is this a
>> configuration problem on my part or a bug. The interface of the object
>> being
>> exposed as a service only has the @WebService annotation and the service
>> is
>> configured as:
>>
>> 	<jaxws:endpoint id="helloWorldService"
>> 		implementor="#helloWorldServiceBean" address="/helloWorldService" />
>>
>> Thanks for any assistance.
>>
>> - John
>>   
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/soap%3Aaddress-location-tf3842068.html#a10897849
Sent from the cxf-user mailing list archive at Nabble.com.


Re: soap:address location

Posted by Willem Jiang <ni...@iona.com>.
Hi John

Can you tell me which version of CXF are you using?
The WSDL generator was broken by my May,23 commit, and it was fixed in 
my May,24's commit.

I just tested the helloworld with the lastest trunk , and I got the 
right soap address.

Willem.

John Pederzolli wrote:
> When setting up the JAXWS hello world example with Spring, the WSDL generated
> has defines the endpoint as
>
> <soap:address location="/helloWorldService"/>
>
> instead of a dynamic server location/path as I would expect. Is this a
> configuration problem on my part or a bug. The interface of the object being
> exposed as a service only has the @WebService annotation and the service is
> configured as:
>
> 	<jaxws:endpoint id="helloWorldService"
> 		implementor="#helloWorldServiceBean" address="/helloWorldService" />
>
> Thanks for any assistance.
>
> - John
>   



Re: soap:address location

Posted by Freeman Fang <fr...@iona.com>.
Hi John,

If you want a dynamic server location/path in wsdl, you need deploy your 
service into servlet container. If you start standalone server, you need 
specify address for jaxws:endpoint(like 
http://localhost:9000/hello_wold) in your spring configuration file.

Would you please send us your test case if you still have problem?

Thanks very much

Freeman

John Pederzolli wrote:
> When setting up the JAXWS hello world example with Spring, the WSDL generated
> has defines the endpoint as
>
> <soap:address location="/helloWorldService"/>
>
> instead of a dynamic server location/path as I would expect. Is this a
> configuration problem on my part or a bug. The interface of the object being
> exposed as a service only has the @WebService annotation and the service is
> configured as:
>
> 	<jaxws:endpoint id="helloWorldService"
> 		implementor="#helloWorldServiceBean" address="/helloWorldService" />
>
> Thanks for any assistance.
>
> - John
>