You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Salama, Roberto" <ro...@gs.com> on 2003/06/20 16:39:43 UTC

Extra "ServiceService" being attached to the wsdl:service name

I'm having the following problem with axis 1.1 and 1.1rc2 running under
tomcat 4.05 where everything is running in one webapp, no wars involved. It
looks like the name I set in the <service> tag in the server-config.wsdd is
not making it to the <wsdl:service> tag of the wsdl url, looks like the name
is derived somehow from the name of the class and its getting an extra
'Service' tacked to the end of it. 

Have you seen this? Could someone point me to the place in the code where I
can make the change so that <service name="FOO"> == <wsdl:service
name="FOO">

Thanks, any help on this would be greatly appreciated

rs

Here's the snippet in the server-config.wsdd file, and the snippet from the
wsdl  xml

	 <service name="Compendium" provider="java:RPC">
	  <parameter name="allowedMethods" value="*"/>
	  <parameter name="enableRemoteAdmin" value="false"/>
	  <parameter name="className"
value="com.gs.res.tigr.compendium.CompendiumService"/>
	  <beanMapping
languageSpecificType="java:com.gs.res.tigr.compendium.CommentGroupStruct"
qname="ns4:CommentGroupStruct" xmlns:ns4="urn:BeanService"/>
	  <beanMapping
languageSpecificType="java:com.gs.res.tigr.compendium.CompendiumStruct"
qname="ns4:CompendiumStruct" xmlns:ns4="urn:BeanService"/>
	  <beanMapping
languageSpecificType="java:com.gs.res.tigr.compendium.CommentStruct"
qname="ns5:CommentStruct" xmlns:ns5="urn:BeanService"/>
	  <beanMapping
languageSpecificType="java:com.gs.res.tigr.component.HTMLComponent"
qname="ns6:HTMLComponent" xmlns:ns6="urn:BeanService"/>
	 </service>

	When I go to the AdminServices page, the service name shows up as:

	<wsdl:service name="CompendiumServiceService"> 
	  <wsdl:port binding="impl:CompendiumSoapBinding" name="Compendium">

	    <wsdlsoap:address
location="http://tigr-dev.ny.rch.gs.com/tigr/services/Compendium" /> 
	  </wsdl:port> 
	</wsdl:service>

	An extra 'ServiceService' is being tacked on. Then I tried to change
back to 1.1rc2, on which the service name was simply "Compendium", but the
problem persists. Something was changed... I've checked my
server-config.wsdd and all seems fine there, I've checked for stray
directories, nothing. Unfortunately, we have webservices running inside of
WORD, and would hate to change all the bindings in VB (argh!!).