You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Franz Fehringer <fe...@isogmbh.de> on 2005/11/08 15:37:03 UTC

wsdl2ws -mgnu question

Hello,

I want to generate Makefiles with wsdl2ws.
My Axis (C/C++) version is 1.5.
I execute java -cp "%AXISCCLASSPATH%;%CLASSPATH%"
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -ocpp -lc++ -mgnu -sclient
PegsTour.wsdl
(files are attached).
The (Makefile) result is a single Makefile.am.
This is not usable for further processing:
automake: `configure.ac' or `configure.in' is required
I am trying version 1.9.6 (cygwin) and 1.7.1 (mingw) of automake.
How is this supposed to work?

Greetings

Franz

Dr. Franz Fehringer (Dipl. Math.)
____________________________________
ISO Software Systeme
Eichendorffstrasse 29
90491 Nuremberg
Germany

Tel. : +49/(911) - 99594-0
Fax  : +49/(911) - 99594-580

mailto:feh@isogmbh.de
http://www.isogmbh.de

Re: wsdl2ws -mgnu question

Posted by John Hawkins <HA...@uk.ibm.com>.
Hmm, I'd forgotten all about this defunct option - I'll raise  a JIRA to 
remove it from WSDL2Ws unless someone wants to get it working.





Samisa Abeysinghe <sa...@gmail.com> 
09/11/2005 03:11
Please respond to
"Apache AXIS C Developers List"


To
Apache AXIS C Developers List <ax...@ws.apache.org>
cc

Subject
Re: wsdl2ws -mgnu question






Franz Fehringer wrote:

>Hello,
>
>I want to generate Makefiles with wsdl2ws.
>My Axis (C/C++) version is 1.5.
>I execute java -cp "%AXISCCLASSPATH%;%CLASSPATH%"
>org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -ocpp -lc++ -mgnu -sclient
>PegsTour.wsdl
>(files are attached).
>The (Makefile) result is a single Makefile.am.
>This is not usable for further processing:
>automake: `configure.ac' or `configure.in' is required
>I am trying version 1.9.6 (cygwin) and 1.7.1 (mingw) of automake.
>How is this supposed to work?
> 
>
-mgnu is obsolete, it does not work correctly. As you may notice, even 
the main code base does not support Gnu make.
For the generated code, you have to write your own make files.

Thanks,
Samisa...

>Greetings
>
>Franz
>
>Dr. Franz Fehringer (Dipl. Math.)
>____________________________________
>ISO Software Systeme
>Eichendorffstrasse 29
>90491 Nuremberg
>Germany
>
>Tel. : +49/(911) - 99594-0
>Fax  : +49/(911) - 99594-580
>
>mailto:feh@isogmbh.de
>http://www.isogmbh.de
> 
>
>------------------------------------------------------------------------
>
><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:fo="
http://www.w3.org/1999/XSL/Format" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:pgs="
http://www.pegs-pegstour.com/API/XMLSchema/1.0.1" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/" name="PegsTour" targetNamespace="
http://www.pegs-pegstour.com/API/XMLSchema/1.0.1" xsi:schemaLocation="
http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/">
><types>
><xsd:schema targetNamespace="
http://www.pegs-pegstour.com/API/XMLSchema/1.0.1">
><xsd:include schemaLocation="durchstich.xsd"/>
></xsd:schema>
></types>
><!--MESSAGES-->
><!--Common Messages-->
><message name="TokenRequestMessage">
><part name="parameters" element="pgs:Token"/>
></message>
><message name="TokenResponseMessage">
><part name="parameters" element="pgs:TokenResponse"/>
></message>
><message name="ErrorResponseMessage">
><part name="parameters" element="pgs:ErrorResponse"/>
></message>
><!--SessionManagement Messages-->
><message name="LoginRequestMessage">
><part name="parameters" element="pgs:LoginRequest"/>
></message>
><message name="LoginResponseMessage">
><part name="results" element="pgs:LoginResponse"/>
></message>
><!--PORT TYPES-->
><portType name="SessionManagementPortType">
><operation name="Login">
><input message="pgs:LoginRequestMessage"/>
><output message="pgs:LoginResponseMessage"/>
><fault name="LoginFault" message="pgs:ErrorResponseMessage"/>
></operation>
></portType>
><!--BINDINGS-->
><binding name="SessionManagementBinding" 
type="pgs:SessionManagementPortType">
><soap:binding transport="http://schemas.xmlsoap.org/soap/http" 
style="document"/>
><operation name="Login">
><soap:operation soapAction="#Login"/>
><input>
><soap:body use="literal"/>
></input>
><output>
><soap:body use="literal"/>
><soap:header message="pgs:TokenResponseMessage" part="parameters" 
use="literal"/>
></output>
><fault name="LoginFault">
><soap:fault use="literal" name="LoginFault"/>
></fault>
></operation>
></binding>
><!--SERVICES-->
><service name="PegsTourService">
><port name="SessionManagementPort" 
binding="pgs:SessionManagementBinding">
><soap:address location="https://prod.pegstour.com/api/soap/"/>
></port>
></service>
></definitions>
>
> 
>



