Hello, when using custom ServiceFactory, I always get wrong address
location like
"http://localhost/services/Echo"; in the generated wsdl
while the correct location should be like
"http://localhost:8080/TestXFire/services/Echo";

I have done some test, and found some thing interesting: if I use the
following services.xml

<service>
<name>IEchoService</name>
<namespace>http://test</namespace>
<serviceClass>test.IEchoService</serviceClass>
<implementationClass>test.EchoService</implementationClass>
<serviceFactory>org.codehaus.xfire.jaxws.JAXWSServiceFactory</serviceFactory>
</service>

I can get correct address locatio, however, the following will generate
wrong address:

<service>
<name>IEchoService</name>
<namespace>http://test</namespace>
<serviceClass>test.IEchoService</serviceClass>
<implementationClass>test.EchoService</implementationClass>
<serviceFactory>test.MyServiceFactory</serviceFactory>
</service>

however, MyServiceFactory is simply a modify-nothing extension of
JAXWSServiceFactory
the code of MyServiceFactory is:


public class MyServiceFactory extends JAXWSServiceFactory
{
}

the result is really weired, therefore I post this here, thanks!

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to