You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jose Benjamin Perez Soto <jo...@gmail.com> on 2007/02/22 03:38:20 UTC
somebody has generated code VB6 of wsdl?
Hello,
well, I've this problem, I'm generating code VB6 with "WSDL Wizard for
PocketSOAP 2.3.0" ( http://www.pocketsoap.com/wsdl/wsdl2.aspx), and wsdl I
generate it with axis2, but I have the following error:
------------------------------------------
Run-time error '91'
Object variable or With block variable not set
-------------------------------------------
But this error happens when I've the following class:
package org.test;
public class Test {
public int add(int i1, int i2) {
return i1 + i2;
}
public Persona getPersona() {
return new Persona("asdf");
}
public void setPersona(Persona person) {
System.out.println(person);
}
}
with the method setPersona gives the following error, with the client of
PocketSOAP.
Apparently when it receives a complex object as parameter is where it sends
the error.
Somebody knows of some other tool that generates code VB6, or as it could
solve this?
Thanks,
Ben
Re: somebody has generated code VB6 of wsdl?
Posted by Anne Thomas Manes <at...@gmail.com>.
I suggest you ask a question on the PocketSoap discussion list. They
can help you fix your VB code.
On 2/21/07, Jose Benjamin Perez Soto <jo...@gmail.com> wrote:
> Hello,
>
> well, I've this problem, I'm generating code VB6 with "WSDL Wizard for
> PocketSOAP 2.3.0" (
> http://www.pocketsoap.com/wsdl/wsdl2.aspx), and wsdl I
> generate it with axis2, but I have the following error:
> ------------------------------------------
> Run-time error '91'
> Object variable or With block variable not set
> -------------------------------------------
>
> But this error happens when I've the following class:
>
> package org.test;
>
> public class Test {
> public int add(int i1, int i2) {
> return i1 + i2;
> }
>
> public Persona getPersona() {
> return new Persona("asdf");
> }
>
> public void setPersona(Persona person) {
> System.out.println(person);
> }
> }
>
> with the method setPersona gives the following error, with the client of
> PocketSOAP.
> Apparently when it receives a complex object as parameter is where it sends
> the error.
>
> Somebody knows of some other tool that generates code VB6, or as it could
> solve this?
>
> Thanks,
>
> Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org