Hi,

Can anyone please help me with this error. The application used to work fine, and now it doesn't, I've not changed anything that I know of. Now this error comes up when you do anything at all even getting the wsdl. I have tried regenerating all the source, reimplemented the impl, tried axis 1.2 and 1.2.1 but now get the same. I have searched on the internet for any information but couldn't find any that helped. Attached is the wsdl and deploy.wsdd

The ant task I use to generate the java files is:

    <target name="wsdl2java-service" description="Runs wsdl2java to generate the service artifacts, such as deploy.wsdd">
        <echo message="Running wsdl2java for service with input ${service.wsdl.path}...." />
        <java classname="org.apache.axis.wsdl.WSDL2Java" fork="yes">
            <arg value="--NStoPkg"/>
            <arg value="${data.types.namespace}=${ws.data.package}" />
            <arg value="--NStoPkg"/>
            <arg value="${wsdl.types.namespace}=${ws.service.package}" />
            <arg value="--NStoPkg"/>
            <arg value="${wsdl.target.namespace}=${ws.service.package}" />
            <arg value="--NStoPkg" />
            <arg value="${wsdl.types.namespace}=${ws.common.package}" />
            <arg value="--NStoPkg"/>
            <arg value="${exception.types.namespace}=${ws.exception.package}" />
            <arg value="--all" />
            <arg value="--noWrapped" />
            <arg value="--server-side" />
            <arg value="--output" />
            <arg value="${service.src.dir}" />
            <arg value="--verbose" />
            <arg value="${service.wsdl.path}" />
            <classpath>
                <path refid="axis.classpath" />
            </classpath>
        </java>
        <copy file="deploy.wsdd" tofile="deploy.wsdd.old" overwrite="true" failonerror="false" />
        <copy file="undeploy.wsdd" tofile="undeploy.wsdd.old" overwrite="true" failonerror="false" />
        <move file="${service.src.dir}/${ws.service.package.as.path}/deploy.wsdd" tofile="deploy.wsdd" overwrite="true" />
        <move file="${service.src.dir}/${ws.service.package.as.path}/undeploy.wsdd" tofile="undeploy.wsdd" overwrite="true" />
    </target>

The server error I get is this:

22-08-2005 15:41:10.607 [org.apache.axis.InternalException] FATAL: Exception:
java.lang.Exception: The OperationDesc for getClaimTransactions was not synchronized to a method of com.xchanging.claim.integration.webservices.service.CmsWebServiceBindingImpl.
        at org.apache.axis.InternalException.<init>(InternalException.java:71)
        at org.apache.axis.description.JavaServiceDesc.syncOperationToClass(JavaServiceDesc.java:764)
        at org.apache.axis.description.JavaServiceDesc.getSyncedOperationsForName(JavaServiceDesc.java:1073)
        at org.apache.axis.description.JavaServiceDesc.loadServiceDescByIntrospectionRecursive(JavaServiceDesc.java:938)
        at org.apache.axis.description.JavaServiceDesc.loadServiceDescByIntrospection(JavaServiceDesc.java:872)
        at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:473)
        at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:285)

Thanks,

Patrick.

