axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabien Couble" <>
Subject [AXIS2] parsing problem
Date Thu, 27 Jul 2006 14:50:47 GMT

Hi all,
I think I have a problem concerning xmlbeans.
This is what I have done:

- I have generated java code from a wsdl file with xmlbeans databinding ..
- This wsdl file contains two complex types like this:

<complexType name="AnyXmlType">
<xs:any namespace="##other" processContents="lax" />
<complexType name="AnyXmlOptionalType">
<xs:any minOccurs="0" namespace="##other" processContents="lax" /> 

- I deployed the web service...
- I have done a client which send a SOAP request with a parameter AnyXmlType like this:

    AnyXmlTypeInputParamDocument any = AnyXmlTypeInputParamDocument.Factory.newInstance();
   XmlCursor anycursor = any.newCursor();
   anycursor.beginElement(new QName("essai"));
   AnyXmlOptionalParamDocument doc = stub.Put(any);

- The good request is sent - (I checked with soapmonitor)
- However, an exception is raised at the server side when it wants to retrieve the request.
It doesn't able to parse the soap message.
- Actually, the command fails :

    com.example.transfer_xsd.AnyXmlTypeInputParamDocument wrappedParam =

- In the service deployed on the server, there is the schemaorg_apache_xmlbeans directory

I think I missed something..
Do you have an idea?


This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.

View raw message