users@jax-rpc.java.net

Re: wscompile - error: modeler error: invalid element:

From: Anne Thomas Manes <anne_at_manes.net>
Date: Fri, 30 Jan 2004 12:32:00 -0500

I believe that <xsd:documentation> is only permitted as a child of
<xsd:annotation>.

Since you are documenting the WSDL definition in this case rather than a
schema, you should use the <wsdl:documentation> element rather than the
<xsd:documentation> element.

Anne

At 07:01 AM 1/30/2004, you wrote:
>Hi,
>
>A newbie question....
>
>I'm getting an error when using wscompile.
>
>wscompile -gen:client -d build -classpath build config-wsl.xml
>
>error: modeler error: invalid element: "s:documentation" (in namespace
>"http://www.w3.org/2001/XMLSchema")
>
>In the WSDL, the s:documentation element appears in this context:
>
>< definitions
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:s="http://www.w3.org/2001/XMLSchema"
> xmlns:s0="http://localhost/schema/"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
> xmlns="http://schemas.xmlsoap.org/wsdl/">
>
> .....
>
> <service name="Login">
> <s:documentation>Login</s:documentation>
> <port name="LoginSoap" binding="s0:LoginSoap">
> <soap:address
> location="https://localhost/Login.asmx"/>
> </port>
> </service>
>
> .....
>
></definitions>
>
>Can anyone give some advice on this.
>
>
>
>Thanks.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net

~~~~~~~~~~~~~~~~~~
Anne Thomas Manes
VP & Research Director
Burton Group


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net