You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by "useada.u" <us...@gmail.com> on 2008/01/09 07:30:06 UTC

Can't generate C++ Client code from WSDL2WS for my WSDL file.

Hi All,

I want to generate C++ code from my WSDL file, to use it in my Client Application.
But I am getting following error while generating the code

==================================================================
F:\axis-c-1.6-Linux-trace-bin\axis-c-1.6-Linux-trace-bin\lib\axis>java -classpath .\\axis.jar;.\\commons-discovery.jar;.\\commons-logging.jar;.\\jaxrpc.jar;.\\saaj.jar;.\\wsdl4j.jar;.\\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Service.xml -o./Service -lc++ -sclient

org.apache.axis.wsdl.wsdl2ws.WrapperFault: unregistered type {http://schemas.xmlsoap.org/soap/encoding/}Array referred
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createParameterInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addRPCStyleInputMessageToMethodInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)

        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

Code generation failed. Please see errors above.


2008-01-09 



useada.u 

Re: Re: Can't generate C++ Client code from WSDL2WS for my WSDL file.

Posted by "useada.u" <us...@gmail.com>.
Hi,
I have got the source using this commad "svn checkout http://svn.apache.org/repos/asf/webservices/axis/trunk/c/ axis" .
But I can't build wsdl2ws.Something likes that the need of the package javax.wsdl.Binding.
what should i do?


2008-01-10 



useada.u 



发件人: Nadir Amra 
发送时间: 2008-01-09  15:07:58 
收件人: Apache AXIS C User List 
抄送: 
主题: Re: Can't generate C++ Client code from WSDL2WS for my WSDL file. 
 
First, try building the product from SVN and then try again to see if that 
resolves your problem.  Otherwise, need a sample WSDL to recreate the 
problem.

Nadir K. Amra


"useada.u"  <useada.u@gmail.com > wrote on 01/09/2008 12:30:06 AM:

> Hi All,
> 
> I want to generate C++ code from my WSDL file, to use it in my 
> Client Application.
> But I am getting following error while generating the code
> 
> ==================================================================
> F:\axis-c-1.6-Linux-trace-bin\axis-c-1.6-Linux-trace-
> bin\lib\axis >java -classpath .\\axis.jar;.\\commons-discovery.jar;.
> \\commons-logging.jar;.\\jaxrpc.jar;.\\saaj.jar;.\\wsdl4j.jar;.
> \\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Service.xml -o.
> /Service -lc++ -sclient
> 
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: unregistered type {http:
> //schemas.xmlsoap.org/soap/encoding/}Array referred
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.
> createParameterInfo(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.
> addRPCStyleInputMessageToMethodInfo(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(Unknown 
Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown 
Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.
> generateWrappers(Unknown Source)
> 
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> 
> Code generation failed. Please see errors above.
> 
> 2008-01-09 
> 
> useada.u 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org

Re: Can't generate C++ Client code from WSDL2WS for my WSDL file.

Posted by Nadir Amra <am...@us.ibm.com>.
First, try building the product from SVN and then try again to see if that 
resolves your problem.  Otherwise, need a sample WSDL to recreate the 
problem.

Nadir K. Amra


"useada.u" <us...@gmail.com> wrote on 01/09/2008 12:30:06 AM:

> Hi All,
> 
> I want to generate C++ code from my WSDL file, to use it in my 
> Client Application.
> But I am getting following error while generating the code
> 
> ==================================================================
> F:\axis-c-1.6-Linux-trace-bin\axis-c-1.6-Linux-trace-
> bin\lib\axis>java -classpath .\\axis.jar;.\\commons-discovery.jar;.
> \\commons-logging.jar;.\\jaxrpc.jar;.\\saaj.jar;.\\wsdl4j.jar;.
> \\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Service.xml -o.
> /Service -lc++ -sclient
> 
> org.apache.axis.wsdl.wsdl2ws.WrapperFault: unregistered type {http:
> //schemas.xmlsoap.org/soap/encoding/}Array referred
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.
> createParameterInfo(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.
> addRPCStyleInputMessageToMethodInfo(Unknown Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(Unknown 
Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown 
Source)
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.
> generateWrappers(Unknown Source)
> 
>         at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
> 
> Code generation failed. Please see errors above.
> 
> 2008-01-09 
> 
> useada.u 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org