Skip to Content
0
Former Member
Jun 08, 2006 at 02:26 PM

SneakPreview 2004s SP7 CAF External Services - Web Services Problem

17 Views

I am trying to import our test web service.

But I get an error:

<b>Cannot convert MP Service Definition clsMainSoapPort into MMR External Service. Reason : Program Error: Unexpected MP data. IStructure struct instance have to be of type IElement.</b>

Can anybody help?

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generated 06/06/06 by Microsoft SOAP Toolkit WSDL File Generator, Version 3.00.1325.0 --> 
<definitions
	name="TestWS"
	targetNamespace="uri:dolezal-TestWS-wsdl"
	xmlns:wsdlns="uri:dolezal-TestWS-wsdl"
	xmlns:typens="uri:dolezal-TestWS-type/"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:stk="http://schemas.microsoft.com/soap-toolkit/wsdl-extension"
	xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
	xmlns:ref="http://schemas.xmlsoap.org/ws/2002/04/reference/"
	xmlns:content="http://schemas.xmlsoap.org/ws/2002/04/content-type/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns="http://schemas.xmlsoap.org/wsdl/">

	<types>
		<schema
			targetNamespace="uri:dolezal-TestWS-type"
			xmlns="http://www.w3.org/2001/XMLSchema"
			xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
			elementFormDefault="qualified">

			<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
			<import namespace="http://schemas.xmlsoap.org/wsdl/"/>
			<import namespace="http://schemas.xmlsoap.org/ws/2002/04/reference/"/>
			<import namespace="http://schemas.xmlsoap.org/ws/2002/04/content-type/"/>

		</schema>
	</types>

	<message name="clsMain.Hallo">
	</message>

	<message name="clsMain.HalloResponse">
		<part name="Result" type="xsd:string"/>
	</message>

	<portType name="clsMainSoapPort">

		<operation name="Hallo" parameterOrder="">
			<input message="wsdlns:clsMain.Hallo"/>
			<output message="wsdlns:clsMain.HalloResponse"/>
		</operation>

	</portType>

	<binding name="clsMainSoapBinding" type="wsdlns:clsMainSoapPort" >

		<stk:binding preferredEncoding="UTF-8"/>
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

		<operation name="Hallo">
			<soap:operation soapAction="uri:dolezal-TestWS-action/clsMain.Hallo"/>
			<input>
				<soap:body
					use="literal"
					namespace="uri:dolezal-TestWS-message/"
					/>
			</input>
			<output>
				<soap:body
					use="literal"
					namespace="uri:dolezal-TestWS-message/"					
					parts="Result"/>
			</output>
		</operation>

	</binding>

	<service name="TestWS" >
		<port name="clsMainSoapPort" binding="wsdlns:clsMainSoapBinding" >
			<soap:address location="http://dolezal/test/TestWS.WSDL"/>
		</port>
	</service>

</definitions>