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 Kevin O'Neill <ke...@rocketred.com.au> on 2002/11/04 07:28:09 UTC

Parameter names for generated wsdl

I'm using the java:EJB provider and everything is working ... yippee.

The only thing I'd like to do is clean up the parameter names exposed.

Here is the service definition.  

<service name="esitSOI" provider="java:EJB">
    <namespace>urn:esit:soi</namespace>
    <parameter name="beanJndiName" value="ejb/esit/soi/SOIController"/>
    <parameter name="homeInterfaceName"
value="au.edu.curriculum.esit.soi.controller.remote.SOIControllerHome"/>
    <parameter name="remoteInterfaceName"
value="au.edu.curriculum.esit.soi.controller.remote.SOIController"/>
    <parameter name="allowedMethods"
    value="initiate approve assignReviewer cancelReview
developerProposal indicatorApplicability indicatorQualityComment
removeReviewer review reviewerOpinion submitForReview submitReview"/>


    <beanMapping
      qname="soi:SOIState"
      xmlns:soi="urn:esit:soi"
     
languageSpecificType="java:au.edu.curriculum.esit.soi.model.SOIState" />
</service>


The cancelReview request wsdl message info looks like this.
<wsdl:message name="cancelReviewRequest">
	<wsdl:part name="in0" type="xsd:string"/>
	<wsdl:part name="in1" type="xsd:string"/>
</wsdl:message>

I'd like to be able to make it look like this:

<wsdl:message name="cancelReviewRequest">
	<wsdl:part name="learningObjectID" type="xsd:string"/>
	<wsdl:part name="reviewerID" type="xsd:string"/>
</wsdl:message>


Is it possible?

-k.

-- 
If you don't test then your code is only a collection of bugs which 
apparently behave like a working program. 

Website: http://www.rocketred.com.au/blogs/kevin/