You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tom Jordahl (JIRA)" <ax...@ws.apache.org> on 2005/07/19 21:56:50 UTC
[jira] Resolved: (AXIS-2114) GeoCoder failure
[ http://issues.apache.org/jira/browse/AXIS-2114?page=all ]
Tom Jordahl resolved AXIS-2114:
-------------------------------
Resolution: Fixed
The service was updated to provide the correct XML in the SOAP response. 1.2.1 now works against their WSDL/service. No Axis changes needed.
> GeoCoder failure
> ----------------
>
> Key: AXIS-2114
> URL: http://issues.apache.org/jira/browse/AXIS-2114
> Project: Apache Axis
> Type: Bug
> Reporter: Davanum Srinivas
> Priority: Blocker
>
> Bug report from Tom.
> We have a report from one of our customers that a web services that used to work with 1.2 RC2, no longer does with Axis 1.2.1.
> The services that is failing:
> http://geocoder.us/dist/eg/clients/GeoCoder.wsdl
> The test case I have is for the GeoCoder service, operation
> geocode_address. Reported fault is:
> AxisFault
> faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: org.xml.sax.SAXException: No deserializer for
> {http://www.w3.org/2001/XMLSchema}anyType
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: No
> deserializer for {http://www.w3.org/2001/XMLSchema}anyType
> at
> org.apache.axis.encoding.DeserializerImpl.onStartElement(DeserializerImp
> l.java:453)
> at
> org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.
> java:393)
> at
> org.apache.axis.encoding.DeserializationContext.startElement(Deserializa
> tionContext.java:1048)
> at
> org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:
> 165)
> at
> org.apache.axis.message.MessageElement.publishToHandler(MessageElement.j
> ava:1141)
> at
> org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> at
> org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> at org.apache.axis.client.Call.invoke(Call.java:244...
> Here is the SOAP request/response:
> :::SOAP Request:::
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <ns1:geocode_address
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns1="http://rpc.geocoder.us/Geo/Coder/US/">
> <address xsi:type="xsd:string">714 River St,Peckville, PA
> 18452</address>
> </ns1:geocode_address>
> </soapenv:Body>
> </soapenv:Envelope>
> :::SOAP Response:::
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> <SOAP-ENV:Body>
> <namesp66:geocode_addressResponse
> xmlns:namesp66="http://rpc.geocoder.us/Geo/Coder/US/">
> <SOAP-ENC:Array xsi:type="SOAP-ENC:Array"
> SOAP-ENC:arrayType="xsd:anyType[1]">
> <item>
> <number xsi:type="xsd:int">714</number>
> <lat xsi:type="xsd:float">41.477723</lat>
> <street xsi:type="xsd:string">River</street>
> <state xsi:type="xsd:string">PA</state>
> <zip xsi:type="xsd:int">18452</zip>
> <city xsi:type="xsd:string">Blakely</city>
> <suffix xsi:type="xsd:string"/>
> <long xsi:type="xsd:float">-75.578802</long>
> <type xsi:type="xsd:string">St</type>
> <prefix xsi:type="xsd:string"/>
> </item>
> </SOAP-ENC:Array>
> </namesp66:geocode_addressResponse>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira