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 BRACHET Maxime <mi...@gmail.com> on 2008/05/30 12:53:06 UTC

[axis-user] Axis Client with gSOAP server

Hi everybody,

I try to use Axis to build a Web service client for a gSOAP server.
I get a wsdl file from the server and use WSDL2Java to generate stub code.
And, when I run my Client it said me this error :
org.apache.axis.types.URI$MalformedURIException: Cannot initialize URI with
empty parameters .
I search on the Internet, but I cant fidn any solution or clues to resolve
this error.

To be more precise the gSOAP server is a magicservice from the samples on
there website.

Attach to this mail is the wsdl file and the Client Code file.

If someone have an idea of when it could come from.

Thanks in advance.

Maxime.

Re: [axis-user] Axis Client with gSOAP server

Posted by BRACHET Maxime <mi...@gmail.com>.
Hi,

It seems that the WSDL2Java doesn't not respect the wsdl ,because I
successfully connect to the gsoap Webservice, after modifying the
ServiceStub.java generated and when I look at the message sent by the
client, it use <magic></magic> instead of <ns1:magic></ns1:magic> I I dont
know why ^^.

It will be really helpful if someone have an idea from where it can come
from.

Regards,
Maxime.

2008/5/30 BRACHET Maxime <mi...@gmail.com>:

> Hi everybody,
>
> I try to use Axis to build a Web service client for a gSOAP server.
> I get a wsdl file from the server and use WSDL2Java to generate stub code.
> And, when I run my Client it said me this error :
> org.apache.axis.types.URI$MalformedURIException: Cannot initialize URI with
> empty parameters .
> I search on the Internet, but I cant fidn any solution or clues to resolve
> this error.
>
> To be more precise the gSOAP server is a magicservice from the samples on
> there website.
>
> Attach to this mail is the wsdl file and the Client Code file.
>
> If someone have an idea of when it could come from.
>
> Thanks in advance.
>
> Maxime.
>