<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GeoEvent Processor - javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525525#M1616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was using WSimport (Jax-WS RI) version 2.2.4-b01 to build the stubs for both the POC and my GeoEvent Transport.&amp;nbsp; From the generated stubs:&lt;/P&gt;&lt;P&gt;/**&lt;/P&gt;&lt;P&gt; * This class was generated by the JAX-WS RI.&lt;/P&gt;&lt;P&gt; * JAX-WS RI 2.2.4-b01&lt;/P&gt;&lt;P&gt; * Generated source version: 2.2&lt;/P&gt;&lt;P&gt; * &lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So perhaps you are on to something there, since the errors all seem to indicate a problem unmarshalling with CXF.&amp;nbsp; Perhaps it is just an incompatibility between WSimport generated code and supporting that in CXF.&amp;nbsp; I assume that CXF is being used by OSGi, since I don't import or reference CXF in my code as far as I can tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my POC did not utilize CXF, it probably avoided the issue.&amp;nbsp; In hind sight perhaps I should have tried stub generation with CXF, I might still revisit that if I get some spare time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 17:39:23 GMT</pubDate>
    <dc:creator>JacobHays</dc:creator>
    <dc:date>2014-11-13T17:39:23Z</dc:date>
    <item>
      <title>GeoEvent Processor - javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525522#M1613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I'm running into an error with a GeoEvent Inbound Transport that I'm developing.&amp;nbsp; The transport is acting as a web services client for a .Net web service that returns .Net datasets (which is unfortunate).&amp;nbsp; I've done a simple proof of concept application outside of the GeoEvent Processor engine, which works fine for getting results from the web service, but when the code is run in the GeoEvent Processor I get the error shown below.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The associated WSDL (DataRetrieval_Sanitized.xml) and code snippet (CodeSnippet.txt) are attached.&amp;nbsp; I'm using WSImport to generate the classes from the WSDL, with a workaround to get past problems with the .Net dataset (&lt;A href="https://weblogs.java.net/blog/vivekp/archive/2007/05/how_to_deal_wit_1.html"&gt;https://weblogs.java.net/blog/vivekp/archive/2007/05/how_to_deal_wit_1.html&lt;/A&gt;).&amp;nbsp; I think the problem might be with how that workaround did some of the binding and how that binding is being interpreted when run in the GeoEvent Processor engine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Ultimately I'm trying to figure out why the error occurs in the GeoEvent Processor engine while my proof of concept works, and what can I do to resolve this issue.&amp;nbsp; I've posted this on stackoverflow with additional details to see if anyone has ideas on more general terms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;A href="http://stackoverflow.com/questions/26026043/arcgis-geoevent-processor-javax-xml-ws-soap-soapfaultexception-unmarshalling" title="http://stackoverflow.com/questions/26026043/arcgis-geoevent-processor-javax-xml-ws-soap-soapfaultexception-unmarshalling"&gt;java - ArcGIS GeoEvent Processor - javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error - Stack Overflow&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp; I've altered the domain of the web service as shown in the error/wsdl/code to protect the (possibly) innocent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2014-09-23 16:10:14,365 | ERROR | ansport Listener | SomeInboundTransport&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 367 - com.somecompany.arcgis.geoevent.transport.inbound.somecompanyInboundTransport - 1.0.0 | Unable to call Webservice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: unexpected element (uri:"&lt;A href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;", local:"element"). Expected elements are &amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}complexType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}annotation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}redefine&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}element&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}include&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attributeGroup&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}group&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}notation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}import&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}simpleType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attribute&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)[120:org.apache.cxf.cxf-rt-frontend-jaxws:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.proxy.$Proxy198.getCompanyArcgisData(Unknown Source)[367:com.somecompany.arcgis.geoevent.transport.inbound.somecompanyInboundTransport:1.0.0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.somecompany.arcgis.geoevent.transport.inbound.SomeInboundTransport.callWebService(SomeInboundTransport.java:184)[367:com.somecompany.arcgis.geoevent.transport.inbound.somecompanyInboundTransport:1.0.0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.somecompany.arcgis.geoevent.transport.inbound.SomeInboundTransport.run(SomeInboundTransport.java:257)[367:com.somecompany.arcgis.geoevent.transport.inbound.somecompanyInboundTransport:1.0.0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at java.lang.Thread.run(Thread.java:722)[:1.7.0_17]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Caused by: javax.xml.bind.UnmarshalException&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; - with linked exception:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[com.sun.istack.SAXParseException2; lineNumber: 1; columnNumber: 651; unexpected element (uri:"&lt;A href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;", local:"element"). Expected elements are &amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}complexType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}annotation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}redefine&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}element&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}include&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attributeGroup&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}group&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}notation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}import&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}simpleType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attribute&amp;gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:425)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:362)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:784)[91:org.apache.cxf.cxf-rt-databinding-jaxb:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$100(JAXBEncoderDecoder.java:97)[91:org.apache.cxf.cxf-rt-databinding-jaxb:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxb.JAXBEncoderDecoder$1.run(JAXBEncoderDecoder.java:812)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_17]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:810)[91:org.apache.cxf.cxf-rt-databinding-jaxb:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:644)[91:org.apache.cxf.cxf-rt-databinding-jaxb:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:157)[91:org.apache.cxf.cxf-rt-databinding-jaxb:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:108)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1667)[118:org.apache.cxf.cxf-rt-transports-http:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1520)[118:org.apache.cxf.cxf-rt-transports-http:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1428)[118:org.apache.cxf.cxf-rt-transports-http:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:658)[118:org.apache.cxf.cxf-rt-transports-http:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)[87:org.apache.cxf.cxf-api:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89)[119:org.apache.cxf.cxf-rt-frontend-simple:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)[120:org.apache.cxf.cxf-rt-frontend-jaxws:2.6.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; ... 4 more&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Caused by: com.sun.istack.SAXParseException2; lineNumber: 1; columnNumber: 651; unexpected element (uri:"&lt;A href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;", local:"element"). Expected elements are &amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}complexType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}annotation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}redefine&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}element&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}include&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attributeGroup&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}group&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}notation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}import&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}simpleType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attribute&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:254)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:249)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:116)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:101)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement(StructureLoader.java:243)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:478)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:459)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:242)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:360)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; ... 28 more&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"&lt;A href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;", local:"element"). Expected elements are &amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}complexType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}annotation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}redefine&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}element&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}include&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attributeGroup&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}group&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}notation&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}import&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}simpleType&amp;gt;,&amp;lt;{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.somecompany.com/" rel="nofollow" target="_blank"&gt;http://services.somecompany.com/&lt;/A&gt;&lt;SPAN&gt;}attribute&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; ... 39 more&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 16:58:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525522#M1613</guid>
      <dc:creator>JacobHays</dc:creator>
      <dc:date>2014-09-25T16:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent Processor - javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525523#M1614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably not the best answer on this, but it's what I came up with in case anyone runs into a similar problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ArcGIS GeoEvent Processor that wrapped my OSGI project appeared to be doing some additional binding/unbinding of the web service that I referenced in my application. The work-around that I employed to get that .Net (DataSet return values) web service to function in Java just wasn't acceptable to the GeoEvent Processor.&amp;nbsp; &lt;/P&gt;&lt;H2&gt;&lt;/H2&gt;&lt;H2&gt;My Solution&lt;/H2&gt;&lt;P&gt;Ultimately what I did was create a secondary .Net web service which took the DataSet values and converted them to JSON, and returned JSON strings. This removed the problems encountered when attempting to reference DataSet return values from the web service, now I was dealing with a simple JSON string. The &lt;STRONG&gt;wsimport&lt;/STRONG&gt; of that JSON web service went smooth, no work-around required. I tucked the newly imported web service files into my java project and now have no problems.&lt;/P&gt;&lt;P&gt;For Reference on C# DataSet to JSON:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using Newtonsoft.Json (&lt;A href="http://james.newtonking.com/json" rel="nofollow"&gt;http://james.newtonking.com/json&lt;/A&gt;). After playing with a few other libraries for JSON serialization that is what I found worked best for me.&lt;/LI&gt;&lt;LI&gt;Newtonsoft.Json is available via NuGet package&lt;/LI&gt;&lt;LI&gt;Rick Strahl's site was a big help&amp;nbsp; &lt;A href="http://weblog.west-wind.com/posts/2008/Sep/03/DataTable-JSON-Serialization-in-JSONNET-and-JavaScriptSerializer" rel="nofollow"&gt;http://weblog.west-wind.com/posts/2008/Sep/03/DataTable-JSON-Serialization-in-JSONNET-and-JavaScriptSerializer&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 14:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525523#M1614</guid>
      <dc:creator>JacobHays</dc:creator>
      <dc:date>2014-10-22T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent Processor - javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525524#M1615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of curiosity, what version of CXF did your POC use?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also wondering if the issue was something to do with OSGi (the container which runs GeoEvent) and class loaders not being able to find your stub classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Javier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 22:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525524#M1615</guid>
      <dc:creator>JavierDelgadillo</dc:creator>
      <dc:date>2014-10-27T22:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent Processor - javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525525#M1616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was using WSimport (Jax-WS RI) version 2.2.4-b01 to build the stubs for both the POC and my GeoEvent Transport.&amp;nbsp; From the generated stubs:&lt;/P&gt;&lt;P&gt;/**&lt;/P&gt;&lt;P&gt; * This class was generated by the JAX-WS RI.&lt;/P&gt;&lt;P&gt; * JAX-WS RI 2.2.4-b01&lt;/P&gt;&lt;P&gt; * Generated source version: 2.2&lt;/P&gt;&lt;P&gt; * &lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So perhaps you are on to something there, since the errors all seem to indicate a problem unmarshalling with CXF.&amp;nbsp; Perhaps it is just an incompatibility between WSimport generated code and supporting that in CXF.&amp;nbsp; I assume that CXF is being used by OSGi, since I don't import or reference CXF in my code as far as I can tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my POC did not utilize CXF, it probably avoided the issue.&amp;nbsp; In hind sight perhaps I should have tried stub generation with CXF, I might still revisit that if I get some spare time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 17:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/geoevent-processor-javax-xml-ws-soap/m-p/525525#M1616</guid>
      <dc:creator>JacobHays</dc:creator>
      <dc:date>2014-11-13T17:39:23Z</dc:date>
    </item>
  </channel>
</rss>

