users@jax-rpc.java.net

wscompile - error: modeler error: invalid element:

From: Alexander,D <D.Alexander_at_lse.ac.uk>
Date: Fri, 30 Jan 2004 16:48:26 -0000

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