Hi,
using libraries and tools from Jbossws-1.2.0GA to generate a web service client I found a problem in mapping <xsd:any/> wsdl element.
'llreport the fragment that define the web service response message:
<s:schema elementFormDefault="qualified" targetNamespace="http://test.it/test"> ... <s:element name="Response" > <s:complexType> <s:sequence> <s:any minOccurs="0" maxOccurs="1" /> </s:sequence> </s:complexType> </s:element> ...
public class Response
{
protected javax.xml.soap.SOAPElement _any;
public Response(){}
public Response(javax.xml.soap.SOAPElement _any){
this._any=_any;
}
public javax.xml.soap.SOAPElement get_any()
{return _any ;}
public void set_any(javax.xml.soap.SOAPElement _any)
{this._any=_any; }
}
<soap:Body> <Response xmlns="http://test.it/test"> <root> <test>hello</test> </root> </Response> </soap:Body>