[jboss-user] [JBossWS] - Cound Not obtain the Java Type Mapping-What is wrong where t
pshankar
do-not-reply at jboss.com
Thu Dec 14 10:47:10 EST 2006
I am getting the Java type mapping error even after packaging/placing the mapping class within the WAR/Server
Where exactly should the file go?
The class is built within war and also the descriptor files are there.
org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://DefaultNamespace}ArrayOf_tns2_anyType at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataR
|
My jaxrpc-mapping.xml read below
<?xml version="1.0" encoding="UTF-8"?>
| <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
| http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
| version="1.1">
| <package-mapping>
| <package-type></package-type>
| <namespaceURI>http://MySpringService</namespaceURI>
| </package-mapping>
| <service-interface-mapping>
| <service-interface>MySpringService.MySpringServiceService</service-interface>
| <wsdl-service-name xmlns:serviceNS='http://DefaultNamespace'>serviceNS:MySpringServiceService</wsdl-service-name>
| <port-mapping>
| <port-name>MySpringService</port-name>
| <java-port-name>MySpringService</java-port-name>
| </port-mapping>
| </service-interface-mapping>
| <service-endpoint-interface-mapping>
| <service-endpoint-interface>MySpringService.MySpringService</service-endpoint-interface>
| <wsdl-port-type xmlns:portTypeNS='http://DefaultNamespace'>portTypeNS:MySpringService</wsdl-port-type>
| <wsdl-binding xmlns:bindingNS='http://DefaultNamespace'>bindingNS:MySpringServiceSoapBinding</wsdl-binding>
| <service-endpoint-method-mapping>
| <java-method-name>listConfigurationName</java-method-name>
| <wsdl-operation>listConfigurationName</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS='http://DefaultNamespace'>wsdlMsgNS:listConfigurationNameRequest</wsdl-message>
| <wsdl-message-part-name>in0</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <wsdl-return-value-mapping>
| <method-return-value>DefaultNamespace.ArrayOf_tns2_anyType</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS='http://DefaultNamespace'>wsdlMsgNS:listConfigurationNameResponse</wsdl-message>
| <wsdl-message-part-name>listConfigurationNameReturn</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
| <service-endpoint-method-mapping>
| <java-method-name>getName</java-method-name>
| <wsdl-operation>getName</wsdl-operation>
| <wsdl-return-value-mapping>
| <method-return-value>java.lang.String</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS='http://DefaultNamespace'>wsdlMsgNS:getNameResponse</wsdl-message>
| <wsdl-message-part-name>getNameReturn</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
| <service-endpoint-method-mapping>
| <java-method-name>setName</java-method-name>
| <wsdl-operation>setName</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS='http://DefaultNamespace'>wsdlMsgNS:setNameRequest</wsdl-message>
| <wsdl-message-part-name>in0</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| </service-endpoint-method-mapping>
| </service-endpoint-interface-mapping>
| </java-wsdl-mapping>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993900#3993900
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993900
More information about the jboss-user
mailing list