http://www.oio.de/axis-wsdd/parameter-operation.htm
The @type specifies the XML type of the request. Anne On 7/21/06, Andrew Morrison <[EMAIL PROTECTED]> wrote:
I've been looking at that WSDD reference but I can't find a way to specify the XML type of the <soap:body> request. I want to specify a schema in the generated WSDL and then state the XML in the soap body request/response to be of that schema type. Is this possible? Thanks, Andrew -----Original Message----- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: 20 July 2006 22:48 To: [email protected] Subject: Re: WSDD reference or examples See http://www.oio.de/axis-wsdd/ On 7/20/06, Andrew Morrison <[EMAIL PROTECTED]> wrote: > > > > > Thanks, but I am looking for something a bit more detailed. > > > > I am able to create working Message style web services from a WSDD, but I > would like to specify a schema in the generated WSDL to state the type of > the XML in the soap body. Has anyone done this? > > > > I want to: > > 1. Include a schema in the generated WSDL - this can be achieved using: > > <parameter name="wsdlInputSchema" > value="http://localhost:8080/axis/schemas/eligibility_noxs.xsd"/> > > > > 2. Specify that the request message should contain an XML message that can > also be validated against the same schema - does anyone know if this is > possible, or have an example of how to specify this in the WSDD? > > > > 3. Specify the response will be of a type defined by that schema - I think > this can be achieved with: > > <operation > > name="processSOAPBody" > > > qname="myns:processSOAPBody" > > > returnQName="myns:processSOAPBodyReturn" > > > returnType="myns:eligibility"> > > </operation> > > > > My complete WSDD so far is below - if anyone can suggest any references or > examples they would be appreciated. > > BTW: this site is useful but not complete: > http://www.oio.de/axis-wsdd/deployment.htm > > > > Thanks > > Andrew. > > > > <deployment name="MyWebService" > xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java=http://xml.apache.org/axis/wsdd/providers/java > xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"> > > <service name="MyMessageService1" > > provider="java:MSG" > > style="message" > > use="literal" > > > xmlns:curamns="http://localhost:8080/axis/services/MyMessageService1Name space"> > > > <namespace>http://localhost:8080/axis/services/MyMessageService1Namespac e</namespace> > > <parameter name="className" > value="my.messagestyle.service.MyMessageService" /> > > <parameter name="allowedMethods" > value="processSOAPBody" /> > > <parameter name="wsdlInputSchema" > value="http://localhost:8080/axis/schemas/eligibility_noxs.xsd"/> > > <parameter name="wsdlTargetNamespace" > value="http://localhost:8080/axis/services/MyMessageService1Namespace"/> > > > <operation > > name="processSOAPBody" > > > qname="myns:processSOAPBody" > > > returnQName="myns:processSOAPBodyReturn" > > > returnType="myns:eligibility"> > > </operation> > > </service> > > </deployment> > > > > ________________________________ > > > From: Ted Jones [mailto:[EMAIL PROTECTED] > Sent: 20 July 2006 16:49 > To: [email protected]; Andrew Morrison > Subject: RE: WSDD reference or examples > > > > > Here is an example of wsdd for what you describe: > > > > <deployment name="test" > xmlns="http://xml.apache.org/axis/wsdd/" > > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" > > xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"> > <!-- note that either style="message" OR provider="java:MSG" both work > --> > <service name="serviceName" provider="java:MSG"> > <parameter name="className" value="com.test.service.MyWebService" /> > <parameter name="allowedMethods" value="MyMethodName" /> > </service> > </deployment> > > > > > > > > > ________________________________ > > > From: Andrew Morrison [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 20, 2006 7:11 AM > To: [email protected] > Subject: WSDD reference or examples > > Hi, > > > > Can anyone point me to a reference for creating a *.wsdd? > > > > I am trying to create a WSDD for a Message style web service. > > The intention is that the Axis generated WSDL will specify a user-defined > XML schema (wsdlInputSchema) and assert that the input and output for the > web service should be an XML document as defined by the schema. > > > > If anyone knows where I could see an example that would be great - I am > finding snippets of info on the web, but am having difficulty finding a > detailed listing of the options etc. > > > > All the best, > > Andrew. > The information in this email is confidential and may be legally privileged. > It is intended solely for the addressee. Access to this email by anyone else > is unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. If you are not the intended > addressee please contact the sender and dispose of this e-mail. Thank you. > > > The information in this email is confidential and may be legally privileged. > It is intended solely for the addressee. Access to this email by anyone else > is unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in reliance > on it, is prohibited and may be unlawful. If you are not the intended > addressee please contact the sender and dispose of this e-mail. Thank you. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. --------------------------------------------------------------------- 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]
