[jboss-user] [JBossWS] - Re: Unable to create JavaBean of type org.w3c.dom.Element

amit_sri do-not-reply at jboss.com
Mon Sep 18 03:06:02 EDT 2006


Hi Dave,

Thanks for your response. The following mapping file is generated by the wscompile tool which looks OK to me.
Let me know if you have any comments.

Thanks,
Amit 

<?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" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee    http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
  |   <package-mapping>
  |     <package-type>oracle.idm.provisioning.ws.server</package-type>
  |     <namespaceURI>http://xmlns.oracle.com/FIDM/provisioning/types</namespaceURI>
  |   </package-mapping>
  |   <package-mapping>
  |     <package-type>oracle.idm.provisioning.ws.server</package-type>
  |     <namespaceURI>http://xmlns.oracle.com/FIDM/provisioning/</namespaceURI>
  |   </package-mapping>
  |   <java-xml-type-mapping>
  |     <java-type>org.w3c.dom.Element</java-type>
  |     <root-type-qname xmlns:typeNS="http://xmlns.oracle.com/FIDM/provisioning/types">typeNS:Element</root-type-qname>
  |     <qname-scope>complexType</qname-scope>
  |     <variable-mapping>
  |       <java-variable-name>nodeValue</java-variable-name>
  |       <xml-element-name>nodeValue</xml-element-name>
  |     </variable-mapping>
  |     <variable-mapping>
  |       <java-variable-name>prefix</java-variable-name>
  |       <xml-element-name>prefix</xml-element-name>
  |     </variable-mapping>
  |     <variable-mapping>
  |       <java-variable-name>textContent</java-variable-name>
  |       <xml-element-name>textContent</xml-element-name>
  |     </variable-mapping>
  |   </java-xml-type-mapping>
  |   <service-interface-mapping>
  |     <service-interface>oracle.idm.provisioning.ws.server.SpmlService</service-interface>
  |     <wsdl-service-name xmlns:serviceNS="http://xmlns.oracle.com/FIDM/provisioning/">serviceNS:SpmlService</wsdl-service-name>
  |     <port-mapping>
  |       <port-name>FIDMProvisioningPort</port-name>
  |       <java-port-name>FIDMProvisioningPort</java-port-name>
  |     </port-mapping>
  |   </service-interface-mapping>
  |   <service-endpoint-interface-mapping>
  |     <service-endpoint-interface>oracle.idm.provisioning.ws.server.FIDMProvisioning</service-endpoint-interface>
  |     <wsdl-port-type xmlns:portTypeNS="http://xmlns.oracle.com/FIDM/provisioning/">portTypeNS:FIDMProvisioning</wsdl-port-type>
  |     <wsdl-binding xmlns:bindingNS="http://xmlns.oracle.com/FIDM/provisioning/">bindingNS:FIDMProvisioningBinding</wsdl-binding>
  |     <service-endpoint-method-mapping>
  |       <java-method-name>processRequest</java-method-name>
  |       <wsdl-operation>processRequest</wsdl-operation>
  |       <method-param-parts-mapping>
  |         <param-position>0</param-position>
  |         <param-type>org.w3c.dom.Element</param-type>
  |         <wsdl-message-mapping>
  |           <wsdl-message xmlns:wsdlMsgNS="http://xmlns.oracle.com/FIDM/provisioning/">wsdlMsgNS:FIDMProvisioning_processRequest</wsdl-message>
  |           <wsdl-message-part-name>Element_1</wsdl-message-part-name>
  |           <parameter-mode>IN</parameter-mode>
  |         </wsdl-message-mapping>
  |       </method-param-parts-mapping>
  |       <wsdl-return-value-mapping>
  |         <method-return-value>org.w3c.dom.Element</method-return-value>
  |         <wsdl-message xmlns:wsdlMsgNS="http://xmlns.oracle.com/FIDM/provisioning/">wsdlMsgNS:FIDMProvisioning_processRequestResponse</wsdl-message>
  |         <wsdl-message-part-name>result</wsdl-message-part-name>
  |       </wsdl-return-value-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=3972202#3972202

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972202



More information about the jboss-user mailing list