users@jax-rpc.java.net

Re: client code with no WSDL

From: No Arajo Vilas Boas <noe_at_DSI.UMINHO.PT>
Date: Thu, 03 Jul 2003 15:51:17 +0100

Hi, someone could help me ? When I do the follow ant commands I have the
follow results :

Ant build: successful
Ant generate-stubs: successful
Ant compile-client: successful
Ant jar-client: successful
Ant run : the follow result ....

run:
     [echo] Running the
pt.uminho.vade.server.contextsupportservice.ContextSuppo
rtServiceClient program....
     [java] javax.xml.rpc.ServiceException: Provider
com.sun.xml.rpc.client.Serv
iceFactoryImpl not found
     [java] at
javax.xml.rpc.FactoryFinder.newInstance(FactoryFinder.java:44
)
     [java] at
javax.xml.rpc.FactoryFinder.find(FactoryFinder.java:137)
     [java] at
javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:
58)
     [java] at
pt.uminho.vade.server.contextsupportservice.ContextSupportSer
viceClient.main(Unknown Source)

BUILD SUCCESSFUL



I use JWSDP 1.2 version and j2sdk1.4.2(beta)


Thanks

No Vilas Boas
University of Minho
Guimares
Portugal



-----Mensagem original-----
De: Public discussion on JAX-RPC [mailto:JAXRPC-INTEREST_at_JAVA.SUN.COM]
Em nome de Sam D
Enviada: tera-feira, 1 de Julho de 2003 19:36
Para: JAXRPC-INTEREST_at_JAVA.SUN.COM
Assunto: Re: client code with no WSDL

I was actually looking for an example of the config.xml for
wscompile

=samuel



Anne Thomas Manes wrote:
>
> You can generate WSDL from the service code, and then use that to
generate
> your client stub, but that won't guarantee success. If it doesn't
work, then
> you'll need to speak to the service provider to find out binding
> information:
> - RPC or Document style
> - If RPC, what namespace should be used for the message
> - Encoded or Literal
> - What's the expected message structure
> - What should the SOAPAction be
>
> Anne
>
> ----- Original Message -----
> From: "Sam D" <bytecode_at_PHREAKER.NET>
> To: <JAXRPC-INTEREST_at_JAVA.SUN.COM>
> Sent: Saturday, June 28, 2003 1:02 AM
> Subject: client code with no WSDL
>
> > Can I write a JAX-RPC client even if I dont have the
> > WSDL ?
> >
> > I have the Java code for the service.
> >
> > Thanks
> >