Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Reference.xsd does not contain Request en Response message type after adding webservice › Re: Reference.xsd does not contain Request en Response message type after adding webservice
In the wsdl the webservice method is this:
<s:element name=”GetGroupByName”>
<s:complexType>
<s:sequence>
<s:element minOccurs=”0″ maxOccurs=”1″ name=”Group_Name” type=”s:string” />
</s:sequence>
</s:complexType>
<wsdl:message name=”GetGroupByNameSoapIn”>
<wsdl:part name=”parameters” element=”tns:GetGroupByName” />
</wsdl:message>
wsdl:message name=”GetGroupByNameSecurity”>
<wsdl:part name=”Security” element=”tns:Security” />
</wsdl:message>
<wsdl:message name=”GetGroupByNameTrust”>
<wsdl:part name=”Trust” element=”tns:Trust” />
</wsdl:message>
<wsdl:operation name=”GetGroupByName”>
<documentation xmlns=”http://schemas.xmlsoap.org/wsdl/”>This method processes a Group Name and returns a list giving the the full details of the group if it exists in the database.</documentation>
<wsdl:input message=”tns:GetGroupByNameSoapIn” />
<wsdl:output message=”tns:GetGroupByNameSoapOut” />
</wsdl:operation>
<wsdl:operation name=”GetGroupByName”>
<soap:operation soapAction=”http://questionmark.com/QMWISe/GetGroupByName” style=”document” />
<wsdl:input>
<soap:body use=”literal” />
<soap:header message=”tns:GetGroupByNameSecurity” part=”Security” use=”literal” />
<soap:header message=”tns:GetGroupByNameTrust” part=”Trust” use=”literal” />
</wsdl:input>
<wsdl:output>
<soap:body use=”literal” />
<soap:header message=”tns:GetGroupByNameSecurity” part=”Security” use=”literal” />
<soap:header message=”tns:GetGroupByNameTrust” part=”Trust” use=”literal” />
</wsdl:output>
</wsdl:operation>
I added this to the reference.xsd file:
<xs:element name=”GetGroupByName” nillable=”true” type=”tns:GetGroupByName” />
<xs:complexType name=”GetGroupByName” >
<xs:sequence>
<xs:element minOccurs=”0″ maxOccurs=”1″ name=”Group_Name” type=”xs:string” />
</xs:sequence>
</xs:complexType>
I also tried this:
<xs:element name=”GetGroupByName”>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs=”0″ maxOccurs=”1″ name=”Group_Name” type=”xs:string” />
</xs:sequence>
</xs:complexType>
Thanks,
Bart