Element "scheme" is missing in complex type "ServerId" in WSDL for /Central/AlarmServiceToken

Hi,

the ServerId included in the FQID of a GetEventResult looks like this:

<a:ServerId>
	<a:Type>XPCORS</a:Type>
	<a:Hostname>bin-cam02</a:Hostname>
	<a:Port>7563</a:Port>
	<a:Id>71270dc7-c168-417b-99b4-68c19f7ca3be</a:Id>
	<a:Scheme>http</a:Scheme>
</a:ServerId>

The complex type “ServerId” is defined as:

<xs:complexType name="ServerId">
	<xs:sequence>
		<xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
		<xs:element minOccurs="0" name="Hostname" nillable="true" type="xs:string" />
		<xs:element minOccurs="0" name="Port" type="xs:int" />
		<xs:element minOccurs="0" name="Id" type="ser:guid" />
	</xs:sequence>
</xs:complexType>
<xs:element name="ServerId" nillable="true" type="tns:ServerId"/>

Regards,

Michael

Milestone Development will start investigation.

Hi.

Milestone development has started investigation regarding this issue. For further investigation, can you please share your project for us?

We see that this is missing but this should not be a problem as the MIPDSKD samples are running without any errors.

So, we would like to know what you are trying to achieve and why this is a concern. What is the purpose of the application that you are developing? It would be great if you could comment on these questions for further investigation.

Hello,

I’m trying to listen to lpr events, get the recorded image at that time and then send the license plate information and the image via http to another server.

I do not use the MIP SDK, but a PHP SOAP client. This client validates the SOAP responses using the provided WSDL and fails in the given example.

Regards,

Michael

We will get back to you when we get a news from Milestone Development.

Hi.

I would like to clarify a few things.

Are you getting the WSDL from

http://localhost:22331/Central/AlarmServiceToken?singlewsdl

or

http://localhost:22331/Central/AlarmServiceToken?wsdl

?

Milestone Development can see the definition on the Scheme property in the singleWsdl:

<xs:complexType name=“ServerId”>

xs:sequence

<xs:element minOccurs=“0” name=“Type” nillable=“true” type=“xs:string”>​

xs:annotation

xs:appinfo

</xs:appinfo>​

</xs:annotation>​

</xs:element>​

<xs:element minOccurs=“0” name=“Hostname” nillable=“true” type=“xs:string”>​

xs:annotation

xs:appinfo

</xs:appinfo>​

</xs:annotation>​

</xs:element>​

<xs:element minOccurs=“0” name=“Port” type=“xs:int”>​

xs:annotation

xs:appinfo

</xs:appinfo>​

</xs:annotation>​

</xs:element>​

<xs:element minOccurs=“0” name=“Id” type=“ser:guid”/>​

<xs:element minOccurs=“0” name=“Scheme” nillable=“true” type=“xs:string”>​

xs:annotation

xs:appinfo

</xs:appinfo>​

</xs:annotation>​

</xs:element>​

</xs:sequence>​

</xs:complexType>​

<xs:element name=“ServerId” nillable=“true” type=“tns:ServerId”/>

One more thing,

can I ask you to confirm that the version of the Event server is 13.3.15.1 and not a previous version (13.2)? Because this field (Scheme) was introduced in 13.3.