Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 90983 invoked from network); 4 Feb 2008 17:09:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 17:09:37 -0000 Received: (qmail 82910 invoked by uid 500); 4 Feb 2008 17:09:15 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 82886 invoked by uid 500); 4 Feb 2008 17:09:14 -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 82875 invoked by uid 99); 4 Feb 2008 17:09:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 09:09:14 -0800 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [138.100.8.58] (HELO relay1.fi.upm.es) (138.100.8.58) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 17:08:43 +0000 Received: from localhost (localhost [127.0.0.1]) by relay1.fi.upm.es (Postfix) with ESMTP id 8C6E35EABF6 for ; Mon, 4 Feb 2008 18:08:47 +0100 (CET) Received: from delicias.dia.fi.upm.es (delicias.dia.fi.upm.es [138.100.11.144]) by relay1.fi.upm.es (Postfix) with ESMTP id 53A265EABF0 for ; Mon, 4 Feb 2008 18:08:47 +0100 (CET) Received: from [138.100.11.158] (papert.dia.fi.upm.es [138.100.11.158]) by delicias.dia.fi.upm.es (Postfix) with ESMTP id 2DF6C50184E for ; Mon, 4 Feb 2008 18:01:25 +0100 (CET) Message-ID: <47A745BB.7040208@delicias.dia.fi.upm.es> Date: Mon, 04 Feb 2008 18:04:59 +0100 From: =?ISO-8859-1?Q?David_Mu=F1oz?= User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Basic tips for a newbie, problems with really complex types Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new using ClamAV at efiltro.fi.upm.es X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've just started a WS client and I chose axis2 because I had to do a little web service server and client and I used axis 1.4 with no troubles at all. This is something a bit bigger, since I'm not at college anymore, and I have two problems. I've been given a huge wsdl and two xsd files defining some types used for the ws. I've used wsdl2java to generate code (using adb bindings... I could switch to something a bit more complex if there were any advantates regarding my current issues), but: 1� The types are a bit too complex and I find sometimes lost, not knowing how to build a single object for a request... Do you make any kind of diagrams when dealing with such a large hierarchy of types? 2� In one of the xsd I have this definition: and the generated class QueryExpressionType has an attribute: /** * field for ExtraElement */ protected org.apache.axiom.om.OMElement localExtraElement; How can I cast this to the class representing the actual data in the message? Thanks for your time. I think I should add the files I mentioned before: ------------------------------------- --------- the wsdl ------------------ The schema for OASIS ebXML Registry Services Base type for all ebXML Registry requests The RegistryErrorList is derived from the ErrorList element from the ebXML Message Service Specification Base type for all ebXML Registry responses An Ad hoc query request specifies an ad hoc query. The response includes a RegistryObjectList which has zero or more RegistryObjects that match the query specified in AdhocQueryRequest. We have set domainAttribute to optional so that it can be used to filter data types directly in OMV queries. The schema for OASIS ebXML Registry Services The SubmitObjectsRequest allows one to submit a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader. The UpdateObjectsRequest allows one to update a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader. The ObjectRefList and AdhocQuery identify the list of objects being approved. The ObjectRefList and AdhocQuery identify the list of objects being deprecated. The ObjectRefList is the list of refs to the registry entrys being un-deprecated. The ObjectRefList is the list of refs to the registry entrys being removed The schema for NEON OMV 2.0 extention of the OASIS ebXML Registry Information Model A type that would allow referencing multiply objects within an OMV ontology. Basic OMV type that adds the acronym and documentation elements to the ebXML RegistryObect. OMV Ontology type. OMV OntologyType type. OMV LicenseModel type. OMV OntologyEngineeringMethodology type. OMV OntologyEngineeringTool type. OMV OntologySyntax type. OMV OntologyLanguage type. OMV KnowledgeRepresentationParadigm type. OMV FormalityLevel type. OMV OntologyTask type. OMV OntologyTask type. Defines a RegistryResponse message. ------------------------------------- --------- xsd0.xml ------------------ The schema for OASIS ebXML Registry Information Model referenceURI is used by reference attributes within RIM. Each attribute of type referenceURI references a RegistryObject with specified URI as id. ---------------------------- ------- xsd1.xml ---------- --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org