You mean something like (I assume you are using Eclipse's validator)...

"cvc-complex-type.2.1: Element 'soap:address' must have no character or
element information item [children], because the type's content type is
empty."

Just change your tags so they are of the form <soap:address/> rather than
<soap:address></soap:address>, and the validation errors should disappear.

The same goes for <soap:body> and <soap:operation> elements.


Brennan Spies
Sr. Programmer Analyst
Shared Application Services
(209) 341-6457


-----Original Message-----
From: Philipp Perner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 08, 2006 12:55 AM
To: [email protected]
Subject: Re: wsdl schema prefix

hi

I have included the namespace declaration in my wsdl file as you can see 
attached.
But you were right, I had to manually add it --> 17 new errors occured 
after validation.

is this a bug?


Spies, Brennan schrieb:
> Do you have the namespace declaration 
>
> xmlns:xs="http://www.w3.org/2001/XMLSchema";
>
> as an attribute of your root element?
>
>
> -----Original Message-----
> From: Philipp Perner [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 07, 2006 10:06 AM
> To: [email protected]
> Subject: wsdl schema prefix
>
> me again!
>
> I didnt use the Axis2 Code Generator, because in my posting above the 
> wsdl was not valid, whatever the reasons were.
> So I manually generated my wsdl file with Java2WSDL
>
> No i have a wsdl file which has after validation one single error:
>
> error in line 229: "The prefix "xs" for element "xs:schema" is not bound."
>
> can anyone help me?
> the command I generated wsdl with is:
>
> java -cp {required librarypaths} org.apache.ws.java2wsdl.Java2WSDL -o 
> ../wsdl -l "http://localhost:8081/axis2/services/Pseudonymisierung"; -sn 
> "Pseudonymisierung" -cn healthgate.axis.service.Pseudonymisierung -of 
> Pseudonymisierung.wsdl
>
> Is there anything wrong with the command? do I have to add anything that 
> binds the prefix?
>
> kind regards,
>
> Philipp
>
>
>
> ---------------------------------------------------------------------
> 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]
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to