See my comments in line..
Hi, it seems I can return complex data structure and attachment together to web service >client only using AXIOM, for example,
Yes.. You can.... You need to use the RawXMLMessageReceivers for that...
When we look at the WSDL generated from the source code, the data type of >method1Response is anyType.
That's correct.. Axis2 couldn't figure out the actual schema when the parameters are OMElements. An OMElement can contain any arbitrary piece of XML. When using OMElements, it is advised to hand craft a WSDL for the service.. See here[1] for more info.
The generated WSDL makes developer clearly know what the method return. But I got >the following exception when I access the web service.
Please post your services.xml...
Could anyone give me help or refer some documents regarding this issue for me?
Hope you have already looked at ~Thilina [1] http://ws.apache.org/axis2/1_1/xmlbased-server.html [2] http://ws.apache.org/axis2/1_1/pojoguide.html.
best regards yong --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Thilina Gunarathne WSO2, Inc.; http://www.wso2.com/ Home page: http://webservices.apache.org/~thilina/ Blog: http://thilinag.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
