You can define your own namespace. Axis will use the namespace you specify in the WSDD as the targetNamespace for the schema that will define the XML type in the WSDL.
Anne On 8/28/07, at4david <[EMAIL PROTECTED]> wrote: > > Hi, I am trying to deploy a web service which sends to the client a data > complex type created for me, called "Informacion", this is a class which > will be sent to the client, I would like to know what is I have to write in > deploy.wsdd to reference this class, I need to know what I have to write in > xmlns:ns and where have I to put this class?? > > Here I show my deploy.wsdd in service side: > > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > > <service name="Periodico" provider="java:RPC"> > <parameter name="scope" value="application"/> > <parameter name="className" value="ServicioInformacion"/> > <parameter name="allowedMethods" value="*"/> > <beanMapping qname="ns:Informacion" xmlns:ns="WHAT IS I HAVE TO PUT HERE > IF I HAVE THE CLASS INFORMACION IN Web-Inf/classes directory" > languageSpecificType="java:Informacion"/> > </service> > > </deployment> > > > Thanks in advance > -- > View this message in context: > http://www.nabble.com/XLMNS%3ANS-NAMESPACE-PROBLEM-tf4341119.html#a12366040 > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
