You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by Naresh Agarwal <na...@rediffmail.com> on 2004/06/10 11:51:07 UTC

problem invoking a web service when WSDL imports xsd file

Hi
  
I'm developing a dynamic invocation client using WSIF to invoke a web service.

The client works fine if the WSDL does not import any schemas (xsd files). However, if a WSDL imports schema, then invocation fails saying that a part type is not supported, i.e., the element definition is not found.

-----------

Exception in thread "main" java.lang.RuntimeException: part type {http://www.you
r-company.com/Arithmetic.xsd1}inputElement not supported in this sample

------------

Any ideas to solve this issue?

thanks,
Naresh

Re: problem invoking a web service when WSDL imports xsd file

Posted by Davanum Srinivas <da...@gmail.com>.
Try a nightly build of axis...it has a samples/client/DynamicInvoker
that may be what you are looking for.

-- dims

On 10 Jun 2004 09:51:07 -0000, Naresh  Agarwal
<na...@rediffmail.com> wrote:
> 
> Hi
>   
> I'm developing a dynamic invocation client using WSIF to invoke a web service.
> 
> The client works fine if the WSDL does not import any schemas (xsd files). However, if a WSDL imports schema, then invocation fails saying that a part type is not supported, i.e., the element definition is not found.
> 
> -----------
> 
> Exception in thread "main" java.lang.RuntimeException: part type {http://www.you
> r-company.com/Arithmetic.xsd1}inputElement not supported in this sample
> 
> ------------
> 
> Any ideas to solve this issue?
> 
> thanks,
> Naresh


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/