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 Rum Pel <ru...@hotmail.com> on 2002/09/11 13:21:55 UTC

WSDL2java: fixed part

In my WSDL, the input of my service has a part which looks like:

  <part name="state" type="xsd:string"  fixed="TX"/>

Axis' WSDL2Java generates the code:

_call.addParameter(new javax.xml.namespace.QName("", "state"), new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), 
java.lang.String.class, javax.xml.rpc.ParameterMode.IN);

which means WSDL2Java doesnt care the fixed attribute of the part
element.

Basically, I would like to specialize my service by giving a constant
value to one of the parameters (- convert a nation-wide service to
state-wise service).

Can somebody comment?

thanks.


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx