axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <>
Subject Re: deploy.xml and the address book sample
Date Thu, 27 Sep 2001 13:42:43 GMT
OK, since the name depends on how the server is configured, how do I
configure the server so that it recognizes the name that is automatically
generated in deploy.xml?  I'm new to this stuff.  I need enlightenment.

Russell Butek

Doug Davis/Raleigh/IBM@IBMUS on 09/26/2001 08:08:57 AM

Please respond to

Subject:  Re: deploy.xml and the address book sample

There are multiple way we try to identify the name of the web service - in
this case
it appears were picking up the namespace (instead of soapaction or url).
It all
depends on how the server is configured.  I wonder if it would make more
to create a new sample since not all people will want to use WSDL we still
plenty of samples showing/proving that it is just an optional thing for

Russell Butek/Austin/IBM@IBMUS on 09/26/2001 09:02:31 AM

Please respond to

Subject:  deploy.xml and the address book sample

I rewrote xml-axis/java/samples/addr.  It originally had a hand-generated
proxy.  It now uses the code generated from its WSDL file.  I was hoping I
could take the generated code as is without any modifications, but I wasn't
able to.

1.  The generated deploy.xml file needs the line

        <option name="scope" value="Session" />

in order for the 2nd half of the sample to work - where setMaintainSession
is set to true.  Should Wsdl2java have a deployScope option that accepts
"Request", "Application", or "Session"?

2.  The generated service name was AddressBook:

        <service name="AddressBook" pivot="RPCDispatcher">

That didn't work.  At runtime I got the error:  "The Axis engine couldn't
find a target service to invoke!".  The original sample's deploy.xml named
the service "urn:AddressFetcher2", so I changed the name in the generated
deploy.xml to that and it worked.  I don't really know what how the
deploy.xml file is used, so instead of diving into the code, I thought I'd
ask whether anyone could tell me why the service name apparently must be
the namespace?

Russell Butek

View raw message