Hi Bille,
It was ok. I did it. But, what methods and in what sequence I need to invoke
to access the webservice?
I am doing the followig:
- generating java code based on wsdl, using ecplise plugin.
- did a very simple client whit the following code:
########
GeneratedStubClass myStub = new GeneratedStubClass();
System.out.println(myStub.MethodWithOperationName());
########
I am getting the following error:
java.lang.NullPointerException
at
org.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java:681)
########
An other e-mail about this especific error is running in the list....
thanks a lot
From: [EMAIL PROTECTED]
Reply-To: [email protected]
To: [email protected]
Subject: Re: newbie question about WSDL2JAVA
Date: Fri, 23 Jun 2006 23:04:32 +0200
- Generate Java from WSDL
- Select the WSDL-File
- Next page you can leave all the selections.
- If you want to get the service classes, then you have to additionally
select "Generate serverside code"
Thats all
HTH
Bille
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> Gesendet: 22.06.06 06:39:07
> An: [email protected]
> Betreff: newbie question about WSDL2JAVA
> Hi All,
>
>
> Sorry if it is a very basic question, but the user guide is not clear
for
> me.
>
> Can somebody send a step by step example about how to build a webservice
> client?
>
> I am using wsdl2java in eclipse but I do not know what generated classes
may
> be used for what.
>
> I am in doubt about what fields in wizard I need to select to build only
a
> simple soap web service client.
>
>
>
> thanks a lot
>
> _________________________________________________________________
> COPA 2006: (¯`·._.·[ Ooooooola ]·._.·´¯) e + frases para seu MSN Clique
> aqui! http://copa.br.msn.com/extra/frases/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
COPA 2006: (¯`·._.·[ Ooooooola ]·._.·´¯) e + frases para seu MSN Clique
aqui! http://copa.br.msn.com/extra/frases/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]