Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 43732 invoked from network); 24 Jul 2006 13:31:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jul 2006 13:31:24 -0000 Received: (qmail 87855 invoked by uid 500); 24 Jul 2006 13:31:14 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 87828 invoked by uid 500); 24 Jul 2006 13:31:13 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 87817 invoked by uid 99); 24 Jul 2006 13:31:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 06:31:13 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of atmanes@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 06:31:12 -0700 Received: by nf-out-0910.google.com with SMTP id a4so1407205nfc for ; Mon, 24 Jul 2006 06:30:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IB+OyXIQQCw5Kzp12+3/Kb2Hz6ZApb5EyFBNu4i9hYlmTkHoqbNgAF5jW3tBRRvUH0uxP2CBWNVequr/saRWHbzxRAFnOLNElSwuxhxzskelDYy61x5xkZMezd6KWm6VeV9rlBL2v/XHt2HykaUmoGqr8I2C8vgmZ2qSLDlVlEI= Received: by 10.78.185.7 with SMTP id i7mr1515244huf; Mon, 24 Jul 2006 06:30:50 -0700 (PDT) Received: by 10.78.70.13 with HTTP; Mon, 24 Jul 2006 06:30:50 -0700 (PDT) Message-ID: Date: Mon, 24 Jul 2006 09:30:50 -0400 From: "Anne Thomas Manes" To: axis-user@ws.apache.org Subject: Re: WSDD reference or examples In-Reply-To: <949F43A185737046A32445D37D15EC02059838F6@Mail04.curamsoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <949F43A185737046A32445D37D15EC02059838F6@Mail04.curamsoftware.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That sounds like a bug. File a JIRA please. On 7/24/06, Andrew Morrison wrote: > Thanks for the help Anne. > > Yes, I am using message style and I want both the input and output to be > the eligibility type specified by the schema. I was defining the extra > elements as I thought it was necessary to explicitly specify the type of > the input and output. It looks like I was complicating the WSDD > unnecessarily, your suggestion seems to be the answer. > > The attached WSDL is now generated by Axis. It is interesting though > that it generates the same element twice: > as expected, > but also . > Do you know if this is something I can disable? > > My intention was to specify the schema type on order to force the SOAP > body XML messages to be of a particular type through validation - but > now I think this may not be possible with Axis. Am I right to assume > that schema validation of the messages is not provided by Axis and would > still have to be done within the web service implementation class? > > All the best, > Andrew. > > -----Original Message----- > From: Anne Thomas Manes [mailto:atmanes@gmail.com] > Sent: 21 July 2006 18:23 > To: axis-user@ws.apache.org > Subject: Re: WSDD reference or examples > > So, help me understand -- you want both the input and output message > to contain the eligibility element? And you're using Message style? > Then why are you defining additional elements called "ProcessSOAPBody" > and "ProcessSOAPBodyReturn"? > > I think you just want: > > name="processSOAPBody" > qname="curamns:eligibility" > returnQName="curamns:elegibility" > returnType="curamns:eligibilityType"> > > > On 7/21/06, Andrew Morrison wrote: > > Here you go, sorry. > > > > I am doing this is because I am working on creating a framework that > > will allow users to create a web service by simply writing an > interface > > (and implementation class). I want to generate a wsdd dynamically > which > > can then be deployed to Axis. This process already works well for RPC > > and WRAPPED, and I want to enhance it with Message style. > > > > Thanks for taking an interest in my query, > > Andy. > > > > -----Original Message----- > > From: Anne Thomas Manes [mailto:atmanes@gmail.com] > > Sent: 21 July 2006 17:34 > > To: axis-user@ws.apache.org > > Subject: Re: WSDD reference or examples > > > > Please attach the WSDD. (You included the schema twice, but not the > > WSDD.) > > > > If you already have the Schema, why not just create the WSDL first > > (rather than the WSDD)? > > > > Anne > > > > On 7/21/06, Andrew Morrison wrote: > > > Hi Anne, > > > > > > Thanks for your replies - further investigation is making me wonder > if > > > there is an issue with the runtime WSDL generation in Axis 1.4. > > > > > > I am working on a proof-of-concept for creating a deploy.wsdd where > an > > > XML Schema can be used to defined what XML is sent within the > > > . > > > > > > Looking at the WSDL generated by the Axis webapp running on Tomcat, > I > > > think I am most of the way there. However, the WSDL describing the > > > request element is not what I expected. > > > The schema types include > > > > > > and the wsdl messages for the input is > > > > > > > > > > > > > > > I would have expected these to be in the same format as the entries > > for > > > the return > > > > > > > > > > > name="processSOAPBodyInput"/> > > > > > > > > > I have attached the wsdd and the schema it references and the > > generated > > > WSDL in the hope you may have time to look over this. Any > suggestions > > or > > > comments would be extremely appreciated. > > > > > > Thanks, > > > Andy. > > > > > > -----Original Message----- > > > From: Anne Thomas Manes [mailto:atmanes@gmail.com] > > > Sent: 21 July 2006 16:03 > > > To: axis-user@ws.apache.org > > > Subject: Re: WSDD reference or examples > > > > > > @qname refers to the name of the element which is the child of the > > > . > > > @type refers to the type of that element. > > > > > > The type corresponds to the typemapping. > > > > > > Anne > > > > > > On 7/21/06, Ben Reif wrote: > > > > > > > > Anne, > > > > > > > > I'm confused. The reference link you included says that attribute > > > > > > > > qname - Qualified name of the XML element containing the parameter > > > value in > > > > a SOAP message > > > > type - Qualified name of the parameter type > > > > > > > > So, is the reference page incorrect? Should the type attribute in > > the > > > > be the qualified type in the SOAP request/response and > > the > > > qname > > > > attribute be the same qname that matches the qname attribute of > the > > > > defined to serialize/deserialize the object? > > > > > > > > Thanks, > > > > > > > > Ben > > > > > > > > > > > > > > > > On 7/21/06, Anne Thomas Manes wrote: > > > > > 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 wrote: > > > > > > I've been looking at that WSDD reference but I can't find a > way > > to > > > > > > specify the XML type of the 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:atmanes@gmail.com] > > > > > > Sent: 20 July 2006 22:48 > > > > > > To: axis-user@ws.apache.org > > > > > > Subject: Re: WSDD reference or examples > > > > > > > > > > > > See http://www.oio.de/axis-wsdd/ > > > > > > > > > > > > > > > > > > On 7/20/06, Andrew Morrison > 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: > > > > > > > > > > > > > > > > > > > > > > > > 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: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > name="processSOAPBody" > > > > > > > > > > > > > > > > > > > > > qname="myns:processSOAPBody" > > > > > > > > > > > > > > > > > > > > > returnQName="myns:processSOAPBodyReturn" > > > > > > > > > > > > > > > > > > > > > returnType="myns:eligibility"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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"> > > > > > > > > > > > > > > > > > > > > > > > > > > > provider="java:MSG" > > > > > > > > > > > > > > style="message" > > > > > > > > > > > > > > use="literal" > > > > > > > > > > > > > > > > > > > > > > > > > > > xmlns:curamns=" > > > > http://localhost:8080/axis/services/MyMessageService1Name > > > > > > space"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://localhost:8080/axis/services/MyMessageService1Namespac > > > > > > e > > > > > > > > > > > > > > > > > > > > value="my.messagestyle.service.MyMessageService " /> > > > > > > > > > > > > > > > > > > > > value="processSOAPBody" /> > > > > > > > > > > > > > > > > > > > > > > > > value="http://localhost:8080/axis/schemas/eligibility_noxs.xsd"/> > > > > > > > > > > > > > > name="wsdlTargetNamespace" > > > > > > > > > > > > > > > > > > > > > > > value="http://localhost:8080/axis/services/MyMessageService1Namespace"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > name="processSOAPBody" > > > > > > > > > > > > > > > > > > > > > qname="myns:processSOAPBody" > > > > > > > > > > > > > > > > > > > > > returnQName="myns:processSOAPBodyReturn" > > > > > > > > > > > > > > > > > > > > > returnType="myns:eligibility"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > > > > > > > > > > > > > > From: Ted Jones [mailto:Tjones@metamatrix.com ] > > > > > > > Sent: 20 July 2006 16:49 > > > > > > > To: axis-user@ws.apache.org; Andrew Morrison > > > > > > > Subject: RE: WSDD reference or examples > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Here is an example of wsdd for what you describe: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 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"> > > > > > > > > > > > > > > > > > > > > > > > value="com.test.service.MyWebService > > > > " > > > > > > /> > > > > > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > > > > > > > > > > > > > > From: Andrew Morrison [mailto: amorrison@curamsoftware.com] > > > > > > > Sent: Thursday, July 20, 2006 7:11 AM > > > > > > > To: axis-user@ws.apache.org > > > > > > > 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: > > > > axis-user-unsubscribe@ws.apache.org > > > > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > > > > > > > > > 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: > > > > axis-user-unsubscribe@ws.apache.org > > > > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > > > > axis-user-unsubscribe@ws.apache.org > > > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > 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: axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > 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: axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > 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: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org