Webservice throws error

A

aziegler

Hello.

We're trying to get some information into an infopath form from a
self-written webservice. But we are very puzzled.

We are designing the form with the webservice as the primary data source,
meaning the form is designed for us (hence, we cannot do much harm). When we
try to connect we get an error message that reads something like this (it's a
German edition I'm working with):

"The attribut X of element Y is not definedin DTD/Scheme"

The webservice is supposed to transfer data from the Microsoft CRM
Webservice. It's a simple relaying web service and we are unable to determine
what is causing the error.
 
B

Ben Walters

Aziegler
My appologies for not getting back to you sooner on this issue, sounds like
you've made some progress though which is great.
Are you able to shoot through your web service and I'll tak a look at it for
you
Cheers
Ben
 
A

aziegler

No problem, Ben. You already helped us very much and got us out of a deadlock.

My collegue tried to write a webservice based on your help, but we hadn't
had much luck.

This is the WSDL:

<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified"
targetNamespace="http://tempuri.org/">
- <s:element name="getSystemUserList">
<s:complexType />
</s:element>
- <s:element name="getSystemUserListResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="getSystemUserListResult">
- <s:complexType mixed="true">
- <s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="getAccountList">
<s:complexType />
</s:element>
- <s:element name="getAccountListResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="getAccountListResult">
- <s:complexType mixed="true">
- <s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="getAppointmentList">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="domainuser" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="getAppointmentListResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="getAppointmentListResult">
- <s:complexType mixed="true">
- <s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
- <wsdl:message name="getSystemUserListSoapIn">
<wsdl:part name="parameters" element="tns:getSystemUserList" />
</wsdl:message>
- <wsdl:message name="getSystemUserListSoapOut">
<wsdl:part name="parameters" element="tns:getSystemUserListResponse" />
</wsdl:message>
- <wsdl:message name="getAccountListSoapIn">
<wsdl:part name="parameters" element="tns:getAccountList" />
</wsdl:message>
- <wsdl:message name="getAccountListSoapOut">
<wsdl:part name="parameters" element="tns:getAccountListResponse" />
</wsdl:message>
- <wsdl:message name="getAppointmentListSoapIn">
<wsdl:part name="parameters" element="tns:getAppointmentList" />
</wsdl:message>
- <wsdl:message name="getAppointmentListSoapOut">
<wsdl:part name="parameters" element="tns:getAppointmentListResponse" />
</wsdl:message>
- <wsdl:portType name="InfoPathSoap">
- <wsdl:eek:peration name="getSystemUserList">
<wsdl:input message="tns:getSystemUserListSoapIn" />
<wsdl:eek:utput message="tns:getSystemUserListSoapOut" />
</wsdl:eek:peration>
- <wsdl:eek:peration name="getAccountList">
<wsdl:input message="tns:getAccountListSoapIn" />
<wsdl:eek:utput message="tns:getAccountListSoapOut" />
</wsdl:eek:peration>
- <wsdl:eek:peration name="getAppointmentList">
<wsdl:input message="tns:getAppointmentListSoapIn" />
<wsdl:eek:utput message="tns:getAppointmentListSoapOut" />
</wsdl:eek:peration>
</wsdl:portType>
- <wsdl:binding name="InfoPathSoap" type="tns:InfoPathSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
- <wsdl:eek:peration name="getSystemUserList">
<soap:eek:peration soapAction="http://tempuri.org/getSystemUserList"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:eek:utput>
<soap:body use="literal" />
</wsdl:eek:utput>
</wsdl:eek:peration>
- <wsdl:eek:peration name="getAccountList">
<soap:eek:peration soapAction="http://tempuri.org/getAccountList"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:eek:utput>
<soap:body use="literal" />
</wsdl:eek:utput>
</wsdl:eek:peration>
- <wsdl:eek:peration name="getAppointmentList">
<soap:eek:peration soapAction="http://tempuri.org/getAppointmentList"
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:eek:utput>
<soap:body use="literal" />
</wsdl:eek:utput>
</wsdl:eek:peration>
</wsdl:binding>
- <wsdl:service name="InfoPath">
- <wsdl:port name="InfoPathSoap" binding="tns:InfoPathSoap">
<soap:address location="http://server/Infopathservice/Infopath.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>


Any help would be GREATLY appreciated!

Thank you,
Aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top