Hi Alon, Thanks for the suggestions. Here are the files and information as you requested:
wscompile params (I'm using 1.6): | wscompile -cp target/classes -gen:server -f:documentliteral -f:wsi -keep -d target/classes -nd src/resources/META-INF/wsdl -s src/java -mapping src/resources/META-INF/GetPathService_JAXRPC_Mapping.xml config.xml | The WSDL file: | <?xml version="1.0" encoding="UTF-8"?> | <definitions name="GetPatchService" targetNamespace="http://spc.intuit.com/oi/messaging/ws" xmlns:tns="http://spc.intuit.com/oi/messaging/ws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://spc.intuit.com/oi/messaging/ws/types" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> | <types> | <schema targetNamespace="http://spc.intuit.com/oi/messaging/ws/types" xmlns:tns="http://spc.intuit.com/oi/messaging/ws/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema"> | | <element name="getPatch"> | <complexType> | <sequence> | <element name="String_1" type="string" nillable="true"/> | <element name="String_2" type="string" nillable="true"/> | </sequence> | </complexType> | </element> | <element name="getPatchResponse"> | <complexType> | <sequence> | <element name="result" type="string" nillable="true"/> | </sequence> | </complexType> | </element> | </schema> | </types> | <message name="GetPatch_getPatch"> | <part name="parameters" element="ns2:getPatch"/> | </message> | <message name="GetPatch_getPatchResponse"> | <part name="result" element="ns2:getPatchResponse"/> | </message> | <portType name="GetPatch"> | <operation name="getPatch"> | <input message="tns:GetPatch_getPatch"/> | <output message="tns:GetPatch_getPatchResponse"/> | </operation> | </portType> | <binding name="GetPatchBinding" type="tns:GetPatch"> | <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> | <operation name="getPatch"> | <soap:operation soapAction=""/> | <input> | <soap:body use="literal"/> | </input> | <output> | <soap:body use="literal"/> | </output> | </operation> | </binding> | <service name="GetPatchService"> | <port name="GetPatchPort" binding="tns:GetPatchBinding"> | <soap:address location="REPLACE_WITH_ACTUAL_URL"/> | </port> | </service> | </definitions> | The JAXRPC mapping file: | <?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>com.intuit.offeringIntegration.messaging.ws</package-type> | <namespaceURI>http://spc.intuit.com/oi/messaging/ws/types</namespaceURI> | </package-mapping> | <package-mapping> | <package-type>com.intuit.offeringIntegration.messaging.ws</package-type> | <namespaceURI>http://spc.intuit.com/oi/messaging/ws</namespaceURI> | </package-mapping> | <java-xml-type-mapping> | <java-type>com.intuit.offeringIntegration.messaging.ws.GetPatch_getPatch_RequestStruct</java-type> | <root-type-qname xmlns:typeNS="http://spc.intuit.com/oi/messaging/ws/types">typeNS:getPatch</root-type-qname> | <qname-scope>complexType</qname-scope> | <variable-mapping> | <java-variable-name>String_1</java-variable-name> | <xml-element-name>String_1</xml-element-name> | </variable-mapping> | <variable-mapping> | <java-variable-name>String_2</java-variable-name> | <xml-element-name>String_2</xml-element-name> | </variable-mapping> | </java-xml-type-mapping> | <java-xml-type-mapping> | <java-type>com.intuit.offeringIntegration.messaging.ws.GetPatch_getPatch_ResponseStruct</java-type> | <root-type-qname xmlns:typeNS="http://spc.intuit.com/oi/messaging/ws/types">typeNS:getPatchResponse</root-type-qname> | <qname-scope>complexType</qname-scope> | <variable-mapping> | <java-variable-name>result</java-variable-name> | <xml-element-name>result</xml-element-name> | </variable-mapping> | </java-xml-type-mapping> | <service-interface-mapping> | <service-interface>com.intuit.offeringIntegration.messaging.ws.GetPatchService</service-interface> | <wsdl-service-name xmlns:serviceNS="http://spc.intuit.com/oi/messaging/ws">serviceNS:GetPatchService</wsdl-service-name> | <port-mapping> | <port-name>GetPatchPort</port-name> | <java-port-name>GetPatchPort</java-port-name> | </port-mapping> | </service-interface-mapping> | <service-endpoint-interface-mapping> | <service-endpoint-interface>com.intuit.offeringIntegration.messaging.ws.GetPatch</service-endpoint-interface> | <wsdl-port-type xmlns:portTypeNS="http://spc.intuit.com/oi/messaging/ws">portTypeNS:GetPatch</wsdl-port-type> | <wsdl-binding xmlns:bindingNS="http://spc.intuit.com/oi/messaging/ws">bindingNS:GetPatchBinding</wsdl-binding> | <service-endpoint-method-mapping> | <java-method-name>getPatch</java-method-name> | <wsdl-operation>getPatch</wsdl-operation> | <wrapped-element/> | <method-param-parts-mapping> | <param-position>0</param-position> | <param-type>java.lang.String</param-type> | <wsdl-message-mapping> | <wsdl-message xmlns:wsdlMsgNS="http://spc.intuit.com/oi/messaging/ws">wsdlMsgNS:GetPatch_getPatch</wsdl-message> | <wsdl-message-part-name>String_1</wsdl-message-part-name> | <parameter-mode>IN</parameter-mode> | </wsdl-message-mapping> | </method-param-parts-mapping> | <method-param-parts-mapping> | <param-position>1</param-position> | <param-type>java.lang.String</param-type> | <wsdl-message-mapping> | <wsdl-message xmlns:wsdlMsgNS="http://spc.intuit.com/oi/messaging/ws">wsdlMsgNS:GetPatch_getPatch</wsdl-message> | <wsdl-message-part-name>String_2</wsdl-message-part-name> | <parameter-mode>IN</parameter-mode> | </wsdl-message-mapping> | </method-param-parts-mapping> | <wsdl-return-value-mapping> | <method-return-value>java.lang.String</method-return-value> | <wsdl-message xmlns:wsdlMsgNS="http://spc.intuit.com/oi/messaging/ws">wsdlMsgNS:GetPatch_getPatchResponse</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> | The JBoss generated WSDD file: | <deployment | xmlns='http://xml.apache.org/axis/wsdd/' | xmlns:java='http://xml.apache.org/axis/wsdd/providers/java' | xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/' | xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | xmlns:xsd='http://www.w3.org/2001/XMLSchema'> | | <service name='spc-oi-getPatchWS-1.0.jar#GetPatchService/GetPatch' style='document' use='literal' provider='Handler'> | | <parameter name='webserviceID' value='spc-oi-getPatchWS-1.0.jar#GetPatchService/GetPatch' /> | <parameter name='handlerClass' value='org.jboss.webservice.server.InvokerProviderEJB' /> | | <operation name='getPatch' qname='ns1:getPatch' returnQName='ns2:getPatchResponse' returnType='ns2:getPatchResponse' xmlns:ns1='http://spc.intuit.com/oi/messaging/ws' xmlns:ns2='http://spc.intuit.com/oi/messaging/ws/types' > | <parameter name='parameters' qname='ns2:getPatch' mode='IN' type='ns2:getPatch' xmlns:ns2='http://spc.intuit.com/oi/messaging/ws/types' /> | </operation> | | <typeMapping | qname='ns2:getPatch' xmlns:ns2='http://spc.intuit.com/oi/messaging/ws/types' | type='java:com.intuit.offeringIntegration.messaging.ws.GetPatch_getPatch_RequestStruct' | serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory' | deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory' | encodingStyle=''> | <typeDesc> | <elementDesc fieldName='String_1' xmlName='String_1'/> | <elementDesc fieldName='String_2' xmlName='String_2'/> | <elementOrder> | <element name='String_1'/> | <element name='String_2'/> | </elementOrder> | </typeDesc> | </typeMapping> | | <typeMapping | qname='ns2:getPatchResponse' xmlns:ns2='http://spc.intuit.com/oi/messaging/ws/types' | type='java:com.intuit.offeringIntegration.messaging.ws.GetPatch_getPatch_ResponseStruct' | serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory' | deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory' | encodingStyle=''> | <typeDesc> | <elementDesc fieldName='result' xmlName='result'/> | <elementOrder> | <element name='result'/> | </elementOrder> | </typeDesc> | </typeMapping> | </service> | </deployment> | And finally, the error messages with DEBUG on: | 2005-10-13 16:35:59,975 DEBUG [org.jboss.webservice.EngineConfigurationFinder] Found config at: jar:file:/C:/Documents%20and%20Settings/YZhang/.maven/repository/jboss/jars/jboss-ws4ee-client-4.0.3.jar!/META-INF/axis-client-config.xml | 2005-10-13 16:35:59,975 DEBUG [org.jboss.axis.AxisEngine] Enter: AxisEngine::init | 2005-10-13 16:36:00,257 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] getBundle(org.jboss.axis,org.jboss.axis.i18n,resource,null,...) | 2005-10-13 16:36:00,272 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.jboss.axis.resource, locale en_US | 2005-10-13 16:36:00,272 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] Created org.jboss.axis.i18n.resource, linked to parent null | 2005-10-13 16:36:00,288 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] getBundle(org.jboss.axis,org.jboss.axis.utils,resource,null,...) | 2005-10-13 16:36:00,288 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.jboss.axis.utils.resource, locale en_US | 2005-10-13 16:36:00,288 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.jboss.axis.resource, locale en_US | 2005-10-13 16:36:00,288 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] Root package not found, cross link to org.jboss.axis.i18n.resource | 2005-10-13 16:36:00,288 DEBUG [org.jboss.axis.i18n.ProjectResourceBundle] Root package not found, cross link to org.jboss.axis.i18n.resource | 2005-10-13 16:36:00,288 DEBUG [org.jboss.axis.utils.JavaUtils] Attachment support is enabled? false | 2005-10-13 16:36:00,491 DEBUG [org.jboss.axis.AxisEngine] Exit: AxisEngine::init | 2005-10-13 16:36:00,772 DEBUG [org.jboss.webservice.metadata.wsdl.WSDL11DefinitionFactory] getBaseInputSource [wsdlUrl=http://localhost:8080/spc-oi-getPatchWS-1/GetPatch?wsdl] | 2005-10-13 16:36:00,866 DEBUG [org.jboss.webservice.deployment.ServiceDescription] Using type uri to obtain package: http://spc.intuit.com/oi/messaging/ws/types -> com.intuit.spc | 2005-10-13 16:36:00,866 DEBUG [org.jboss.webservice.deployment.ServiceDescription] Guessing the javaType from typeQName: {http://spc.intuit.com/oi/messaging/ws/types}getPatch -> com.intuit.spc.getPatch | 2005-10-13 16:36:00,866 DEBUG [org.jboss.webservice.deployment.ServiceDescription] Using type uri to obtain package: http://spc.intuit.com/oi/messaging/ws/types -> com.intuit.spc | 2005-10-13 16:36:00,866 DEBUG [org.jboss.webservice.deployment.ServiceDescription] Guessing the javaType from typeQName: {http://spc.intuit.com/oi/messaging/ws/types}getPatchResponse -> com.intuit.spc.getPatchResponse | 2005-10-13 16:36:00,866 DEBUG [org.jboss.webservice.deployment.ServiceDescription] No ws4ee deployment meta data available | 2005-10-13 16:36:00,866 DEBUG [org.jboss.webservice.client.ServiceImpl] initService: port=GetPatchPort | 2005-10-13 16:36:00,882 WARN [org.jboss.webservice.deployment.TypeMappingDescription] Class not found: com.intuit.spc.getPatch | 2005-10-13 16:36:00,882 WARN [org.jboss.webservice.deployment.TypeMappingDescription] Class not found: com.intuit.spc.getPatchResponse | 2005-10-13 16:36:00,913 DEBUG [org.jboss.axis.client.Call] Transport is [EMAIL PROTECTED] | 2005-10-13 16:36:00,944 DEBUG [org.jboss.webservice.client.PortProxy] Invoke on object: toString | 2005-10-13 16:36:00,944 DEBUG [org.jboss.webservice.client.PortProxy] Invoke on service endpoint interface: getPatch | 2005-10-13 16:36:00,975 DEBUG [org.jboss.axis.client.Call] Removing leading '>' from anonymous type{http://spc.intuit.com/oi/messaging/ws/types}>getPatchResponse | 2005-10-13 16:36:00,975 DEBUG [org.jboss.webservice.client.CallImpl] Fixing style: [was=rpc,is=document] | 2005-10-13 16:36:00,975 DEBUG [org.jboss.webservice.client.CallImpl] Fixing use: [was=encoded,is=literal] | 2005-10-13 16:36:00,975 ERROR [org.jboss.webservice.client.PortProxy] Port error | java.lang.IllegalStateException: Cannot obtain type mapping for: {http://spc.intuit.com/oi/messaging/ws/types}>getPatch | at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:150) | at $Proxy1.getPatch(Unknown Source) | at com.intuit.offeringIntegration.messaging.ws.GetPatchTest.testGetPatch_RPC(GetPatchTest.java:49) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901030#3901030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901030 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
