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 Philippe Vandenhove <ph...@gmail.com> on 2008/03/13 11:26:13 UTC
wsdl generated not well formed
HI all,
When my webservice is deployed, i have a problem with my wsdl file generated
by axis when i try to connect it with XMLSpy,SAP system or ADOBE system .
However with a tool like SOAPSonar or a java client all works fine.
Here is the error i have with XMLSpy,SAP or Adobe when i try to create a
soap request : 'tns1:string' must refer to an existing simple or complex
type
I use WSDL2java to generate the java code. The two wsdl files are above.
Thank you in advance for your help,
Philippe Vandenhove
Initial wsdl file:
------------------------
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="urn:EngagementOperation"
targetNamespace="urn:EngagementOperation2"
xmlns:tns="urn:EngagementOperation2"
xmlns:typens="urn:EngagementOperation2"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<!-- type defs -->
<types>
<xsd:schema targetNamespace="urn:EngagementOperation2"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<xsd:complexType name="result">
<xsd:all>
<xsd:element name="prefixDirTech" type="xsd:string"
nillable="true" />
<xsd:element name="numDirTech" type="xsd:integer"
nillable="true"/>
<xsd:element name="suffixDirTech" type="xsd:string"
nillable="true" />
<xsd:element name="allocationBase" type="xsd:string"
nillable="true"/>
<xsd:element name="boite" type="xsd:string" nillable="true"
/>
<xsd:element name="codePostal" type="xsd:int"
nillable="true"/>
<xsd:element name="commune" type="xsd:string"
nillable="true"/>
<xsd:element name="cptBanque" type="xsd:string"
maxLength="12" nillable="true" />
<xsd:element name="montant" type="xsd:float"/>
<xsd:element name="nameAgent" type="xsd:string"
nillable="true"/>
<xsd:element name="no" type="xsd:string" nillable="true"/>
<xsd:element name="noEntreprise" type="xsd:int"
nillable="true"/>
<xsd:element name="rue" type="xsd:string" nillable="true"/>
<xsd:element name="flagIf" type="xsd:boolean"
nillable="true"/>
<xsd:element name="dateIf" type="xsd:string"
nillable="true"/>
<xsd:element name="flagCommittee" type="xsd:boolean"
nillable="true"/>
<xsd:element name="comment" type="xsd:string"
nillable="true"/>
<xsd:element name="nameDirectorDirTech" type="xsd:string"
nillable="true"/>
<xsd:element name="dateApprobDirTech" type="xsd:string"
nillable="true"/>
<xsd:element name="noFournisseurSAP" type="xsd:string"
nillable="true"/>
<xsd:element name="bic" type="xsd:string" nillable="true"/>
<xsd:element name="typeEngagement" type="xsd:string"
nillable="true"/>
<xsd:element name="costCenter" type="xsd:string"
nillable="true"/>
<xsd:element name="generalAccount" type="xsd:string"
nillable="true"/>
<xsd:element name="nameDirectorDirCF" type="xsd:string"
nillable="true"/>
<xsd:element name="dateApprobDirCF" type="xsd:string"
nillable="true"/>
<xsd:element name="noVisa" type="xsd:integer"
nillable="true"/>
<xsd:element name="noVisaProvisoire" type="xsd:integer"
nillable="true"/>
<xsd:element name="id" type="xsd:integer" nillable="true"/>
<xsd:element name="dateSendingSAP" type="xsd:string"
nillable="true"/>
<xsd:element name="tranche1Montant" type="xsd:float"
nillable="true"/>
<xsd:element name="tranche2Montant" type="xsd:float"
nillable="true"/>
<xsd:element name="tranche3Montant" type="xsd:float"
nillable="true"/>
<xsd:element name="tranche4Montant" type="xsd:float"
nillable="true"/>
<xsd:element name="tranche5Montant" type="xsd:float"
nillable="true"/>
<xsd:element name="tranche6Montant" type="xsd:float"
nillable="true"/>
<xsd:element name="tranche7Montant" type="xsd:float"
nillable="true"/>
<xsd:element name="tranche1Year" type="xsd:short"
nillable="true"/>
<xsd:element name="tranche2Year" type="xsd:short"
nillable="true"/>
<xsd:element name="tranche3Year" type="xsd:short"
nillable="true"/>
<xsd:element name="tranche4Year" type="xsd:short"
nillable="true"/>
<xsd:element name="tranche5Year" type="xsd:short"
nillable="true"/>
<xsd:element name="tranche6Year" type="xsd:short"
nillable="true"/>
<xsd:element name="tranche7Year" type="xsd:short"
nillable="true"/>
<xsd:element name="webServiceStatus" type="xsd:string"
nillable="true"/>
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<!-- Creation Operation -->
<message name="create">
<part name="input" type="typens:result"/>
</message>
<message name="createResponse">
<part name="output" type="typens:result"/>
</message>
<!-- Approve Technical Director Operation -->
<message name="approveDirTech">
<part name="comment" type="xsd:string"/>
<part name="dateApproveDirTech" type="xsd:string"/>
<part name="nameDirectorDirTech" type="xsd:string"/>
<part name="engagementId" type="xsd:long"/>
</message>
<message name="approveDirTechResponse">
<part name="output1" type="typens:result"/>
</message>
<!-- Approve Financial Coordination Operation -->
<message name="approveDirCF">
<part name="noFournisseurSAP" type="xsd:string"/>
<part name="typeEngagement" type="xsd:string"/>
<part name="costCenter" type="xsd:string"/>
<part name="generalAccount" type="xsd:string"/>
<part name="nameDirectorDirCF" type="xsd:string"/>
<part name="noVisa" type="xsd:int"/>
<part name="engagementId" type="xsd:long"/>
</message>
<message name="approveDirCFResponse">
<part name="output2" type="typens:result"/>
</message>
<!-- Approve organizer -->
<message name="approveOrganizer">
<part name="engagementId" type="xsd:long"/>
</message>
<message name="approveOrganizerResponse">
<part name="output3" type="typens:result"/>
</message>
<!-- Approve organizer -->
<message name="approveAndEndWorkFlow">
<part name="engagementId" type="xsd:long"/>
<part name="dateSending" type="xsd:string"/>
</message>
<message name="approveAndEndWorkFlowResponse">
<part name="output4" type="typens:result"/>
</message>
<!-- Update payment date -->
<message name="updatePaymentDate">
<part name="idGroupe" type="xsd:int"/>
<part name="idLot" type="xsd:int"/>
<part name="datePayment" type="xsd:string"/>
<part name="montantTotalPayment" type="xsd:int"/>
</message>
<message name="updatePaymentDateResponse">
<part name="output5" type="typens:result"/>
</message>
<portType name="Engagement">
<operation name="create" >
<input message="tns:create"/>
<output message="tns:createResponse"/>
</operation>
<operation name="approveDirTech" >
<input message="tns:approveDirTech"/>
<output message="tns:approveDirTechResponse"/>
</operation>
<operation name="approveDirCF" >
<input message="tns:approveDirCF"/>
<output message="tns:approveDirCFResponse"/>
</operation>
<operation name="approveOrganizer" >
<input message="tns:approveOrganizer"/>
<output message="tns:approveOrganizerResponse"/>
</operation>
<operation name="approveAndEndWorkFlow" >
<input message="tns:approveAndEndWorkFlow"/>
<output message="tns:approveAndEndWorkFlowResponse"/>
</operation>
<operation name="updatePaymentDate" >
<input message="tns:updatePaymentDate"/>
<output message="tns:updatePaymentDateResponse"/>
</operation>
</portType>
<binding name="EngagementBinding" type="tns:Engagement">
<soap:binding style="rpc" transport="
http://schemas.xmlsoap.org/soap/http"/>
<operation name="create">
<input>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveDirTech">
<input>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveDirCF">
<input>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveOrganizer">
<input>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveAndEndWorkFlow">
<input>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="updatePaymentDate">
<input>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded" encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
</binding>
<service name="EngagementOperationService">
<port name="EngagementOperation" binding="tns:EngagementBinding">
<soap:address location="
http://localhost:8080/dirfinco/services/EngagementOperation"/>
</port>
</service>
</definitions>
wsdl generated :
--------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:EngagementOperation2"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="urn:EngagementOperation2" xmlns:intf="urn:EngagementOperation2"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="
http://www.w3.org/1999/XMLSchema" xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema targetNamespace="urn:EngagementOperation2" xmlns="
http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="result">
<sequence>
<element name="prefixDirTech" nillable="true" type="tns1:string"/>
<element name="numDirTech" nillable="true" type="tns1:integer"/>
<element name="suffixDirTech" nillable="true" type="tns1:string"/>
<element name="allocationBase" nillable="true" type="tns1:string"/>
<element name="boite" nillable="true" type="tns1:string"/>
<element name="codePostal" nillable="true" type="tns1:int"/>
<element name="commune" nillable="true" type="tns1:string"/>
<element name="cptBanque" nillable="true" type="tns1:string"/>
<element name="montant" type="tns1:float"/>
<element name="nameAgent" nillable="true" type="tns1:string"/>
<element name="no" nillable="true" type="tns1:string"/>
<element name="noEntreprise" nillable="true" type="tns1:int"/>
<element name="rue" nillable="true" type="tns1:string"/>
<element name="flagIf" nillable="true" type="tns1:boolean"/>
<element name="dateIf" nillable="true" type="tns1:string"/>
<element name="flagCommittee" nillable="true" type="tns1:boolean"/>
<element name="comment" nillable="true" type="tns1:string"/>
<element name="nameDirectorDirTech" nillable="true"
type="tns1:string"/>
<element name="dateApprobDirTech" nillable="true" type="tns1:string"/>
<element name="noFournisseurSAP" nillable="true" type="tns1:string"/>
<element name="bic" nillable="true" type="tns1:string"/>
<element name="typeEngagement" nillable="true" type="tns1:string"/>
<element name="costCenter" nillable="true" type="tns1:string"/>
<element name="generalAccount" nillable="true" type="tns1:string"/>
<element name="nameDirectorDirCF" nillable="true" type="tns1:string"/>
<element name="dateApprobDirCF" nillable="true" type="tns1:string"/>
<element name="noVisa" nillable="true" type="tns1:integer"/>
<element name="noVisaProvisoire" nillable="true" type="tns1:integer"/>
<element name="id" nillable="true" type="tns1:integer"/>
<element name="dateSendingSAP" nillable="true" type="tns1:string"/>
<element name="tranche1Montant" nillable="true" type="tns1:float"/>
<element name="tranche2Montant" nillable="true" type="tns1:float"/>
<element name="tranche3Montant" nillable="true" type="tns1:float"/>
<element name="tranche4Montant" nillable="true" type="tns1:float"/>
<element name="tranche5Montant" nillable="true" type="tns1:float"/>
<element name="tranche6Montant" nillable="true" type="tns1:float"/>
<element name="tranche7Montant" nillable="true" type="tns1:float"/>
<element name="tranche1Year" nillable="true" type="tns1:short"/>
<element name="tranche2Year" nillable="true" type="tns1:short"/>
<element name="tranche3Year" nillable="true" type="tns1:short"/>
<element name="tranche4Year" nillable="true" type="tns1:short"/>
<element name="tranche5Year" nillable="true" type="tns1:short"/>
<element name="tranche6Year" nillable="true" type="tns1:short"/>
<element name="tranche7Year" nillable="true" type="tns1:short"/>
<element name="webServiceStatus" nillable="true" type="tns1:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="approveDirTechRequest">
<wsdl:part name="comment" type="tns1:string"/>
<wsdl:part name="dateApproveDirTech" type="tns1:string"/>
<wsdl:part name="nameDirectorDirTech" type="tns1:string"/>
<wsdl:part name="engagementId" type="tns1:long"/>
</wsdl:message>
<wsdl:message name="updatePaymentDateResponse">
<wsdl:part name="output5" type="impl:result"/>
</wsdl:message>
<wsdl:message name="updatePaymentDateRequest">
<wsdl:part name="idGroupe" type="tns1:int"/>
<wsdl:part name="idLot" type="tns1:int"/>
<wsdl:part name="datePayment" type="tns1:string"/>
<wsdl:part name="montantTotalPayment" type="tns1:int"/>
</wsdl:message>
<wsdl:message name="approveDirCFResponse">
<wsdl:part name="output2" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveAndEndWorkFlowRequest">
<wsdl:part name="engagementId" type="tns1:long"/>
<wsdl:part name="dateSending" type="tns1:string"/>
</wsdl:message>
<wsdl:message name="approveDirTechResponse">
<wsdl:part name="output1" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveDirCFRequest">
<wsdl:part name="noFournisseurSAP" type="tns1:string"/>
<wsdl:part name="typeEngagement" type="tns1:string"/>
<wsdl:part name="costCenter" type="tns1:string"/>
<wsdl:part name="generalAccount" type="tns1:string"/>
<wsdl:part name="nameDirectorDirCF" type="tns1:string"/>
<wsdl:part name="noVisa" type="tns1:int"/>
<wsdl:part name="engagementId" type="tns1:long"/>
</wsdl:message>
<wsdl:message name="createResponse">
<wsdl:part name="output" type="impl:result"/>
</wsdl:message>
<wsdl:message name="createRequest">
<wsdl:part name="input" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveAndEndWorkFlowResponse">
<wsdl:part name="output4" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveOrganizerRequest">
<wsdl:part name="engagementId" type="tns1:long"/>
</wsdl:message>
<wsdl:message name="approveOrganizerResponse">
<wsdl:part name="output3" type="impl:result"/>
</wsdl:message>
<wsdl:portType name="Engagement">
<wsdl:operation name="create" parameterOrder="input">
<wsdl:input message="impl:createRequest" name="createRequest"/>
<wsdl:output message="impl:createResponse" name="createResponse"/>
</wsdl:operation>
<wsdl:operation name="approveDirTech" parameterOrder="comment
dateApproveDirTech nameDirectorDirTech engagementId">
<wsdl:input message="impl:approveDirTechRequest"
name="approveDirTechRequest"/>
<wsdl:output message="impl:approveDirTechResponse"
name="approveDirTechResponse"/>
</wsdl:operation>
<wsdl:operation name="approveDirCF" parameterOrder="noFournisseurSAP
typeEngagement costCenter generalAccount nameDirectorDirCF noVisa
engagementId">
<wsdl:input message="impl:approveDirCFRequest"
name="approveDirCFRequest"/>
<wsdl:output message="impl:approveDirCFResponse"
name="approveDirCFResponse"/>
</wsdl:operation>
<wsdl:operation name="approveOrganizer" parameterOrder="engagementId">
<wsdl:input message="impl:approveOrganizerRequest"
name="approveOrganizerRequest"/>
<wsdl:output message="impl:approveOrganizerResponse"
name="approveOrganizerResponse"/>
</wsdl:operation>
<wsdl:operation name="approveAndEndWorkFlow"
parameterOrder="engagementId dateSending">
<wsdl:input message="impl:approveAndEndWorkFlowRequest"
name="approveAndEndWorkFlowRequest"/>
<wsdl:output message="impl:approveAndEndWorkFlowResponse"
name="approveAndEndWorkFlowResponse"/>
</wsdl:operation>
<wsdl:operation name="updatePaymentDate" parameterOrder="idGroupe
idLot datePayment montantTotalPayment">
<wsdl:input message="impl:updatePaymentDateRequest"
name="updatePaymentDateRequest"/>
<wsdl:output message="impl:updatePaymentDateResponse"
name="updatePaymentDateResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="EngagementOperationSoapBinding"
type="impl:Engagement">
<wsdlsoap:binding style="rpc" transport="
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="create">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="createRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="createResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveDirTech">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveDirTechRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveDirTechResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveDirCF">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveDirCFRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveDirCFResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveOrganizer">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveOrganizerRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveOrganizerResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveAndEndWorkFlow">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveAndEndWorkFlowRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveAndEndWorkFlowResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="updatePaymentDate">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="updatePaymentDateRequest">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="updatePaymentDateResponse">
<wsdlsoap:body encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="EngagementOperationService">
<wsdl:port binding="impl:EngagementOperationSoapBinding"
name="EngagementOperation">
<wsdlsoap:address location="
http://localhost:8080/dirfinco/services/EngagementOperation"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Restful web service implementation example
Posted by Aditya Anad <Ad...@infosys.com>.
Hi all,
I need to see implementation of a restful web service.Can anyone give a proper pointer.Either it be implemented on axis or in general.
Regards
Aditya
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
RE: wsdl generated not well formed
Posted by "Hoda, Nadeem [USA]" <ho...@bah.com>.
In Axis 1.4, in order to avoid this, you can force usage of the original
wsdl files, just add the following to your wsdd:
<service....>
<wsdlFile>/MyPath/MyOriginalWsdl.wsdl</wsdlFile>
</service>
This will use your wsdl instead of presenting an Axis-generated wsdl.
Thanks,
Nadeem
________________________________
From: MailList Ryan [mailto:maillist.ryan@gmail.com]
Sent: Thursday, March 13, 2008 4:05 PM
To: axis-user@ws.apache.org
Subject: Re: wsdl generated not well formed
I am do not know the problem too. But I think may be you can try from
small piece of WSDL code, for example ,first only bind one port with one
operation, if ok then bind 2 or three, step by step.
Hope this suggest can help
Ryan
2008/3/13, Philippe Vandenhove <ph...@gmail.com>:
HI all,
When my webservice is deployed, i have a problem with my wsdl
file generated by axis when i try to connect it with XMLSpy,SAP system
or ADOBE system . However with a tool like SOAPSonar or a java client
all works fine.
Here is the error i have with XMLSpy,SAP or Adobe when i try to
create a soap request : 'tns1:string' must refer to an existing simple
or complex type
I use WSDL2java to generate the java code. The two wsdl files
are above.
Thank you in advance for your help,
Philippe Vandenhove
Initial wsdl file:
------------------------
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="urn:EngagementOperation"
targetNamespace="urn:EngagementOperation2"
xmlns:tns="urn:EngagementOperation2"
xmlns:typens="urn:EngagementOperation2"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<!-- type defs -->
<types>
<xsd:schema targetNamespace="urn:EngagementOperation2"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<xsd:complexType name="result">
<xsd:all>
<xsd:element name="prefixDirTech"
type="xsd:string" nillable="true" />
<xsd:element name="numDirTech"
type="xsd:integer" nillable="true"/>
<xsd:element name="suffixDirTech"
type="xsd:string" nillable="true" />
<xsd:element name="allocationBase"
type="xsd:string" nillable="true"/>
<xsd:element name="boite" type="xsd:string"
nillable="true" />
<xsd:element name="codePostal" type="xsd:int"
nillable="true"/>
<xsd:element name="commune" type="xsd:string"
nillable="true"/>
<xsd:element name="cptBanque" type="xsd:string"
maxLength="12" nillable="true" />
<xsd:element name="montant" type="xsd:float"/>
<xsd:element name="nameAgent" type="xsd:string"
nillable="true"/>
<xsd:element name="no" type="xsd:string"
nillable="true"/>
<xsd:element name="noEntreprise" type="xsd:int"
nillable="true"/>
<xsd:element name="rue" type="xsd:string"
nillable="true"/>
<xsd:element name="flagIf" type="xsd:boolean"
nillable="true"/>
<xsd:element name="dateIf" type="xsd:string"
nillable="true"/>
<xsd:element name="flagCommittee"
type="xsd:boolean" nillable="true"/>
<xsd:element name="comment" type="xsd:string"
nillable="true"/>
<xsd:element name="nameDirectorDirTech"
type="xsd:string" nillable="true"/>
<xsd:element name="dateApprobDirTech"
type="xsd:string" nillable="true"/>
<xsd:element name="noFournisseurSAP"
type="xsd:string" nillable="true"/>
<xsd:element name="bic" type="xsd:string"
nillable="true"/>
<xsd:element name="typeEngagement"
type="xsd:string" nillable="true"/>
<xsd:element name="costCenter" type="xsd:string"
nillable="true"/>
<xsd:element name="generalAccount"
type="xsd:string" nillable="true"/>
<xsd:element name="nameDirectorDirCF"
type="xsd:string" nillable="true"/>
<xsd:element name="dateApprobDirCF"
type="xsd:string" nillable="true"/>
<xsd:element name="noVisa" type="xsd:integer"
nillable="true"/>
<xsd:element name="noVisaProvisoire"
type="xsd:integer" nillable="true"/>
<xsd:element name="id" type="xsd:integer"
nillable="true"/>
<xsd:element name="dateSendingSAP"
type="xsd:string" nillable="true"/>
<xsd:element name="tranche1Montant"
type="xsd:float" nillable="true"/>
<xsd:element name="tranche2Montant"
type="xsd:float" nillable="true"/>
<xsd:element name="tranche3Montant"
type="xsd:float" nillable="true"/>
<xsd:element name="tranche4Montant"
type="xsd:float" nillable="true"/>
<xsd:element name="tranche5Montant"
type="xsd:float" nillable="true"/>
<xsd:element name="tranche6Montant"
type="xsd:float" nillable="true"/>
<xsd:element name="tranche7Montant"
type="xsd:float" nillable="true"/>
<xsd:element name="tranche1Year"
type="xsd:short" nillable="true"/>
<xsd:element name="tranche2Year"
type="xsd:short" nillable="true"/>
<xsd:element name="tranche3Year"
type="xsd:short" nillable="true"/>
<xsd:element name="tranche4Year"
type="xsd:short" nillable="true"/>
<xsd:element name="tranche5Year"
type="xsd:short" nillable="true"/>
<xsd:element name="tranche6Year"
type="xsd:short" nillable="true"/>
<xsd:element name="tranche7Year"
type="xsd:short" nillable="true"/>
<xsd:element name="webServiceStatus"
type="xsd:string" nillable="true"/>
</xsd:all>
</xsd:complexType>
</xsd:schema>
</types>
<!-- Creation Operation -->
<message name="create">
<part name="input" type="typens:result"/>
</message>
<message name="createResponse">
<part name="output" type="typens:result"/>
</message>
<!-- Approve Technical Director Operation -->
<message name="approveDirTech">
<part name="comment" type="xsd:string"/>
<part name="dateApproveDirTech" type="xsd:string"/>
<part name="nameDirectorDirTech" type="xsd:string"/>
<part name="engagementId" type="xsd:long"/>
</message>
<message name="approveDirTechResponse">
<part name="output1" type="typens:result"/>
</message>
<!-- Approve Financial Coordination Operation -->
<message name="approveDirCF">
<part name="noFournisseurSAP" type="xsd:string"/>
<part name="typeEngagement" type="xsd:string"/>
<part name="costCenter" type="xsd:string"/>
<part name="generalAccount" type="xsd:string"/>
<part name="nameDirectorDirCF" type="xsd:string"/>
<part name="noVisa" type="xsd:int"/>
<part name="engagementId" type="xsd:long"/>
</message>
<message name="approveDirCFResponse">
<part name="output2" type="typens:result"/>
</message>
<!-- Approve organizer -->
<message name="approveOrganizer">
<part name="engagementId" type="xsd:long"/>
</message>
<message name="approveOrganizerResponse">
<part name="output3" type="typens:result"/>
</message>
<!-- Approve organizer -->
<message name="approveAndEndWorkFlow">
<part name="engagementId" type="xsd:long"/>
<part name="dateSending" type="xsd:string"/>
</message>
<message name="approveAndEndWorkFlowResponse">
<part name="output4" type="typens:result"/>
</message>
<!-- Update payment date -->
<message name="updatePaymentDate">
<part name="idGroupe" type="xsd:int"/>
<part name="idLot" type="xsd:int"/>
<part name="datePayment" type="xsd:string"/>
<part name="montantTotalPayment" type="xsd:int"/>
</message>
<message name="updatePaymentDateResponse">
<part name="output5" type="typens:result"/>
</message>
<portType name="Engagement">
<operation name="create" >
<input message="tns:create"/>
<output message="tns:createResponse"/>
</operation>
<operation name="approveDirTech" >
<input message="tns:approveDirTech"/>
<output message="tns:approveDirTechResponse"/>
</operation>
<operation name="approveDirCF" >
<input message="tns:approveDirCF"/>
<output message="tns:approveDirCFResponse"/>
</operation>
<operation name="approveOrganizer" >
<input message="tns:approveOrganizer"/>
<output message="tns:approveOrganizerResponse"/>
</operation>
<operation name="approveAndEndWorkFlow" >
<input message="tns:approveAndEndWorkFlow"/>
<output
message="tns:approveAndEndWorkFlowResponse"/>
</operation>
<operation name="updatePaymentDate" >
<input message="tns:updatePaymentDate"/>
<output message="tns:updatePaymentDateResponse"/>
</operation>
</portType>
<binding name="EngagementBinding" type="tns:Engagement">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="create">
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveDirTech">
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveDirCF">
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveOrganizer">
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="approveAndEndWorkFlow">
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
<operation name="updatePaymentDate">
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2"/>
</output>
<soap:operation/>
</operation>
</binding>
<service name="EngagementOperationService">
<port name="EngagementOperation"
binding="tns:EngagementBinding">
<soap:address
location="http://localhost:8080/dirfinco/services/EngagementOperation"/>
</port>
</service>
</definitions>
wsdl generated :
--------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:EngagementOperation2"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="urn:EngagementOperation2"
xmlns:intf="urn:EngagementOperation2"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://www.w3.org/1999/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema targetNamespace="urn:EngagementOperation2"
xmlns="http://www.w3.org/2001/XMLSchema">
<import
namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="result">
<sequence>
<element name="prefixDirTech" nillable="true"
type="tns1:string"/>
<element name="numDirTech" nillable="true"
type="tns1:integer"/>
<element name="suffixDirTech" nillable="true"
type="tns1:string"/>
<element name="allocationBase" nillable="true"
type="tns1:string"/>
<element name="boite" nillable="true" type="tns1:string"/>
<element name="codePostal" nillable="true"
type="tns1:int"/>
<element name="commune" nillable="true"
type="tns1:string"/>
<element name="cptBanque" nillable="true"
type="tns1:string"/>
<element name="montant" type="tns1:float"/>
<element name="nameAgent" nillable="true"
type="tns1:string"/>
<element name="no" nillable="true" type="tns1:string"/>
<element name="noEntreprise" nillable="true"
type="tns1:int"/>
<element name="rue" nillable="true" type="tns1:string"/>
<element name="flagIf" nillable="true"
type="tns1:boolean"/>
<element name="dateIf" nillable="true" type="tns1:string"/>
<element name="flagCommittee" nillable="true"
type="tns1:boolean"/>
<element name="comment" nillable="true"
type="tns1:string"/>
<element name="nameDirectorDirTech" nillable="true"
type="tns1:string"/>
<element name="dateApprobDirTech" nillable="true"
type="tns1:string"/>
<element name="noFournisseurSAP" nillable="true"
type="tns1:string"/>
<element name="bic" nillable="true" type="tns1:string"/>
<element name="typeEngagement" nillable="true"
type="tns1:string"/>
<element name="costCenter" nillable="true"
type="tns1:string"/>
<element name="generalAccount" nillable="true"
type="tns1:string"/>
<element name="nameDirectorDirCF" nillable="true"
type="tns1:string"/>
<element name="dateApprobDirCF" nillable="true"
type="tns1:string"/>
<element name="noVisa" nillable="true"
type="tns1:integer"/>
<element name="noVisaProvisoire" nillable="true"
type="tns1:integer"/>
<element name="id" nillable="true" type="tns1:integer"/>
<element name="dateSendingSAP" nillable="true"
type="tns1:string"/>
<element name="tranche1Montant" nillable="true"
type="tns1:float"/>
<element name="tranche2Montant" nillable="true"
type="tns1:float"/>
<element name="tranche3Montant" nillable="true"
type="tns1:float"/>
<element name="tranche4Montant" nillable="true"
type="tns1:float"/>
<element name="tranche5Montant" nillable="true"
type="tns1:float"/>
<element name="tranche6Montant" nillable="true"
type="tns1:float"/>
<element name="tranche7Montant" nillable="true"
type="tns1:float"/>
<element name="tranche1Year" nillable="true"
type="tns1:short"/>
<element name="tranche2Year" nillable="true"
type="tns1:short"/>
<element name="tranche3Year" nillable="true"
type="tns1:short"/>
<element name="tranche4Year" nillable="true"
type="tns1:short"/>
<element name="tranche5Year" nillable="true"
type="tns1:short"/>
<element name="tranche6Year" nillable="true"
type="tns1:short"/>
<element name="tranche7Year" nillable="true"
type="tns1:short"/>
<element name="webServiceStatus" nillable="true"
type="tns1:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="approveDirTechRequest">
<wsdl:part name="comment" type="tns1:string"/>
<wsdl:part name="dateApproveDirTech" type="tns1:string"/>
<wsdl:part name="nameDirectorDirTech" type="tns1:string"/>
<wsdl:part name="engagementId" type="tns1:long"/>
</wsdl:message>
<wsdl:message name="updatePaymentDateResponse">
<wsdl:part name="output5" type="impl:result"/>
</wsdl:message>
<wsdl:message name="updatePaymentDateRequest">
<wsdl:part name="idGroupe" type="tns1:int"/>
<wsdl:part name="idLot" type="tns1:int"/>
<wsdl:part name="datePayment" type="tns1:string"/>
<wsdl:part name="montantTotalPayment" type="tns1:int"/>
</wsdl:message>
<wsdl:message name="approveDirCFResponse">
<wsdl:part name="output2" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveAndEndWorkFlowRequest">
<wsdl:part name="engagementId" type="tns1:long"/>
<wsdl:part name="dateSending" type="tns1:string"/>
</wsdl:message>
<wsdl:message name="approveDirTechResponse">
<wsdl:part name="output1" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveDirCFRequest">
<wsdl:part name="noFournisseurSAP" type="tns1:string"/>
<wsdl:part name="typeEngagement" type="tns1:string"/>
<wsdl:part name="costCenter" type="tns1:string"/>
<wsdl:part name="generalAccount" type="tns1:string"/>
<wsdl:part name="nameDirectorDirCF" type="tns1:string"/>
<wsdl:part name="noVisa" type="tns1:int"/>
<wsdl:part name="engagementId" type="tns1:long"/>
</wsdl:message>
<wsdl:message name="createResponse">
<wsdl:part name="output" type="impl:result"/>
</wsdl:message>
<wsdl:message name="createRequest">
<wsdl:part name="input" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveAndEndWorkFlowResponse">
<wsdl:part name="output4" type="impl:result"/>
</wsdl:message>
<wsdl:message name="approveOrganizerRequest">
<wsdl:part name="engagementId" type="tns1:long"/>
</wsdl:message>
<wsdl:message name="approveOrganizerResponse">
<wsdl:part name="output3" type="impl:result"/>
</wsdl:message>
<wsdl:portType name="Engagement">
<wsdl:operation name="create" parameterOrder="input">
<wsdl:input message="impl:createRequest"
name="createRequest"/>
<wsdl:output message="impl:createResponse"
name="createResponse"/>
</wsdl:operation>
<wsdl:operation name="approveDirTech"
parameterOrder="comment dateApproveDirTech nameDirectorDirTech
engagementId">
<wsdl:input message="impl:approveDirTechRequest"
name="approveDirTechRequest"/>
<wsdl:output message="impl:approveDirTechResponse"
name="approveDirTechResponse"/>
</wsdl:operation>
<wsdl:operation name="approveDirCF"
parameterOrder="noFournisseurSAP typeEngagement costCenter
generalAccount nameDirectorDirCF noVisa engagementId">
<wsdl:input message="impl:approveDirCFRequest"
name="approveDirCFRequest"/>
<wsdl:output message="impl:approveDirCFResponse"
name="approveDirCFResponse"/>
</wsdl:operation>
<wsdl:operation name="approveOrganizer"
parameterOrder="engagementId">
<wsdl:input message="impl:approveOrganizerRequest"
name="approveOrganizerRequest"/>
<wsdl:output message="impl:approveOrganizerResponse"
name="approveOrganizerResponse"/>
</wsdl:operation>
<wsdl:operation name="approveAndEndWorkFlow"
parameterOrder="engagementId dateSending">
<wsdl:input message="impl:approveAndEndWorkFlowRequest"
name="approveAndEndWorkFlowRequest"/>
<wsdl:output
message="impl:approveAndEndWorkFlowResponse"
name="approveAndEndWorkFlowResponse"/>
</wsdl:operation>
<wsdl:operation name="updatePaymentDate"
parameterOrder="idGroupe idLot datePayment montantTotalPayment">
<wsdl:input message="impl:updatePaymentDateRequest"
name="updatePaymentDateRequest"/>
<wsdl:output message="impl:updatePaymentDateResponse"
name="updatePaymentDateResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="EngagementOperationSoapBinding"
type="impl:Engagement">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="create">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="createRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="createResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveDirTech">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveDirTechRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveDirTechResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveDirCF">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveDirCFRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveDirCFResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveOrganizer">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveOrganizerRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveOrganizerResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="approveAndEndWorkFlow">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="approveAndEndWorkFlowRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="approveAndEndWorkFlowResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="updatePaymentDate">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="updatePaymentDateRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:input>
<wsdl:output name="updatePaymentDateResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:EngagementOperation2" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="EngagementOperationService">
<wsdl:port binding="impl:EngagementOperationSoapBinding"
name="EngagementOperation">
<wsdlsoap:address
location="http://localhost:8080/dirfinco/services/EngagementOperation"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Re: wsdl generated not well formed
Posted by MailList Ryan <ma...@gmail.com>.
I am do not know the problem too. But I think may be you can try from small
piece of WSDL code, for example ,first only bind one port with one
operation, if ok then bind 2 or three, step by step.
Hope this suggest can help
Ryan
2008/3/13, Philippe Vandenhove <ph...@gmail.com>:
>
> HI all,
>
> When my webservice is deployed, i have a problem with my wsdl file
> generated by axis when i try to connect it with XMLSpy,SAP system or ADOBE
> system . However with a tool like SOAPSonar or a java client all works fine.
> Here is the error i have with XMLSpy,SAP or Adobe when i try to create a
> soap request : 'tns1:string' must refer to an existing simple or complex
> type
>
>
> I use WSDL2java to generate the java code. The two wsdl files are above.
>
>
> Thank you in advance for your help,
> Philippe Vandenhove
>
>
>
> Initial wsdl file:
> ------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <definitions name="urn:EngagementOperation"
> targetNamespace="urn:EngagementOperation2"
> xmlns:tns="urn:EngagementOperation2"
> xmlns:typens="urn:EngagementOperation2"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns="http://schemas.xmlsoap.org/wsdl/">
> <!-- type defs -->
> <types>
> <xsd:schema targetNamespace="urn:EngagementOperation2"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <xsd:complexType name="result">
> <xsd:all>
> <xsd:element name="prefixDirTech" type="xsd:string"
> nillable="true" />
> <xsd:element name="numDirTech" type="xsd:integer"
> nillable="true"/>
> <xsd:element name="suffixDirTech" type="xsd:string"
> nillable="true" />
> <xsd:element name="allocationBase" type="xsd:string"
> nillable="true"/>
> <xsd:element name="boite" type="xsd:string"
> nillable="true" />
> <xsd:element name="codePostal" type="xsd:int"
> nillable="true"/>
> <xsd:element name="commune" type="xsd:string"
> nillable="true"/>
> <xsd:element name="cptBanque" type="xsd:string"
> maxLength="12" nillable="true" />
> <xsd:element name="montant" type="xsd:float"/>
> <xsd:element name="nameAgent" type="xsd:string"
> nillable="true"/>
> <xsd:element name="no" type="xsd:string" nillable="true"/>
> <xsd:element name="noEntreprise" type="xsd:int"
> nillable="true"/>
> <xsd:element name="rue" type="xsd:string"
> nillable="true"/>
> <xsd:element name="flagIf" type="xsd:boolean"
> nillable="true"/>
> <xsd:element name="dateIf" type="xsd:string"
> nillable="true"/>
> <xsd:element name="flagCommittee" type="xsd:boolean"
> nillable="true"/>
> <xsd:element name="comment" type="xsd:string"
> nillable="true"/>
> <xsd:element name="nameDirectorDirTech" type="xsd:string"
> nillable="true"/>
> <xsd:element name="dateApprobDirTech" type="xsd:string"
> nillable="true"/>
> <xsd:element name="noFournisseurSAP" type="xsd:string"
> nillable="true"/>
> <xsd:element name="bic" type="xsd:string"
> nillable="true"/>
> <xsd:element name="typeEngagement" type="xsd:string"
> nillable="true"/>
> <xsd:element name="costCenter" type="xsd:string"
> nillable="true"/>
> <xsd:element name="generalAccount" type="xsd:string"
> nillable="true"/>
> <xsd:element name="nameDirectorDirCF" type="xsd:string"
> nillable="true"/>
> <xsd:element name="dateApprobDirCF" type="xsd:string"
> nillable="true"/>
> <xsd:element name="noVisa" type="xsd:integer"
> nillable="true"/>
> <xsd:element name="noVisaProvisoire" type="xsd:integer"
> nillable="true"/>
> <xsd:element name="id" type="xsd:integer"
> nillable="true"/>
> <xsd:element name="dateSendingSAP" type="xsd:string"
> nillable="true"/>
> <xsd:element name="tranche1Montant" type="xsd:float"
> nillable="true"/>
> <xsd:element name="tranche2Montant" type="xsd:float"
> nillable="true"/>
> <xsd:element name="tranche3Montant" type="xsd:float"
> nillable="true"/>
> <xsd:element name="tranche4Montant" type="xsd:float"
> nillable="true"/>
> <xsd:element name="tranche5Montant" type="xsd:float"
> nillable="true"/>
> <xsd:element name="tranche6Montant" type="xsd:float"
> nillable="true"/>
> <xsd:element name="tranche7Montant" type="xsd:float"
> nillable="true"/>
> <xsd:element name="tranche1Year" type="xsd:short"
> nillable="true"/>
> <xsd:element name="tranche2Year" type="xsd:short"
> nillable="true"/>
> <xsd:element name="tranche3Year" type="xsd:short"
> nillable="true"/>
> <xsd:element name="tranche4Year" type="xsd:short"
> nillable="true"/>
> <xsd:element name="tranche5Year" type="xsd:short"
> nillable="true"/>
> <xsd:element name="tranche6Year" type="xsd:short"
> nillable="true"/>
> <xsd:element name="tranche7Year" type="xsd:short"
> nillable="true"/>
> <xsd:element name="webServiceStatus" type="xsd:string"
> nillable="true"/>
> </xsd:all>
> </xsd:complexType>
> </xsd:schema>
> </types>
>
> <!-- Creation Operation -->
> <message name="create">
> <part name="input" type="typens:result"/>
> </message>
>
> <message name="createResponse">
> <part name="output" type="typens:result"/>
> </message>
>
> <!-- Approve Technical Director Operation -->
> <message name="approveDirTech">
> <part name="comment" type="xsd:string"/>
> <part name="dateApproveDirTech" type="xsd:string"/>
> <part name="nameDirectorDirTech" type="xsd:string"/>
> <part name="engagementId" type="xsd:long"/>
> </message>
> <message name="approveDirTechResponse">
> <part name="output1" type="typens:result"/>
> </message>
>
> <!-- Approve Financial Coordination Operation -->
> <message name="approveDirCF">
> <part name="noFournisseurSAP" type="xsd:string"/>
> <part name="typeEngagement" type="xsd:string"/>
> <part name="costCenter" type="xsd:string"/>
> <part name="generalAccount" type="xsd:string"/>
> <part name="nameDirectorDirCF" type="xsd:string"/>
> <part name="noVisa" type="xsd:int"/>
> <part name="engagementId" type="xsd:long"/>
> </message>
> <message name="approveDirCFResponse">
> <part name="output2" type="typens:result"/>
> </message>
>
> <!-- Approve organizer -->
> <message name="approveOrganizer">
> <part name="engagementId" type="xsd:long"/>
> </message>
> <message name="approveOrganizerResponse">
> <part name="output3" type="typens:result"/>
> </message>
>
> <!-- Approve organizer -->
> <message name="approveAndEndWorkFlow">
> <part name="engagementId" type="xsd:long"/>
> <part name="dateSending" type="xsd:string"/>
> </message>
> <message name="approveAndEndWorkFlowResponse">
> <part name="output4" type="typens:result"/>
> </message>
>
> <!-- Update payment date -->
> <message name="updatePaymentDate">
> <part name="idGroupe" type="xsd:int"/>
> <part name="idLot" type="xsd:int"/>
> <part name="datePayment" type="xsd:string"/>
> <part name="montantTotalPayment" type="xsd:int"/>
> </message>
> <message name="updatePaymentDateResponse">
> <part name="output5" type="typens:result"/>
> </message>
>
> <portType name="Engagement">
> <operation name="create" >
> <input message="tns:create"/>
> <output message="tns:createResponse"/>
> </operation>
> <operation name="approveDirTech" >
> <input message="tns:approveDirTech"/>
> <output message="tns:approveDirTechResponse"/>
> </operation>
> <operation name="approveDirCF" >
> <input message="tns:approveDirCF"/>
> <output message="tns:approveDirCFResponse"/>
> </operation>
> <operation name="approveOrganizer" >
> <input message="tns:approveOrganizer"/>
> <output message="tns:approveOrganizerResponse"/>
> </operation>
> <operation name="approveAndEndWorkFlow" >
> <input message="tns:approveAndEndWorkFlow"/>
> <output message="tns:approveAndEndWorkFlowResponse"/>
> </operation>
> <operation name="updatePaymentDate" >
> <input message="tns:updatePaymentDate"/>
> <output message="tns:updatePaymentDateResponse"/>
> </operation>
> </portType>
>
> <binding name="EngagementBinding" type="tns:Engagement">
> <soap:binding style="rpc" transport="
> http://schemas.xmlsoap.org/soap/http"/>
> <operation name="create">
> <input>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </input>
> <output>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </output>
> <soap:operation/>
> </operation>
> <operation name="approveDirTech">
> <input>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </input>
> <output>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </output>
> <soap:operation/>
> </operation>
> <operation name="approveDirCF">
> <input>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </input>
> <output>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </output>
> <soap:operation/>
> </operation>
> <operation name="approveOrganizer">
> <input>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </input>
> <output>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </output>
> <soap:operation/>
> </operation>
> <operation name="approveAndEndWorkFlow">
> <input>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </input>
> <output>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </output>
> <soap:operation/>
> </operation>
> <operation name="updatePaymentDate">
> <input>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </input>
> <output>
> <soap:body use="encoded" encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2"/>
> </output>
> <soap:operation/>
> </operation>
> </binding>
>
> <service name="EngagementOperationService">
> <port name="EngagementOperation" binding="tns:EngagementBinding">
> <soap:address location="
> http://localhost:8080/dirfinco/services/EngagementOperation"/>
> </port>
> </service>
> </definitions>
>
>
>
>
>
>
>
> wsdl generated :
> --------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="urn:EngagementOperation2"
> xmlns:apachesoap="http://xml.apache.org/xml-soap"
> xmlns:impl="urn:EngagementOperation2" xmlns:intf="urn:EngagementOperation2"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="
> http://www.w3.org/1999/XMLSchema" xmlns:wsdl="
> http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="
> http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="
> http://www.w3.org/2001/XMLSchema">
> <!--WSDL created by Apache Axis version: 1.4
> Built on Apr 22, 2006 (06:55:48 PDT)-->
> <wsdl:types>
> <schema targetNamespace="urn:EngagementOperation2" xmlns="
> http://www.w3.org/2001/XMLSchema">
> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
> <complexType name="result">
> <sequence>
> <element name="prefixDirTech" nillable="true" type="tns1:string"/>
> <element name="numDirTech" nillable="true" type="tns1:integer"/>
> <element name="suffixDirTech" nillable="true" type="tns1:string"/>
> <element name="allocationBase" nillable="true" type="tns1:string"/>
> <element name="boite" nillable="true" type="tns1:string"/>
> <element name="codePostal" nillable="true" type="tns1:int"/>
> <element name="commune" nillable="true" type="tns1:string"/>
> <element name="cptBanque" nillable="true" type="tns1:string"/>
> <element name="montant" type="tns1:float"/>
> <element name="nameAgent" nillable="true" type="tns1:string"/>
> <element name="no" nillable="true" type="tns1:string"/>
> <element name="noEntreprise" nillable="true" type="tns1:int"/>
> <element name="rue" nillable="true" type="tns1:string"/>
> <element name="flagIf" nillable="true" type="tns1:boolean"/>
> <element name="dateIf" nillable="true" type="tns1:string"/>
> <element name="flagCommittee" nillable="true" type="tns1:boolean"/>
> <element name="comment" nillable="true" type="tns1:string"/>
> <element name="nameDirectorDirTech" nillable="true"
> type="tns1:string"/>
> <element name="dateApprobDirTech" nillable="true"
> type="tns1:string"/>
> <element name="noFournisseurSAP" nillable="true" type="tns1:string"/>
> <element name="bic" nillable="true" type="tns1:string"/>
> <element name="typeEngagement" nillable="true" type="tns1:string"/>
> <element name="costCenter" nillable="true" type="tns1:string"/>
> <element name="generalAccount" nillable="true" type="tns1:string"/>
> <element name="nameDirectorDirCF" nillable="true"
> type="tns1:string"/>
> <element name="dateApprobDirCF" nillable="true" type="tns1:string"/>
> <element name="noVisa" nillable="true" type="tns1:integer"/>
> <element name="noVisaProvisoire" nillable="true"
> type="tns1:integer"/>
> <element name="id" nillable="true" type="tns1:integer"/>
> <element name="dateSendingSAP" nillable="true" type="tns1:string"/>
> <element name="tranche1Montant" nillable="true" type="tns1:float"/>
> <element name="tranche2Montant" nillable="true" type="tns1:float"/>
> <element name="tranche3Montant" nillable="true" type="tns1:float"/>
> <element name="tranche4Montant" nillable="true" type="tns1:float"/>
> <element name="tranche5Montant" nillable="true" type="tns1:float"/>
> <element name="tranche6Montant" nillable="true" type="tns1:float"/>
> <element name="tranche7Montant" nillable="true" type="tns1:float"/>
> <element name="tranche1Year" nillable="true" type="tns1:short"/>
> <element name="tranche2Year" nillable="true" type="tns1:short"/>
> <element name="tranche3Year" nillable="true" type="tns1:short"/>
> <element name="tranche4Year" nillable="true" type="tns1:short"/>
> <element name="tranche5Year" nillable="true" type="tns1:short"/>
> <element name="tranche6Year" nillable="true" type="tns1:short"/>
> <element name="tranche7Year" nillable="true" type="tns1:short"/>
> <element name="webServiceStatus" nillable="true" type="tns1:string"/>
> </sequence>
> </complexType>
> </schema>
> </wsdl:types>
>
> <wsdl:message name="approveDirTechRequest">
>
> <wsdl:part name="comment" type="tns1:string"/>
>
> <wsdl:part name="dateApproveDirTech" type="tns1:string"/>
>
> <wsdl:part name="nameDirectorDirTech" type="tns1:string"/>
>
> <wsdl:part name="engagementId" type="tns1:long"/>
>
> </wsdl:message>
>
> <wsdl:message name="updatePaymentDateResponse">
>
> <wsdl:part name="output5" type="impl:result"/>
>
> </wsdl:message>
>
> <wsdl:message name="updatePaymentDateRequest">
>
> <wsdl:part name="idGroupe" type="tns1:int"/>
>
> <wsdl:part name="idLot" type="tns1:int"/>
>
> <wsdl:part name="datePayment" type="tns1:string"/>
>
> <wsdl:part name="montantTotalPayment" type="tns1:int"/>
>
> </wsdl:message>
>
> <wsdl:message name="approveDirCFResponse">
>
> <wsdl:part name="output2" type="impl:result"/>
>
> </wsdl:message>
>
> <wsdl:message name="approveAndEndWorkFlowRequest">
>
> <wsdl:part name="engagementId" type="tns1:long"/>
>
> <wsdl:part name="dateSending" type="tns1:string"/>
>
> </wsdl:message>
>
> <wsdl:message name="approveDirTechResponse">
>
> <wsdl:part name="output1" type="impl:result"/>
>
> </wsdl:message>
>
> <wsdl:message name="approveDirCFRequest">
>
> <wsdl:part name="noFournisseurSAP" type="tns1:string"/>
>
> <wsdl:part name="typeEngagement" type="tns1:string"/>
>
> <wsdl:part name="costCenter" type="tns1:string"/>
>
> <wsdl:part name="generalAccount" type="tns1:string"/>
>
> <wsdl:part name="nameDirectorDirCF" type="tns1:string"/>
>
> <wsdl:part name="noVisa" type="tns1:int"/>
>
> <wsdl:part name="engagementId" type="tns1:long"/>
>
> </wsdl:message>
>
> <wsdl:message name="createResponse">
>
> <wsdl:part name="output" type="impl:result"/>
>
> </wsdl:message>
>
> <wsdl:message name="createRequest">
>
> <wsdl:part name="input" type="impl:result"/>
>
> </wsdl:message>
>
> <wsdl:message name="approveAndEndWorkFlowResponse">
>
> <wsdl:part name="output4" type="impl:result"/>
>
> </wsdl:message>
>
> <wsdl:message name="approveOrganizerRequest">
>
> <wsdl:part name="engagementId" type="tns1:long"/>
>
> </wsdl:message>
>
> <wsdl:message name="approveOrganizerResponse">
>
> <wsdl:part name="output3" type="impl:result"/>
>
> </wsdl:message>
>
> <wsdl:portType name="Engagement">
>
> <wsdl:operation name="create" parameterOrder="input">
>
> <wsdl:input message="impl:createRequest" name="createRequest"/>
>
> <wsdl:output message="impl:createResponse"
> name="createResponse"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveDirTech" parameterOrder="comment
> dateApproveDirTech nameDirectorDirTech engagementId">
>
> <wsdl:input message="impl:approveDirTechRequest"
> name="approveDirTechRequest"/>
>
> <wsdl:output message="impl:approveDirTechResponse"
> name="approveDirTechResponse"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveDirCF" parameterOrder="noFournisseurSAP
> typeEngagement costCenter generalAccount nameDirectorDirCF noVisa
> engagementId">
>
> <wsdl:input message="impl:approveDirCFRequest"
> name="approveDirCFRequest"/>
>
> <wsdl:output message="impl:approveDirCFResponse"
> name="approveDirCFResponse"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveOrganizer"
> parameterOrder="engagementId">
>
> <wsdl:input message="impl:approveOrganizerRequest"
> name="approveOrganizerRequest"/>
>
> <wsdl:output message="impl:approveOrganizerResponse"
> name="approveOrganizerResponse"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveAndEndWorkFlow"
> parameterOrder="engagementId dateSending">
>
> <wsdl:input message="impl:approveAndEndWorkFlowRequest"
> name="approveAndEndWorkFlowRequest"/>
>
> <wsdl:output message="impl:approveAndEndWorkFlowResponse"
> name="approveAndEndWorkFlowResponse"/>
>
> </wsdl:operation>
>
> <wsdl:operation name="updatePaymentDate" parameterOrder="idGroupe
> idLot datePayment montantTotalPayment">
>
> <wsdl:input message="impl:updatePaymentDateRequest"
> name="updatePaymentDateRequest"/>
>
> <wsdl:output message="impl:updatePaymentDateResponse"
> name="updatePaymentDateResponse"/>
>
> </wsdl:operation>
>
> </wsdl:portType>
>
> <wsdl:binding name="EngagementOperationSoapBinding"
> type="impl:Engagement">
>
> <wsdlsoap:binding style="rpc" transport="
> http://schemas.xmlsoap.org/soap/http"/>
>
> <wsdl:operation name="create">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="createRequest">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:input>
>
> <wsdl:output name="createResponse">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveDirTech">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="approveDirTechRequest">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:input>
>
> <wsdl:output name="approveDirTechResponse">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveDirCF">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="approveDirCFRequest">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:input>
>
> <wsdl:output name="approveDirCFResponse">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveOrganizer">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="approveOrganizerRequest">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:input>
>
> <wsdl:output name="approveOrganizerResponse">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> <wsdl:operation name="approveAndEndWorkFlow">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="approveAndEndWorkFlowRequest">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:input>
>
> <wsdl:output name="approveAndEndWorkFlowResponse">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> <wsdl:operation name="updatePaymentDate">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="updatePaymentDateRequest">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:input>
>
> <wsdl:output name="updatePaymentDateResponse">
>
> <wsdlsoap:body encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> namespace="urn:EngagementOperation2" use="encoded"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> </wsdl:binding>
>
> <wsdl:service name="EngagementOperationService">
>
> <wsdl:port binding="impl:EngagementOperationSoapBinding"
> name="EngagementOperation">
>
> <wsdlsoap:address location="
> http://localhost:8080/dirfinco/services/EngagementOperation"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
> </wsdl:definitions>
>
>