Hi All
I’m trying to consume a web service that is running on WebSphere Process
Server. The client sends the request and the server replyes with a general
exception when I check the server log I found that is rejecting the request
when the server is processing the xml:
Caused by: org.eclipse.emf.ecore.xmi.ClassNotFoundException: Class 'pago'
not found.
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.validateCreateObjectFromFactory(XMLHandler.java:1999)
at
com.ibm.ws.bo.bomodel.util.BOXMLHandler.validateCreateObjectFromFactory(BOXMLHandler.java:1296)
I set up the tcp/ip monitor to check the request an this is it:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:pago xmlns:ns1="http://suramericana.contabilidad.test">
<pago xmlns:ns2="http://suramericana.contabilidad.test"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="pago">
<cajaResponsable>3</cajaResponsable>
<centroCosto>2492</centroCosto>
<cobrador>Juanda</cobrador>
<detalleAplicacionPagos>
<codigoCliente>1</codigoCliente>
<codigoCompania>epsSura</codigoCompania>
<numeroDocumento>4747474</numeroDocumento>
<numeroReciboCaja>2323</numeroReciboCaja>
</detalleAplicacionPagos>
<detalleConceptos>
<compania>epsSura</compania>
<cuenta>3232</cuenta>
<division>///</division>
</detalleConceptos>
<detallePagos>
<aprobacion>SI</aprobacion>
<banco>Bancoco</banco>
<codigoTarjeta>34</codigoTarjeta>
</detallePagos>
<idTransaccion>1</idTransaccion>
<sleep>10000</sleep>
</pago>
</ns1:pago>
</soap:Body>
</soap:Envelope>
the xsd for Pago goes like this:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bons1="http://suramericana.contabilidad.test"
targetNamespace="http://suramericana.contabilidad.test">
<xsd:include schemaLocation="DetalleAplicacionPago.xsd" />
<xsd:include schemaLocation="DetalleConcepto.xsd" />
<xsd:include schemaLocation="DetallePago.xsd" />
<xsd:complexType name="Pago">
<xsd:sequence>
<xsd:element minOccurs="0" name="control"
type="xsd:string">
…………
I also try the eclipse web services test client and it works just fine, this
is the request generated:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:q0="http://suramericana.contabilidad.test"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<q0:pago>
<pago>
<control>13132</control>
<secuencia>445</secuencia>
<detallePagos>
<control>78</control>
<aprobacion>jkhkj</aprobacion>
</detallePagos>
<sleep>1000</sleep>
<idTransaccion>47</idTransaccion>
</pago>
</q0:pago>
</soapenv:Body>
</soapenv:Envelope>
I also try an Axys client and worked fine
I got the same result using the DynamicClientFactory and the
JaxWsDynamicClientFactory
I really appreciate if somebody can help me on this issue
Thanks in advance
--
View this message in context:
http://www.nabble.com/CXF--client-fails-to-consume-a-WebSphere-Process-Server-service-tp25096399p25096399.html
Sent from the cxf-user mailing list archive at Nabble.com.