The wsdl was not attached in the first message...

 

Benjamin Coiffe

________________________________

From: Benjamin Coiffe [mailto:[EMAIL PROTECTED] 
Sent: 28 July 2008 18:02
To: [EMAIL PROTECTED]
Subject: xsi:types declaration missing

 

Hi,

I have issues getting a web service integration working with the wsdl
attached in this email. The problem is simple: because some "xsi:type"
declarations are missing, the web service does not manage to handle the
message, sent by a CXF, client nicely. 

I attached the cxf soap message (definiens_cxf.xml) and the right one
(definiens_client.xml) where you can see by youself that the "Job" type
and "UserJob" type are missing in the cxf message. 

Is there a reason for this? Is this a known issue? Is there a
workaround?

I am using CXF 2.1.

Thanks,

 

Benjamin Coiffe

<<definiens_cxf.xml>> <<definiens_client.xml>> 

<<DiaJS.wsdl>> 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
	<soap:Body>
		<ns1:SubmitJob xmlns:ns1="http://tempuri.org/js.xsd";>
			<job xmlns:ns2="http://tempuri.org/js.xsd";>
				<strRuleSet>
					<str></str>
				</strRuleSet>
				<strRuleSetPath>
					<str></str>
				</strRuleSetPath>
				<iTimeout>0</iTimeout>
				<eOrderType>ESerial</eOrderType>
				<vJobs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type="ns2:JobList">
					<iTimeout>0</iTimeout>
					<eOrderType>EParallel</eOrderType>
					<vJobs>
						<iTimeout>0</iTimeout>
						<eTask>EAnalyse</eTask>
						<mScene>
							<iID>
								<str>6a20ca6fc0a8012a01802d0736cfd674</str>
							</iID>
							<iVer>7</iVer>
							<strName>
								<str></str>
							</strName>
							<strFilePath>
								<str></str>
							</strFilePath>
							<dUnitPxlSize>1.0</dUnitPxlSize>
							<dPxlRes>1.0</dPxlRes>
							<dXPos>0.0</dXPos>
							<dYPos>0.0</dYPos>
							<iSrc>2</iSrc>
							<iSizeX>696</iSizeX>
							<iSizeY>520</iSizeY>
							<bForceFit>false</bForceFit>
							<iUnit>1</iUnit>
							<iCSType>1</iCSType>
							<iCntrlTag>0</iCntrlTag>
							<iScaleMode>2</iScaleMode>
							<vImgLayers>
								<iDataType>2</iDataType>
								<dScanMagn>0.0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
								<strAlias>
									<str>Layer 1</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1.0</dPxlRes>
								<dXPos>0.0</dXPos>
								<dYPos>0.0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0.0</dNoDataVal>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
							</vImgLayers>
							<vImgLayers>
								<iDataType>2</iDataType>
								<dScanMagn>0.0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
								<strAlias>
									<str>Layer 2</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1.0</dPxlRes>
								<dXPos>0.0</dXPos>
								<dYPos>0.0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0.0</dNoDataVal>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
							</vImgLayers>
							<vImgLayers>
								<iDataType>2</iDataType>
								<dScanMagn>0.0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
								<strAlias>
									<str>Layer 3</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1.0</dPxlRes>
								<dXPos>0.0</dXPos>
								<dYPos>0.0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0.0</dNoDataVal>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
							</vImgLayers>
							<vImgLayers>
								<iDataType>2</iDataType>
								<dScanMagn>0.0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
								<strAlias>
									<str>Layer 4</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1.0</dPxlRes>
								<dXPos>0.0</dXPos>
								<dYPos>0.0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0.0</dNoDataVal>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
							</vImgLayers>
						</mScene>
						<mExportSpec>
							<vExportItems>
								<strName>
									<str>ProjectStatistics</str>
								</strName>
								<strDriver>
									<str>CSV</str>
								</strDriver>
								<strOptns>
									<str>append</str>
								</strOptns>
								<strPath>
									<str></str>
								</strPath>
								<iType>1</iType>
							</vExportItems>
						</mExportSpec>
					</vJobs>
				</vJobs>
				<vJobs>
					<iTimeout>0</iTimeout>
					<eTask>EReport</eTask>
					<mScene>
						<iID>
							<str>1</str>
						</iID>
						<iVer>1</iVer>
						<strName />
						<strFilePath>
							<str></str>
						</strFilePath>
						<dUnitPxlSize>0.0</dUnitPxlSize>
						<dPxlRes>1.0</dPxlRes>
						<dXPos>0.0</dXPos>
						<dYPos>0.0</dYPos>
						<iSrc>2</iSrc>
						<iSizeX>696</iSizeX>
						<iSizeY>520</iSizeY>
						<bForceFit>false</bForceFit>
						<iUnit>1</iUnit>
						<iCSType>0</iCSType>
						<iCntrlTag>0</iCntrlTag>
						<iScaleMode>0</iScaleMode>
					</mScene>
					<mExportSpec>
						<vExportItems>
							<strName>
								<str>ProjectStatistics</str>
							</strName>
							<strDriver>
								<str>CSV</str>
							</strDriver>
							<strOptns>
								<str>append</str>
							</strOptns>
							<strPath>
								<str></str>
							</strPath>
							<iType>1</iType>
						</vExportItems>
					</mExportSpec>
				</vJobs>
				<strWkspGUID>
					<str>6a20ca5dc0a8012a00811ba3f822a93a</str>
				</strWkspGUID>
				<strWkspName>
					<str>test workspace</str>
				</strWkspName>
				<strWkspPath>
					<str></str>
				</strWkspPath>
				<strUserName>
					<str>gathmann</str>
				</strUserName>
				<strExportTmpl>
					<str></str>
				</strExportTmpl>
				<oCnfg>
					<strConfig>
						<str>eCognition.7.0.6.last</str>
					</strConfig>
					<vPlugins>
						<sName>
							<str>Definiens Basic Process Algorithms</str>
						</sName>
						<sVersion>
							<str>0.1</str>
						</sVersion>
					</vPlugins>
					<vPlugins>
						<sName>
							<str>Definiens Internal Process Algorithms</str>
						</sName>
						<sVersion>
							<str>0.1</str>
						</sVersion>
					</vPlugins>
					<vPlugins>
						<sName>
							<str>Definiens Internal Export Process Algorithms</str>
						</sName>
						<sVersion>
							<str>0.1</str>
						</sVersion>
					</vPlugins>
					<vRDIDrivers>
						<sName>
							<str>GDAL</str>
						</sName>
						<sVersion>
							<str>1.7.2</str>
						</sVersion>
					</vRDIDrivers>
				</oCnfg>
			</job>
		</ns1:SubmitJob>
	</soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:js="http://tempuri.org/js.xsd";>
	<SOAP-ENV:Body>
		<js:SubmitJob>
			<job xsi:type="js:UserJob">
				<strRuleSet>
					<str></str>
				</strRuleSet>
				<strRuleSetPath>
					<str></str>
				</strRuleSetPath>
				<strProcessName></strProcessName>
				<strProcessArgs></strProcessArgs>
				<iTimeout>-1</iTimeout>
				<eOrderType>ESerial</eOrderType>
				<vJobs xsi:type="js:JobList">
					<strRuleSet></strRuleSet>
					<strRuleSetPath></strRuleSetPath>
					<strProcessName>
						<str></str>
					</strProcessName>
					<strProcessArgs></strProcessArgs>
					<iTimeout>0</iTimeout>
					<eOrderType>EParallel</eOrderType>
					<vJobs xsi:type="js:Job">
						<strRuleSet></strRuleSet>
						<strRuleSetPath></strRuleSetPath>
						<strProcessName></strProcessName>
						<strProcessArgs></strProcessArgs>
						<iTimeout>0</iTimeout>
						<eTask>EAnalyse</eTask>
						<mScene>
							<iID>
								<str>C98BC2A4-58E0-11DD-8BF0-001636A278D6</str>
							</iID>
							<iVer>2</iVer>
							<strName>
								<str></str>
							</strName>
							<strFilePath>
								<str></str>
							</strFilePath>
							<strSubWkspPath>
								<str></str>
							</strSubWkspPath>
							<dUnitPxlSize>1</dUnitPxlSize>
							<dPxlRes>1</dPxlRes>
							<dXPos>0</dXPos>
							<dYPos>0</dYPos>
							<iSrc>2</iSrc>
							<iSizeX>696</iSizeX>
							<iSizeY>520</iSizeY>
							<bForceFit>false</bForceFit>
							<strCSName>
								<str></str>
							</strCSName>
							<iUnit>1</iUnit>
							<iCSType>1</iCSType>
							<iCntrlTag>0</iCntrlTag>
							<iScaleMode>2</iScaleMode>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 1</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 2</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 3</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 4</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
						</mScene>
						<mExportSpec>
							<vExportItems>
								<strName>
									<str>ProjectFile</str>
								</strName>
								<strDriver>
									<str>DPR_MIN</str>
								</strDriver>
								<strOptns>
									<str></str>
								</strOptns>
								<strPath>
									<str></str>
								</strPath>
								<strSqlIns>
									<str></str>
								</strSqlIns>
								<strSqlSel>
									<str></str>
								</strSqlSel>
								<iType>0</iType>
							</vExportItems>
							<vExportItems>
								<strName>
									<str>ProjectStatistics</str>
								</strName>
								<strDriver>
									<str>CSV</str>
								</strDriver>
								<strOptns>
									<str>append</str>
								</strOptns>
								<strPath>
									<str></str>
								</strPath>
								<strSqlIns>
									<str></str>
								</strSqlIns>
								<strSqlSel>
									<str></str>
								</strSqlSel>
								<iType>1</iType>
							</vExportItems>
						</mExportSpec>
						<mStitchInfo></mStitchInfo>
					</vJobs>
					<vJobs xsi:type="js:Job">
						<strRuleSet></strRuleSet>
						<strRuleSetPath></strRuleSetPath>
						<strProcessName></strProcessName>
						<strProcessArgs></strProcessArgs>
						<iTimeout>0</iTimeout>
						<eTask>EAnalyse</eTask>
						<mScene>
							<iID>
								<str>C98BC2A3-58E0-11DD-8BF0-001636A278D6</str>
							</iID>
							<iVer>2</iVer>
							<strName>
								<str></str>
							</strName>
							<strFilePath>
								<str></str>
							</strFilePath>
							<strSubWkspPath>
								<str></str>
							</strSubWkspPath>
							<dUnitPxlSize>1</dUnitPxlSize>
							<dPxlRes>1</dPxlRes>
							<dXPos>0</dXPos>
							<dYPos>0</dYPos>
							<iSrc>2</iSrc>
							<iSizeX>696</iSizeX>
							<iSizeY>520</iSizeY>
							<bForceFit>false</bForceFit>
							<strCSName>
								<str></str>
							</strCSName>
							<iUnit>1</iUnit>
							<iCSType>1</iCSType>
							<iCntrlTag>0</iCntrlTag>
							<iScaleMode>2</iScaleMode>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 1</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 2</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 3</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
							<vImgLayers xsi:type="js:ImgLayer">
								<strAlias>
									<str>Layer 4</str>
								</strAlias>
								<strFilePath>
									<str></str>
								</strFilePath>
								<iIndx>0</iIndx>
								<dPxlRes>1</dPxlRes>
								<dXPos>0</dXPos>
								<dYPos>0</dYPos>
								<iSrc>0</iSrc>
								<iSizeX>696</iSizeX>
								<iSizeY>520</iSizeY>
								<iNoDataType>0</iNoDataType>
								<dNoDataVal>0</dNoDataVal>
								<strCSName>
									<str></str>
								</strCSName>
								<bFitted>false</bFitted>
								<iCSType>1</iCSType>
								<iDataType>2</iDataType>
								<dScanMagn>0</dScanMagn>
								<strDrvrId>
									<str>GDAL</str>
								</strDrvrId>
							</vImgLayers>
						</mScene>
						<mExportSpec>
							<vExportItems>
								<strName>
									<str>ProjectFile</str>
								</strName>
								<strDriver>
									<str>DPR_MIN</str>
								</strDriver>
								<strOptns>
									<str></str>
								</strOptns>
								<strPath>
									<str></str>
								</strPath>
								<strSqlIns>
									<str></str>
								</strSqlIns>
								<strSqlSel>
									<str></str>
								</strSqlSel>
								<iType>0</iType>
							</vExportItems>
							<vExportItems>
								<strName>
									<str>ProjectStatistics</str>
								</strName>
								<strDriver>
									<str>CSV</str>
								</strDriver>
								<strOptns>
									<str>append</str>
								</strOptns>
								<strPath>
									<str></str>
								</strPath>
								<strSqlIns>
									<str></str>
								</strSqlIns>
								<strSqlSel>
									<str></str>
								</strSqlSel>
								<iType>1</iType>
							</vExportItems>
						</mExportSpec>
						<mStitchInfo></mStitchInfo>
					</vJobs>
				</vJobs>
				<vJobs xsi:type="js:Job">
					<strRuleSet></strRuleSet>
					<strRuleSetPath></strRuleSetPath>
					<strProcessName></strProcessName>
					<strProcessArgs></strProcessArgs>
					<iTimeout>0</iTimeout>
					<eTask>EReport</eTask>
					<mScene>
						<iID></iID>
						<iVer>17302013</iVer>
						<strName></strName>
						<strFilePath></strFilePath>
						<strSubWkspPath></strSubWkspPath>
						<dUnitPxlSize>1.1952307204559101e-297</dUnitPxlSize>
						<dPxlRes>1.6991503451190983e-313</dPxlRes>
						<dXPos>1.0940166660912626e-303</dXPos>
						<dYPos>1.6921668928150869e-301</dYPos>
						<iSrc>31447512</iSrc>
						<iSizeX>8</iSizeX>
						<iSizeY>1441797</iSizeY>
						<bForceFit>246</bForceFit>
						<strCSName></strCSName>
						<iUnit>31447616</iUnit>
						<iCSType>0</iCSType>
						<iCntrlTag>16803189</iCntrlTag>
						<iScaleMode>31447536</iScaleMode>
					</mScene>
					<mExportSpec>
						<vExportItems>
							<strName>
								<str>ProjectStatistics</str>
							</strName>
							<strDriver>
								<str>CSV</str>
							</strDriver>
							<strOptns>
								<str>append</str>
							</strOptns>
							<strPath>
								<str></str>
							</strPath>
							<strSqlIns>
								<str></str>
							</strSqlIns>
							<strSqlSel>
								<str></str>
							</strSqlSel>
							<iType>1</iType>
						</vExportItems>
					</mExportSpec>
					<mStitchInfo></mStitchInfo>
				</vJobs>
				<strWkspGUID>
					<str>AC7F7C1C-58E0-11DD-8BF0-001636A278D6</str>
				</strWkspGUID>
				<strWkspName>
					<str>etst_fog</str>
				</strWkspName>
				<strWkspPath>
					<str></str>
				</strWkspPath>
				<strUserName>
					<str>gathmann</str>
				</strUserName>
				<strExportTmpl>
					<str></str>
				</strExportTmpl>
				<oCnfg>
					<strConfig>
						<str>eCognition.7.0.6.last</str>
					</strConfig>
					<vPlugins>
						<sName>
							<str>Definiens Basic Process Algorithms</str>
						</sName>
						<sVersion>
							<str>0.1</str>
						</sVersion>
					</vPlugins>
					<vPlugins>
						<sName>
							<str>Definiens Internal Process Algorithms</str>
						</sName>
						<sVersion>
							<str>0.1</str>
						</sVersion>
					</vPlugins>
					<vPlugins>
						<sName>
							<str>Definiens Internal Export Process Algorithms</str>
						</sName>
						<sVersion>
							<str>0.1</str>
						</sVersion>
					</vPlugins>
					<vRDIDrivers>
						<sName>
							<str>GDAL</str>
						</sName>
						<sVersion>
							<str>1.7.2</str>
						</sVersion>
					</vRDIDrivers>
				</oCnfg>
			</job>
		</js:SubmitJob>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Reply via email to