On 12/14/05, Ales St <[EMAIL PROTECTED]> wrote:
HiI see my file in Cape Clear SOA Editor and see that errors,bud I don't know how to fix them, please help.Thank youAles----- Original Message -----From: Anne Thomas ManesSent: Wednesday, December 14, 2005 6:27 PMSubject: Re: Is it a bug? Multi-nested includes. Server.generalException - makeTypeElement() was told to create a type ...You have a bunch of namespace errors in these files.
Fix them and try again.
I strongly recommend that you use a WSDL editor such as Cape Clear SOA Editor. (It's free.) See http://www.capescience.com/soa/index.shtml .
The validate function is very handy.
Anne
On 12/14/05, Ales St <[EMAIL PROTECTED]> wrote:Here is that files.----- Original Message -----From: Anne Thomas ManesSent: Wednesday, December 14, 2005 5:18 PMSubject: Re: Is it a bug? Multi-nested includes. Server.generalException - makeTypeElement() was told to create a type ...Please post the updated wsdl and schema files.
On 12/14/05, Ales St <[EMAIL PROTECTED]> wrote:Hi, I did It, but still the same Server exception. I write this wsdl to create the simpler similar situation as with StyledLayerDescription.xsd,what I solve. So it is my wsdl correct?Ales----- Original Message -----From: Anne Thomas ManesSent: Wednesday, December 14, 2005 4:36 PMSubject: Re: Is it a bug? Multi-nested includes. Server.generalException - makeTypeElement() was told to create a type ...You must use <xsd:include> to bring in a schema with the same namespace and <xsd:import> to bring in a schema with a different namespace. So you must change this:
<xsd:import namespace="http://www.opengis.net/ows "
schemaLocation="./wms_schemas.xsd" />
</xsd:schema></xsd:schema>
to this:
<xsd:include schemaLocation=" ./wms_schemas.xsd" /></xsd:schema><xsd:include schemaLocation=" ./wms-pok2.xsd" /></xsd:schema>
Anne
On 12/14/05, Ales St <[EMAIL PROTECTED] > wrote:HiI have a problem with multi-nested includes, and I thing that it is a bug. I use java Axis 1.3.I try in my wsdl file to import two difrent namespaces from two difrent xsd files. And then I generate classes using WSDL2JAVA (org.apache.axis.wsdl.WSDL2Java -v -a --server-side --skeletonDeploy true --NStoPkg urn:Wms=wms wms.wsdl ) Then I copy files to server and when I wanted to see server generated wsdl Axis error is generated:AXIS errorSorry, something seems to have gone wrong... here are the details:Fault - makeTypeElement() was told to create a type "{http://www.opengis.net/bla}>zzbb", with no containing element
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: makeTypeElement() was told to create a type "{http://www.opengis.net/bla}>zzbb", with no containing element
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:pocitac
So my question is it is possible to import in wsdl two difrent schemas?Or not and it is a bug. I enclose some files which demonstrate this problem. I hope, that they are good writed because I beginner in soap. If it is not bug, please write to me, how to solve this problem, because it is wery important.Thank youAles