Skip to Content
author's profile photo Former Member
Former Member

SneakPreview 2004s SP7 CAF External Services - Web Services Problem

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>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 09, 2006 at 03:09 PM

    Hi,

    Please check out the note 844836. It describes the CAF web service restrictions.

    Regards,

    Jan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.