users@jax-rpc.java.net

RE: wscompile error - [java] error: modeler error: model error: undeclared namespace prefix: ""

From: Uday Naik <unaik_at_nextance.com>
Date: Mon, 6 Dec 2004 11:37:32 -0800

Appreciate your response. I changed the target namespace in the wsdl as
you suggested with no luck.
Still get the same error. I wish the tool gave some extra hints. Why
would this occur?
 
Uday
        -----Original Message-----
        From: Anne Thomas Manes [mailto:anne_at_manes.net]
        Sent: Monday, December 06, 2004 8:03 AM
        To: users_at_jax-rpc.dev.java.net
        Cc: Uday Naik
        Subject: RE: wscompile error - [java] error: modeler error:
model error: undeclared namespace prefix: ""
        
        
        Perhaps your problem is caused by your target namespace:
        targetNamespace="http://schemas.xmlsoap.org/wsdl/"
         
        Although it technically isn't illegal to use the wsdl namespace
as your target namespace, some tools might have a problem with it. I
suggest you create a different target namespace.
         
        Anne
         
        
  _____

        From: James Solomon [mailto:james_at_nextance.com]
        Sent: Friday, December 03, 2004 11:18 PM
        To: users_at_jax-rpc.dev.java.net
        Cc: Uday Naik
        Subject: wscompile error - [java] error: modeler error: model
error: undeclared namespace prefix: ""
         
        When I tried to build server classes is when I encountered this
error.
        The included schema(s) in the WSDL do not have any target or
default namespace specifications.
        Any help will be much appreciated.
        Thanks,
        James
        <<TestService.wsdl>>
        <<testconfig-wsdl.xml>>