Hello,
I have a problem with consuming a RemObjects SOAP server on a standard .Net client.
I expose my server as soap server, but when I try to add the web service reference to my VisualStudio2010 project, it fails with this error:
Unable to import operation ‘GetDeviceApplicationList’. The datatype ‘http://tempuri.org/:Guid’ is missing.
Some of the input parameters of the server operations are of type Guid, but the WSDL file created by RemObjects doesn’t have this type, so visual studio cannot resolve this type.
In a generic SOAP server I can add the below code to solve this problem, but RemObjects creates the WSDL file automatically, so I don’t know how to add this type to my service WSDL.
<s:simpleType name="guid">
<s:restriction base="s:string">
<s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"/>
</s:restriction>
</s:simpleType>
Any help or solution is really appreciated.
Mehran