Anyone knows how to resolve this
problem?
Thanks
Anna
The following is a sample HTTP POST request and response. The
placeholders shown need to be replaced with actual values.
POST
/zipQuery/zipCodeService.asmx/findZipCordinates HTTP/1.1
Host:
www.discoverdance.co.uk
Content-Type: application/x-www-form-urlencoded
Content-Length: length
code1=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="controtex.com">
<schema
xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>
I got error:
org.xml.sax.SAXException: Invalid element in
com.controtex.FindZipCordinatesResult - schema
at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:208)
at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:831)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:199)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:589)
at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:224)
at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:248)
at
org.apache.axis.client.Call.invoke(Call.java:1701)
at
org.apache.axis.client.Call.invoke(Call.java:1608)
at
org.apache.axis.client.Call.invoke(Call.java:1169)
at
com.controtex.ZipCodeServiceSoapStub.findZipCordinates(ZipCodeServiceSoapStub.java:167)
at
com.brandsdirect.webservice.TestMessage.main(TestMessage.java:90)