Hi, I tried your scenario out and it looks like there is a problem in the woden schema resolver. I forwarded your mail to the woden-dev list. Hoping to fix this issue as soon as I get a response from them.
Thanks, Keith. On Dec 24, 2007 10:34 PM, Hans-Ulrich Klein <[EMAIL PROTECTED]> wrote: > Hi List, > > I have some path problems when deploying my service. My attached > wsdl2-File (lgws.wsdl) includes a schema (genelist.xsd). Both are > located in the same local folder. I tried the following: > > $ /opt/axis2-SNAPSHOT/bin/wsdl2java.sh -uri src/META-INF/lgws.wsdl -p > de.wwu.imib.lgws.service -d adb -s -ss -sd -wv 2.0 -ns2p > http://imib.uni-muenster.de/lgws/xml=de.wwu.imib.lgws.service.xml > > and > > $ ant jar.server > > This works fine so far. Though, copying the resulting lgws.aar to the > axis2 services folder to deploy it leads to this error message: > > Woden[Error],0:0,WSDL521,Could not parse an inline schema in the WSDL at > URL > "jar:file://file:/opt/apache-tomcat-6.0.10 > /webapps/axis2/WEB-INF/services/lgws.aar!/META-INF/lgws.wsdl"., > java.lang.RuntimeException:org.apache.ws.commons.schema.XmlSchemaException: > > /opt/apache-tomcat-6.0.10/webapps/axis2/WEB-INF/services/genelist.xsd > (No such file or directory) > Woden[Error],0:0,Endpoint-1061,The address 'lgws' specified for this > endpoint is not an absolute IRI. The address must be absolute. > [INFO] Trouble processing wsdl file :null > [INFO] Deploying Web service: lgws.aar - > file:/opt/apache-tomcat-6.0.10/webapps/axis2/WEB-INF/services/lgws.aar > > Obviously, the path to the genelist.xsd is wrong. What is the right path > and where can I change it? The xsd-file is packed in the lgws.aar: > > $ unzip lgws.aar > ... > inflating: META-INF/genelist.xsd > inflating: META-INF/lgws.wsdl > inflating: META-INF/services.xml > ... > > I spend a whole day for this problem without success :( I tried it with > axis2-1.4 and also with a nightly build. > > Thank you very much in advance, > Hans-Ulrich > > > <schema xmlns="http://www.w3.org/2001/XMLSchema" > xmlns:lgs="http://imib.uni-muenster.de/lgws/xml" > targetNamespace="http://imib.uni-muenster.de/lgws/xml" > elementFormDefault="qualified" > attributeFormDefault="qualified"> > > <element name="genelist" type="lgs:GenelistType"/> > > <complexType name="GenelistType"> > <sequence> > <element name="id" type="int"/> > <element name="name" type="string"/> > <element name="description" type="string"/> > <element name="pubmed" type="int"/> > > <element name="group" type="lgs:GroupType" minOccurs="1" > maxOccurs="unbounded"/> > <element name="microarray" type="lgs:MicroarrayType"/> > <element name="listEntry" type="lgs:ListEntryType" > minOccurs="1" maxOccurs="unbounded"/> > </sequence> > </complexType> > > <complexType name="GroupType"> > <sequence> > <element name="id" type="int"/> > <element name="name" type="string"/> > <element name="description" type="string"/> > <element name="ageGroup" type="string"/> > <element name="material" type="string"/> > <element name="leukemia" type="string"/> > <element name="size" type="int"/> > </sequence> > </complexType> > > <complexType name="MicroarrayType"> > <sequence> > <element name="name" type="string"/> > <element name="description" type="string"/> > <element name="manufacturer" type="string"/> > <element name="numberFeatures" type="int"/> > </sequence> > </complexType> > > <complexType name="ListEntryType"> > <sequence> > <element name="accessionNumber" type="string" minOccurs="1" > maxOccurs="1"/> > <element name="geneSymbol" type="string" nillable="true" > minOccurs="1" maxOccurs="1"/> > <element name="rank" type="int" minOccurs="0" > maxOccurs="1"/> > <element name="upregulatedGroup" type="int" minOccurs="0" > maxOccurs="1"/> > <element name="featureId" type="string" minOccurs="0" > maxOccurs="1"/> > </sequence> > </complexType> > > </schema> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Keith Chapman WSO2 Inc. Oxygen for Web Services Developers. http://wso2.org/
