Hi,
I have a problem with JAX-RPC. I get the following error:
javax.xml.rpc.ServiceException: modeler error: unsupported schema type:
{xml.apache.org/xml-soap}Map
Here is what I have in the wsdl related to Map:
How do I add the support to Map (apachesoap:MapItem)?Code:<complexType name="Map"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/> </sequence> </complexType>
I tried to use JAX-WS instead of JAX-RPC thinking that maybe, JAX-WS will support it and maybe it's the case but I get an other error:
Class jaxws.getSomething do not have a property of the name arg0
Here is the bean and interface I have:
My interface:Code:<bean id="testService" class="...JaxWsPortProxyFactoryBean"> <property name="serviceInterface" value=" testService"/> <property name="wsdlDocumentUrl" value="urlToWsdl"/> <property name="namespaceUri" value="remote"/> <property name="serviceName" value="TestService:RemoteProxyBean"/> <property name="portName" value="TestService.cfc"/> </bean>
In the wsdl, it’s:Code:atWebService atWebServiceClient(name = "ChargingManager") public interface ChargingManager { public Object getSomething(String test); }
I guess the problem is due to anyType. How can I handle anyType? I thought Object should work.Code:<wsdl:message name="getSomethingResponse"> <wsdl:part name="getSomethingReturn" type="xsd:anyType"/> </wsdl:message>
Any help will be much appreciated so thank you in advance.


Reply With Quote