Quantcast
Channel: xCommunity : Popular Discussions - Discuss
Viewing all articles
Browse latest Browse all 932

WebService Response validation errors

$
0
0

when doing AddEvent and validating the response in Java or Soap UI get the following error. Any idea why is that?

 

WSDL : http://vsin0vl880.svr.us.jpmchase.net:8888/api/services/AlarmPointWebService?wsdl

 

The response I am getting is not valid

 

SOAP Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://www.alarmpoint.com/webservices/schema">

<soapenv:Header/>

<soapenv:Body>

<sch:AddEvent>

<sch:user></sch:user>

<sch:password></sch:password>

<sch:clientTimestamp></sch:clientTimestamp>

<sch:clientIP></sch:clientIP>

<sch:clientOSUser></sch:clientOSUser>

<sch:company></sch:company>

<sch:eventTokens>

<!--Zero or more repetitions:-->

<sch:eventToken>

<sch:name></sch:name>

<sch:value></sch:value>

</sch:eventToken>

</sch:eventTokens>

</sch:AddEvent>

</soapenv:Body>

</soapenv:Envelope>

 

SOAP Response :

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<soapenv:Body>

<ns:AddEventResponse xmlns:ns="http://www.alarmpoint.com/webservices/schema">

<ns:return type="com.invoqsystems.apex.web.soap.AddEventReturn">

<ns:eventIdentifier>-1</ns:eventIdentifier>

<ns:incidentIdentifier>-1</ns:incidentIdentifier>

<ns:serverTimestamp>18/05/2011 1:06:47 PM</ns:serverTimestamp>

<ns:status>AUTHENTICATION_ERROR</ns:status>

</ns:return>

</ns:AddEventResponse>

</soapenv:Body>

</soapenv:Envelope>

 

When I try to validate the response, I am getting the following error

 


Viewing all articles
Browse latest Browse all 932

Trending Articles