users@jax-rpc.java.net

Re: hi problem with wscompile

From: RaviKiran <Venkata-Naga.Ravikiran_at_Sun.COM>
Date: Fri, 05 Mar 2004 09:43:09 +0530

A couple of points:
1.Change
   targetNamespace="http://EchoService.org/wsdl
<http://echoservice.org/wsdl>"
               typeNamespace="http://EchoService.org/types
<http://echoservice.org/types> "
  to
targetNamespace="http://EchoService.org/wsdl"
               typeNamespace="http://EchoService.org/types ".

2. wscompile has a "classpath" option in the command line.I think the
option is either -classpath or -cp(checkout wscompile help)
    For eg:
    wscompile -classpath <path toechoif class files> -gen:both config.xml

-Ravikiran
ratna sudha wrote:

> hai
> iam sudha doing masters degree in Computer Science in Andhra
> University.i am using JWSDP-1.3 to implement my project.for that i am
> using jaxrpc.
>
> i tried the following config.xml file.
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration
> xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
> <service
> name="echo"
> targetNamespace="http://EchoService.org/wsdl
> <http://echoservice.org/wsdl>"
> typeNamespace="http://EchoService.org/types
> <http://echoservice.org/types> "
> packageName="echo">
> <interface name="echo.EchoIF"
> servantName="echo.EchoImpl"/>
> </service>
> </configuration>
> i.e by merging rmi and service tags.
> but i got error at targetNamespace="http://Echoservice.org/wsdl
> <http://echoservice.org/wsdl>"
> as
> "The character "<" can not be used in an attribute value.Line 6
> Position 5".
> i removed the "<,>" symbols and tried with
> wscompile -gen config.xml
> the message was
> warning:You have specified -gen:both or -gen:client with SEI.the use
> of these modes are recommended with WSDL only.
> error:RmiModeler error:java.lang.ClassNotFoundException:echo$EchoIF
> i tried this by writing EchoService.wsdl also but got the same error.
> plz tell me the solutin for this.
> thanking u
> sudha.
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Search - Find what you're looking for faster.
> <http://search.yahoo.com/?fr=ad-mailsig-home>