Attachment: deploy.wsdd
Description: Binary data

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://www.xchanging.com/wsdl/cms"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:impl="http://www.xchanging.com/wsdl/cms";
	xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:intf="http://www.xchanging.com/wsdl/cms"; xmlns:tns="http://www.xchanging.com/types/cms";
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";>

	<wsdl:types>

		<!-- data namespace decleration -->
	  	<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
	  		        xmlns:data="http://www.xchanging.com/types/data";
			        targetNamespace="http://www.xchanging.com/types/data";
			        elementFormDefault="qualified">

			<xsd:complexType name="requestParameters">
				<xsd:sequence>
					<xsd:element name="ucr" type="xsd:string" nillable="true" />
					<xsd:element name="bureauId" type="xsd:string" nillable="true" />
					<xsd:element name="riskCarriers" type="xsd:string" minOccurs="1" maxOccurs="unbounded" nillable="true" />
					<xsd:element name="lastChanged" type="xsd:long" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="claimDetails">
				<xsd:sequence>
					<xsd:element name="dltdSeqNoArray" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="10"/>
					<xsd:element name="coreData" type="data:coreData" nillable="true" />
					<xsd:element name="policy" type="data:policy" nillable="true" />MainframeWarnings
					<xsd:element name="transaction" type="data:transaction" minOccurs="1" maxOccurs="8" nillable="true" />
					<xsd:element name="mainframeWarnings" type="data:MainframeWarnings" nillable="true" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="coreData">
				<xsd:sequence>
					<xsd:element name="ClaimDetailsValidInd" type="xsd:string" nillable="true" />
					<xsd:element name="riskCodeL" type="xsd:string" nillable="true" />
					<xsd:element name="luncoCatCodeL" type="xsd:string" nillable="true" />
					<xsd:element name="dateOfLossFrom" type="xsd:long" />
					<xsd:element name="lossDetails" type="xsd:string" nillable="true" />
					<xsd:element name="lossLocation" type="xsd:string" nillable="true" />
					<xsd:element name="currentBrokerCode" type="xsd:string" nillable="true" />
					<xsd:element name="brokerName" type="xsd:string" nillable="true" />
					<xsd:element name="adjusterC" type="xsd:string" nillable="true" />
					<xsd:element name="adjustersArrayL" type="xsd:string" minOccurs="0" maxOccurs="5" nillable="true" />
					<xsd:element name="insuredName" type="xsd:string" nillable="true" />
					<xsd:element name="reinsuredName" type="xsd:string" nillable="true" />
					<xsd:element name="coverHolderL" type="xsd:string" nillable="true" />
					<xsd:element name="originalInsured" type="xsd:string" nillable="true" />
					<xsd:element name="vesselOrAircraft" type="xsd:string" nillable="true" />
					<xsd:element name="claimStatus" type="xsd:string" nillable="true" />
					</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="policy">
				<xsd:sequence>
					<xsd:element name="policyValidInd" type="xsd:string" nillable="true" />
					<xsd:element name="osndNoL" type="xsd:string" nillable="true" />
					<xsd:element name="osndDateL" type="xsd:long" />
					<xsd:element name="origRefC" type="xsd:string" nillable="true" />
					<xsd:element name="pdFromDate" type="xsd:long" />
					<xsd:element name="pdEndDate" type="xsd:long" />
					<xsd:element name="umr" type="xsd:string" nillable="true" />
					<xsd:element name="brokerRef1" type="xsd:string" nillable="true" />
					<xsd:element name="SlipOrder1" type="xsd:double" />
					<xsd:element name="excessOrigCurrency1" type="xsd:string" nillable="true" />
					<xsd:element name="excessAmount1" type="xsd:double" />
					<xsd:element name="excessOrigCurrency2" type="xsd:string" nillable="true" />
					<xsd:element name="excessAmount2" type="xsd:double" />
					<xsd:element name="excessOrigCurrency3" type="xsd:string" nillable="true" />
					<xsd:element name="excessAmount3" type="xsd:double" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="transaction">
				<xsd:sequence>
					<xsd:element name="actionType" type="xsd:string" nillable="true" />
					<xsd:element name="tr" type="xsd:string" nillable="true" />
					<xsd:element name="claimSequenceNo" type="xsd:int" />
					<xsd:element name="transStatus" type="xsd:int" />
					<xsd:element name="transType" type="xsd:int" />
					<xsd:element name="transTypeSubcode" type="xsd:int" />
					<xsd:element name="sourceCode" type="xsd:string" nillable="true" />
					<xsd:element name="createdBy" type="xsd:string" nillable="true" />
					<xsd:element name="updatedBy" type="xsd:string" nillable="true" />
					<xsd:element name="createdTimestamp" type="xsd:long" />
					<xsd:element name="updatedTimestamp" type="xsd:long" />
					<xsd:element name="bulkUcr" type="xsd:string" nillable="true" />
					<xsd:element name="bulkTr" type="xsd:string" nillable="true" />
					<xsd:element name="financialDataValidInd" type="xsd:string" nillable="true" />
					<xsd:element name="marketValidInd" type="xsd:string" nillable="true" />
					<xsd:element name="marketLines" type="data:marketLine" minOccurs="1" maxOccurs="25" nillable="true" />
					<xsd:element name="currencyDatas" type="data:currencyData" minOccurs="1" maxOccurs="3" nillable="true" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="marketLine">
				<xsd:sequence>
					<xsd:element name="riskCarrier" type="xsd:string" nillable="true" />
					<xsd:element name="claimLineNo" type="xsd:int" />
					<xsd:element name="policyLineNo" type="xsd:int" />
					<xsd:element name="clientLine" type="xsd:double" />
					<xsd:element name="isLeader" type="xsd:boolean" />
					<xsd:element name="coyRef1" type="xsd:string" nillable="true" />
					<xsd:element name="amount1PaidByRiskCarrier" type="xsd:double" />
					<xsd:element name="amount1PaidCurr" type="xsd:string" nillable="true" />
					<xsd:element name="amount2PaidByRiskCarrier" type="xsd:double" />
					<xsd:element name="amount2PaidCurr" type="xsd:string" nillable="true" />
					<xsd:element name="amount3PaidByRiskCarrier" type="xsd:double" />
					<xsd:element name="amount3PaidCurr" type="xsd:string" nillable="true" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="currencyData">
				<xsd:sequence>
					<xsd:element name="currencyNo" type="xsd:int" />
					<xsd:element name="origCurr" type="xsd:string" nillable="true" />
					<xsd:element name="settCur" type="xsd:string" nillable="true" />
					<xsd:element name="rateExch" type="xsd:double" />
					<xsd:element name="ptdTotal" type="xsd:double" />
					<xsd:element name="pttTotal" type="xsd:double" />
					<xsd:element name="estimate" type="xsd:double" />
					<xsd:element name="outstndAmount" type="xsd:double" />
					<xsd:element name="outstndQual" type="xsd:string" nillable="true" />
					<xsd:element name="outstndFeesAmt" type="xsd:double" />
					<xsd:element name="adjAmtSett" type="xsd:double" />
					<xsd:element name="pttLoss" type="xsd:double" />
					<xsd:element name="pttFees" type="xsd:double" />
					<xsd:choice>
						<xsd:element name="lloydsCurrencyDataL" type="data:lloydsCurrencyData" nillable="true" />
						<xsd:element name="companyCurrencyDataC" type="data:companyCurrencyData" nillable="true" />
					</xsd:choice>
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="lloydsCurrencyData">
				<xsd:sequence>
					<xsd:element name="ptdLoss" type="xsd:double" />
					<xsd:element name="ptdFees" type="xsd:double" />
					<xsd:element name="ptdExpenses" type="xsd:double" />
					<xsd:element name="pttExpenses" type="xsd:double" />
					<xsd:element name="outstndLoss" type="xsd:double" />
					<xsd:element name="outstndExpenses" type="xsd:double" />
					<xsd:element name="outstndFees" type="xsd:double" />
				</xsd:sequence>
			</xsd:complexType>
			
			<xsd:complexType name="companyCurrencyData">
				<xsd:sequence>
					<xsd:element name="pttRsrvRetained" type="xsd:double" />
					<xsd:element name="pttRsrvSettled" type="xsd:double" />
					<xsd:element name="pttRsrvRetainedInt" type="xsd:double" />
					<xsd:element name="pttTax" type="xsd:double" />
					<xsd:element name="pttVat" type="xsd:double" />
				</xsd:sequence>
			</xsd:complexType>
						
			<xsd:complexType name="MainframeWarnings">
				<xsd:sequence>
					<xsd:element name="code" type="xsd:string" nillable="true" />
					<xsd:element name="message" type="xsd:string" nillable="true" />
					<xsd:element name="additionalMessage" type="xsd:string" nillable="true" />
				</xsd:sequence>
			</xsd:complexType>
		</xsd:schema>

		<!-- EXCEPTION namespace decleration -->
	  	<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
	  		xmlns:exception="http://www.xchanging.com/types/exception";
	  		targetNamespace="http://www.xchanging.com/types/exception";
	  		elementFormDefault="qualified">

	  		<xsd:complexType name="cmsJavaException">
	  			<xsd:sequence>
					<xsd:element name="exceptionName" type="xsd:string" nillable="true" />
					<xsd:element name="exceptionDetails" type="xsd:string" nillable="true" />
	  			</xsd:sequence>
	  		</xsd:complexType>
	  		<xsd:complexType name="mainframeErrorException">
	  			<xsd:sequence>
					<xsd:element name="errorCode" type="xsd:string" nillable="true" />
					<xsd:element name="message" type="xsd:string" nillable="true" />
					<xsd:element name="additionalMessage" type="xsd:string" nillable="true" />
					<xsd:element name="databaseMessage" type="xsd:string" nillable="true" />
	  			</xsd:sequence>
	  		</xsd:complexType>
	  		<xsd:complexType name="mainframeCommunicationException">
	  			<xsd:sequence>
					<xsd:element name="errorCode" type="xsd:string" nillable="true" />
					<xsd:element name="message" type="xsd:string" nillable="true" />
	  			</xsd:sequence>
	  		</xsd:complexType>
	  		<xsd:complexType name="attunityCommunicationException">
	  			<xsd:sequence>
					<xsd:element name="errorCode" type="xsd:string" nillable="true" />
					<xsd:element name="message" type="xsd:string" nillable="true" />
	  			</xsd:sequence>
	  		</xsd:complexType>
	  	</xsd:schema>

		<!-- TNS namespace decleration -->
		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
                    xmlns:tns="http://www.xchanging.com/types/cms";
                    xmlns:data="http://www.xchanging.com/types/data";
                    xmlns:array="http://www.xchanging.com/types/array";
                    xmlns:exception="http://www.xchanging.com/types/exception";
			        targetNamespace="http://www.xchanging.com/types/cms";
                    elementFormDefault="qualified">

			<xsd:import namespace="http://www.xchanging.com/types/array"; />
			<xsd:import namespace="http://www.xchanging.com/types/data"; />
			<xsd:import namespace="http://www.xchanging.com/types/exception"; />

			<xsd:element name="getClaimTransactions" type="data:requestParameters" />
			<xsd:element name="claimTransactionsResponse" type="data:claimDetails" />
			
			<xsd:element name="mainframeWarnings" type="data:MainframeWarnings" />

			<xsd:element name="cmsJavaException" type="exception:cmsJavaException" nillable="true" />
			<xsd:element name="mainframeErrorException" type="exception:mainframeErrorException" nillable="true" />
			<xsd:element name="mainframeCommunicationException" type="exception:mainframeCommunicationException" nillable="true" />
			<xsd:element name="attunityCommunicationException" type="exception:attunityCommunicationException" nillable="true" />
		</xsd:schema>
	</wsdl:types>

	<wsdl:message name="getClaimTransactionsRequest">
		<wsdl:part name="parameters" element="tns:getClaimTransactions" />
	<!-- 	<wsdl:part name="warning" element="tns:mainframeWarnings" /> -->
	</wsdl:message>
	<wsdl:message name="getClaimTransactionsResponse">
		<wsdl:part name="response" element="tns:claimTransactionsResponse" />
		 <!-- <wsdl:part name="warning" element="tns:mainframeWarnings" /> -->
	</wsdl:message>
	<wsdl:message name="cmsJavaException">
		<wsdl:part name="fault" element="tns:cmsJavaException" />
	</wsdl:message>
	<wsdl:message name="mainframeErrorException">
		<wsdl:part name="fault" element="tns:mainframeErrorException" />
	</wsdl:message>
	<wsdl:message name="mainframeCommunicationException">
		<wsdl:part name="fault" element="tns:mainframeCommunicationException" />
	</wsdl:message>
	<wsdl:message name="attunityCommunicationException">
		<wsdl:part name="fault" element="tns:attunityCommunicationException" />
	</wsdl:message>

	<wsdl:portType name="CmsWebService">
		<wsdl:operation name="getClaimTransactions">
			<wsdl:input name="claimTransactionsRequest" message="intf:getClaimTransactionsRequest" />
			<wsdl:output name="claimTransactionsResponse" message="intf:getClaimTransactionsResponse" />
			<wsdl:fault message="intf:cmsJavaException" name="cmsJavaException" />
 			<wsdl:fault message="intf:mainframeErrorException" name="mainframeErrorException" />
			<wsdl:fault message="intf:mainframeCommunicationException" name="mainframeCommunicationException" />
			<wsdl:fault message="intf:attunityCommunicationException" name="attunityCommunicationException" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:binding name="CmsWebServiceBinding" type="intf:CmsWebService">
		<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"; />
		<!-- define the  operations as document/literal -->
		<wsdl:operation name="getClaimTransactions">
			<wsdlsoap:operation soapAction="getClaimTransactions" style="document" />
			<wsdl:input  name="claimTransactionsRequest">
				<wsdlsoap:body use="literal" />
			</wsdl:input>
			<wsdl:output  name="claimTransactionsResponse">
				<wsdlsoap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="cmsJavaException">
				<wsdlsoap:fault name="cmsJavaException" use="literal" />
			</wsdl:fault>
 			<wsdl:fault name="mainframeErrorException">
				<wsdlsoap:fault name="mainframeErrorException" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="mainframeCommunicationException">
				<wsdlsoap:fault name="mainframeCommunicationException" use="literal" />
			</wsdl:fault>
			<wsdl:fault name="attunityCommunicationException">
				<wsdlsoap:fault name="attunityCommunicationException" use="literal" />
			</wsdl:fault>
		</wsdl:operation>
	</wsdl:binding>

	<wsdl:service name="CmsWebServiceS">
		<wsdl:port binding="impl:CmsWebServiceBinding" name="CmsService">
			<wsdlsoap:address location="http://localhost:8888/cms/services/CmsService"; />
		</wsdl:port>
	</wsdl:service>

</wsdl:definitions>

<!-- 
Author: Patrick Cogan
 -->

Reply via email to