Re: wsdl2ws -mgnu question

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Franz Fehringer wrote:

>Hello,
>
>I want to generate Makefiles with wsdl2ws.
>My Axis (C/C++) version is 1.5.
>I execute java -cp "%AXISCCLASSPATH%;%CLASSPATH%"
>org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -ocpp -lc++ -mgnu -sclient
>PegsTour.wsdl
>(files are attached).
>The (Makefile) result is a single Makefile.am.
>This is not usable for further processing:
>automake: `configure.ac' or `configure.in' is required
>I am trying version 1.9.6 (cygwin) and 1.7.1 (mingw) of automake.
>How is this supposed to work?
>  
>
-mgnu is obsolete, it does not work correctly. As you may notice, even 
the main code base does not support Gnu make.
For the generated code, you have to write your own make files.

Thanks,
Samisa...

>Greetings
>
>Franz
>
>Dr. Franz Fehringer (Dipl. Math.)
>____________________________________
>ISO Software Systeme
>Eichendorffstrasse 29
>90491 Nuremberg
>Germany
>
>Tel. : +49/(911) - 99594-0
>Fax  : +49/(911) - 99594-580
>
>mailto:feh@isogmbh.de
>http://www.isogmbh.de
>  
>
>------------------------------------------------------------------------
>
><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pgs="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="PegsTour" targetNamespace="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1" xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/">
><types>
><xsd:schema targetNamespace="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1">
><xsd:include schemaLocation="durchstich.xsd"/>
></xsd:schema>
></types>
><!--MESSAGES-->
><!--Common Messages-->
><message name="TokenRequestMessage">
><part name="parameters" element="pgs:Token"/>
></message>
><message name="TokenResponseMessage">
><part name="parameters" element="pgs:TokenResponse"/>
></message>
><message name="ErrorResponseMessage">
><part name="parameters" element="pgs:ErrorResponse"/>
></message>
><!--SessionManagement Messages-->
><message name="LoginRequestMessage">
><part name="parameters" element="pgs:LoginRequest"/>
></message>
><message name="LoginResponseMessage">
><part name="results" element="pgs:LoginResponse"/>
></message>
><!--PORT TYPES-->
><portType name="SessionManagementPortType">
><operation name="Login">
><input message="pgs:LoginRequestMessage"/>
><output message="pgs:LoginResponseMessage"/>
><fault name="LoginFault" message="pgs:ErrorResponseMessage"/>
></operation>
></portType>
><!--BINDINGS-->
><binding name="SessionManagementBinding" type="pgs:SessionManagementPortType">
><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
><operation name="Login">
><soap:operation soapAction="#Login"/>
><input>
><soap:body use="literal"/>
></input>
><output>
><soap:body use="literal"/>
><soap:header message="pgs:TokenResponseMessage" part="parameters" use="literal"/>
></output>
><fault name="LoginFault">
><soap:fault use="literal" name="LoginFault"/>
></fault>
></operation>
></binding>
><!--SERVICES-->
><service name="PegsTourService">
><port name="SessionManagementPort" binding="pgs:SessionManagementBinding">
><soap:address location="https://prod.pegstour.com/api/soap/"/>
></port>
></service>
></definitions>
>
>  
>