Look in the schema and/or DTD: http://cvs.apache.org/viewcvs.cgi/ws-axis/java/wsdd/
Quoting [EMAIL PROTECTED]: > Thanks, I expected it would be a change to the wsdd file but I can't find > the docs for it...it's not in the userguide AFAIK > > James Burton > > Web Developer > > Database and Development > > Cultural Services > > Brighton & Hove City Council > > tel: 01273 293594 > > > > > > > |---------+---+----------------------------------> > | | | | > | | | "Edward Taaffe" | > | | | <[EMAIL PROTECTED]| > | | | g.uk> | > | | | | > | | | 28/07/2005 14:32 | > | | | | > | | | Please respond to | > | | | axis-user | > |---------+---+----------------------------------> > > >---------------------------------------------------------------------------------------------------------| > | > | > | To: <[email protected]> > | > | cc: > | > | Subject: RE: named parameters in wsdl > | > > >---------------------------------------------------------------------------------------------------------| > > > > > HI, > I don't have time to look it up right now, but the answer to your > question is in the online instructions. I think you need to edit the > wsdd file to set the name yo want for each parameter > > Ed > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: 28 July 2005 14:27 > To: [email protected] > Subject: named parameters in wsdl > > > Hi. I'm using axis 1.2.1 & Tomcat 5.5 - My problem is that in the wsdl > for > my WS the parameters in methods are named in0, in1 etc etc. The WS is > deployed with this wsdd: > > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > > <service name="Gazetteer" provider="java:RPC"> > <parameter name="className" > value="uk.gov.brightonhove.ws.gazetteer.GazetteerService"/> > <parameter name="allowedMethods" value="*"/> > <beanMapping qname="gaz:Property" > xmlns:gaz="urn:GazetteerService" > languageSpecificType="java:uk.gov.brightonhove.ws.gazetteer.Property"/> > <beanMapping qname="gaz:Street" xmlns:gaz="urn:GazetteerService" > languageSpecificType="java:uk.gov.brightonhove.ws.gazetteer.Street"/> > <beanMapping qname="gaz:BLPU" xmlns:gaz="urn:GazetteerService" > languageSpecificType="java:uk.gov.brightonhove.ws.gazetteer.BLPU"/> > </service> > > <service name="PortableGazetteer" provider="java:RPC"> > <parameter name="className" > value="uk.gov.brightonhove.ws.gazetteer.GazetteerPortableService"/> > <parameter name="allowedMethods" value="*"/> > </service> > > </deployment> > > and the command > > java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd > > and a fragment from the wsdl looks like > > <wsdl:message name="doPropertySearchRequest"> > <wsdl:part name="in0" type="xsd:string"/> > <wsdl:part name="in1" type="xsd:int"/> > <wsdl:part name="in2" type="xsd:int"/> > <wsdl:part name="in3" type="xsd:boolean"/> > </wsdl:message> > > how do I deploy the WS in such a way as to have the params named as in > the > source code?I have searched this ml and found a guy with the same > problem - > http://marc.theaimsgroup.com/?l=axis-user&m=108878710304676&w=2 - but > the > answer related to using java2wsdl whereas I'm using a wsdd file and the > AdminClient for deployment - I'd like to keep it that way, or do I need > to > use java2wsdl to get round this? > > Thanks, > > > James Burton > > > > Web Developer > > > > Database and Development > > > > Cultural Services > > > > Brighton & Hove City Council > > > > tel: 01273 293594 > > > > > > Notice to recipient: > The information contained in this electronic mail message is intended > only for the use of the individual to whom it is addressed and may > contain information which is privileged and confidential, the disclosure > of which is prohibited by law. If the reader of this message is not the > intended recipient, please note that any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error please notify the sender > immediately. Thank you in anticipation of your co-operation. > > You can visit our website at http://www.brighton-hove.gov.uk > > Please consider the environment, only print out this email if absolutely > necessary. > > > > > Notice to recipient: > The information contained in this electronic mail message is intended only > for the use of the individual to whom it is addressed and may contain > information which is privileged and confidential, the disclosure of which is > prohibited by law. If the reader of this message is not the intended > recipient, please note that any dissemination, distribution or copying of > this communication is strictly prohibited. If you have received this > communication in error please notify the sender immediately. Thank you in > anticipation of your co-operation. > > You can visit our website at http://www.brighton-hove.gov.uk > > Please consider the environment, only print out this email if absolutely > necessary. >
