[jboss-user] [JBoss jBPM] - org.jboss.ws.WSException: Cannot find java method
gygerl
do-not-reply at jboss.com
Wed Nov 22 11:01:38 EST 2006
Hello,
I need to access a Uniface webservice (rpc) containing complex types.
Access to Uniface service without complex types was ok.
In this case, complex types are defined in different namespaces.
I get the following error :
16:41:13,119 ERROR [ServiceProxy] Service error
| javax.xml.rpc.ServiceException: Cannot create proxy
| at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:380)
| at org.jboss.ws.jaxrpc.ServiceImpl.getPort(ServiceImpl.java:329)
| 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 org.jboss.ws.jaxrpc.ServiceProxy.invoke(ServiceProxy.java:130)
| at $Proxy63.getSIPSVMANDANTSPort(Unknown Source)
| at ch.ne.gubpm.server.ejb.SessionFacadeBean.callSIPP(SessionFacadeBean.java:1008)
| 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 org.jboss.invocation.Invocation.performCall(Invocation.java:359)
| at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
| at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
| at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
| at org.jboss.ws.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:39)
| at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
| at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
| at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
| at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
| at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
| at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
| at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
| at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
| at org.jboss.ejb.Container.invoke(Container.java:954)
| 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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
| at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
| 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
| at sun.rmi.transport.Transport$1.run(Transport.java:153)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.ws.WSException: Cannot find java method: saveMandants
| at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:211)
| at org.jboss.ws.metadata.EndpointMetaData.getOperation(EndpointMetaData.java:319)
| at org.jboss.ws.jaxrpc.MetaDataSynchronization.synchronizeServiceEndpointInterface(MetaDataSynchronization.java:57)
| at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:365)
| ... 48 more
| 16:41:15,159 ERROR [SessionFacadeBean] Could not retreive information from SIPP Web service.Cannot create proxy
ServiceMetaData seems to be defined correctly according to wsdl :
WSDL (concatenation of 3 original files) :
<?xml version="1.0" encoding="UTF-8"?>
| <definitions name="SIPSVMANDANTS"
| targetNamespace="urn:uniface:applic:services:SIPSVMANDANTS"
| xmlns:tns="urn:uniface:applic:services:SIPSVMANDANTS"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
| xmlns="http://schemas.xmlsoap.org/wsdl/">
| xmlns:tns1="urn:uniface:applic:services:SIPP_WSMANDANTS_IN"
| xmlns:tns2="urn:uniface:applic:services:SIPP_WSMANDANTS_OUT">
|
| <types>
| <schema targetNamespace='urn:uniface:applic:services:SIPP_WSMANDANTS_IN'
| xmlns='http://www.w3.org/2001/XMLSchema'
| xmlns:tns1='urn:uniface:applic:services:SIPP_WSMANDANTS_IN'>
| <complexType name="SIPP_WSMANDANTS_INType">
| <all>
| <element name="ID_MANDATAIRE" type="xsd:string" nillable="true" minOccurs="0"/>
| <element name="ID_MANDANT" type="xsd:string" nillable="true" minOccurs="0"/>
| <element name="ACTION" type="xsd:string" nillable="true" minOccurs="0"/>
| </all>
| </complexType>
|
| <complexType final="#all" name="SIPP_WSMANDANTS_INArray">
| <sequence>
| <element type="tns1:SIPP_WSMANDANTS_INType" nillable="true" maxOccurs="unbounded" name="Item" minOccurs="0"/>
| </sequence>
| </complexType>
| </schema>
| <schema targetNamespace='urn:uniface:applic:services:SIPP_WSMANDANTS_OUT'
| xmlns='http://www.w3.org/2001/XMLSchema'
| xmlns:tns2='urn:uniface:applic:services:SIPP_WSMANDANTS_OUT'>
| <complexType name="SIPP_WSMANDANTS_OUTType">
| <all>
| <element name="ID_MANDANT" type="xsd:string" nillable="true" minOccurs="0"/>
| <element name="MANDANT" type="xsd:string" nillable="true" minOccurs="0"/>
| <element name="STATUT" type="xsd:string" nillable="true" minOccurs="0"/>
| </all>
| </complexType>
| <complexType final="#all" name="SIPP_WSMANDANTS_OUTArray">
| <sequence>
| <element type="tns2:SIPP_WSMANDANTS_OUTType" nillable="true" maxOccurs="unbounded" name="Item" minOccurs="0"/>
| </sequence>
| </complexType>
| </schema>
| </types>
|
| <message name="ACCEPTRequest"/>
| <message name="EXECRequest"/>
| <message name="QUITRequest"/>
| <message name="SAVE_MANDANTSRequest">
| <part name="GENERATED_PARAMETER_NAME_1" type="tns:SIPP_WSMANDANTS_INArray"/>
| </message>
| <message name="ACCEPTResponse">
| <part name="return" type="xsd:int"/>
| </message>
| <message name="EXECResponse">
| <part name="return" type="xsd:int"/>
| </message>
| <message name="QUITResponse">
| <part name="return" type="xsd:int"/>
| </message>
| <message name="SAVE_MANDANTSResponse">
| <part name="return" type="xsd:int"/>
| <part name="GENERATED_PARAMETER_NAME_2" type="tns:SIPP_WSMANDANTS_OUTArray"/>
| </message>
|
| <portType name="SIPSVMANDANTSPortType">
| <operation name="ACCEPT">
| <input message="tns:ACCEPTRequest"/>
| <output message="tns:ACCEPTResponse"/>
| </operation>
| <operation name="EXEC">
| <input message="tns:EXECRequest"/>
| <output message="tns:EXECResponse"/>
| </operation>
| <operation name="QUIT">
| <input message="tns:QUITRequest"/>
| <output message="tns:QUITResponse"/>
| </operation>
| <operation name="SAVE_MANDANTS">
| <input message="tns:SAVE_MANDANTSRequest"/>
| <output message="tns:SAVE_MANDANTSResponse"/>
| </operation>
| </portType>
|
| <binding name="SIPSVMANDANTSBinding" type="tns:SIPSVMANDANTSPortType">
| <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
| <operation name="ACCEPT">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
| namespace="urn:literal:applic:services:SIPSVMANDANTS"/>
| </input>
| <output>
| <soap:body use="literal"
| namespace="urn:uniface:applic:services:SIPSVMANDANTS"/>
| </output>
| </operation>
| <operation name="EXEC">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
| namespace="urn:uniface:applic:services:SIPSVMANDANTS"/>
| </input>
| <output>
| <soap:body use="literal"
| namespace="urn:uniface:applic:services:SIPSVMANDANTS"/>
| </output>
| </operation>
| <operation name="QUIT">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
| namespace="urn:uniface:applic:services:SIPSVMANDANTS"/>
| </input>
| <output>
| <soap:body use="literal"
| namespace="urn:uniface:applic:services:SIPSVMANDANTS"/>
| </output>
| </operation>
| <operation name="SAVE_MANDANTS">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"
| namespace="urn:uniface:applic:services:SIPSVMANDANTS"/>
| </input>
| <output>
| <soap:body use="literal"
| namespace="urn:uniface:applic:services:SIPSVMANDANTS"/>
| </output>
| </operation>
| </binding>
|
| <service name="SIPSVMANDANTSService">
| <port name="SIPSVMANDANTS" binding="tns:SIPSVMANDANTSBinding">
| <soap:address location="http://wsstin093:8080/sipp_ws/services/SIPSVMANDANTS"/>
| </port>
| </service>
| </definitions>
|
OperationMetaData:
| ServiceMetaData:
| name={urn:uniface:applic:services:SIPSVMANDANTS}SIPSVMANDANTSService
| wsdName=null
| wsdlFile=jar:file:/C:/GUBPM/jboss-4.0.4.GA/server/default/tmp/deploy/tmp46880gubpm-server-ejb.jar!/META-INF/wsdl/SIPSVMANDANTSService.wsdl
| jaxrpcFile=http://www.jboss.org/jbossws/dummy-mapping-url
| publishLocation=null
| properties=null
|
| TypesMetaData:
| [complexType={urn:uniface:applic:services:SIPP_WSMANDANTS_IN}SIPP_WSMANDANTS_INType,javaType=ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_IN]
| [complexType={urn:uniface:applic:services:SIPP_WSMANDANTS_OUT}SIPP_WSMANDANTS_OUTType,javaType=ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_OUT]
| [complexType={urn:uniface:applic:services:SIPSVMANDANTS}SIPP_WSMANDANTS_INArray,javaType=ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_IN[]]
| <schema targetNamespace='urn:uniface:applic:services:SIPP_WSMANDANTS_OUT' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns3='urn:uniface:applic:services:SIPP_WSMANDANTS_IN' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='urn:uniface:applic:services:SIPP_WSMANDANTS_OUT' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <import namespace='urn:uniface:applic:services:SIPP_WSMANDANTS_IN'/>
| <complexType name='SIPP_WSMANDANTS_OUTArray'>
| <sequence>
| <element maxOccurs='unbounded' minOccurs='0' name='Item' nillable='true' type='tns:SIPP_WSMANDANTS_OUTType'/>
| </sequence>
| </complexType>
| <complexType name='SIPP_WSMANDANTS_OUTType'>
| <all>
| <element maxOccurs='1' minOccurs='0' name='ID_MANDANT' nillable='true' type='string'/>
| <element maxOccurs='1' minOccurs='0' name='MANDANT' nillable='true' type='string'/>
| <element maxOccurs='1' minOccurs='0' name='STATUT' nillable='true' type='string'/>
| </all>
| </complexType>
| </schema>
| <schema targetNamespace='urn:uniface:applic:services:SIPP_WSMANDANTS_IN' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns2='urn:uniface:applic:services:SIPP_WSMANDANTS_OUT' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='urn:uniface:applic:services:SIPP_WSMANDANTS_IN' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <import namespace='urn:uniface:applic:services:SIPP_WSMANDANTS_OUT'/>
| <complexType name='SIPP_WSMANDANTS_INArray'>
| <sequence>
| <element maxOccurs='unbounded' minOccurs='0' name='Item' nillable='true' type='tns:SIPP_WSMANDANTS_INType'/>
| </sequence>
| </complexType>
| <complexType name='SIPP_WSMANDANTS_INType'>
| <all>
| <element maxOccurs='1' minOccurs='0' name='ID_MANDATAIRE' nillable='true' type='string'/>
| <element maxOccurs='1' minOccurs='0' name='ID_MANDANT' nillable='true' type='string'/>
| <element maxOccurs='1' minOccurs='0' name='ACTION' nillable='true' type='string'/>
| </all>
| </complexType>
| </schema>
|
|
| ClientEndpointMetaData:
| name={urn:uniface:applic:services:SIPSVMANDANTS}SIPSVMANDANTS
| address=http://wsstin093:8080/sipp_ws/services/SIPSVMANDANTS
| seiName=ch.ne.gubpm.ws.client.sipp.SIPSVMANDANTS
| configFile=META-INF/standard-jbossws-client-config.xml
| configName=Standard Client
| authMethod=null
| transportGuarantee=null
| properties=null
|
| OperationMetaData:
| xmlName={urn:uniface:applic:services:SIPSVMANDANTS}ACCEPT
| javaName=accept
| style=rpc/literal
| oneWay=false
| soapAction=
| ReturnMetaData:
| xmlName=return
| xmlType={http://www.w3.org/2001/XMLSchema}int
| javaType=int
| mode=OUT
| inHeader=false
|
| OperationMetaData:
| xmlName={urn:uniface:applic:services:SIPSVMANDANTS}EXEC
| javaName=exec
| style=rpc/literal
| oneWay=false
| soapAction=
| ReturnMetaData:
| xmlName=return
| xmlType={http://www.w3.org/2001/XMLSchema}int
| javaType=int
| mode=OUT
| inHeader=false
|
| OperationMetaData:
| xmlName={urn:uniface:applic:services:SIPSVMANDANTS}QUIT
| javaName=quit
| style=rpc/literal
| oneWay=false
| soapAction=
| ReturnMetaData:
| xmlName=return
| xmlType={http://www.w3.org/2001/XMLSchema}int
| javaType=int
| mode=OUT
| inHeader=false
|
| OperationMetaData:
| xmlName={urn:uniface:applic:services:SIPSVMANDANTS}SAVE_MANDANTS
| javaName=saveMandants
| style=rpc/literal
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName=GENERATED_PARAMETER_NAME_1
| xmlType={urn:uniface:applic:services:SIPSVMANDANTS}SIPP_WSMANDANTS_INArray
| javaType=ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_IN[]
| mode=IN
| inHeader=false
| ParameterMetaData:
| xmlName=GENERATED_PARAMETER_NAME_2
| xmlType={urn:uniface:applic:services:SIPSVMANDANTS}SIPP_WSMANDANTS_OUTArray
| javaType=ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_OUT[]
| mode=OUT
| inHeader=false
| ReturnMetaData:
| xmlName=return
| xmlType={http://www.w3.org/2001/XMLSchema}int
| javaType=java.lang.Integer
| mode=OUT
| inHeader=false
jaxrpc-mapping.xml :
<?xml version='1.0' encoding='UTF-8'?>
| <java-wsdl-mapping version='1.1' 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'>
| <package-mapping>
| <package-type>ch.ne.gubpm.ws.client.sipp</package-type>
| <namespaceURI>urn:uniface:applic:services:SIPP_WSMANDANTS_IN</namespaceURI>
| </package-mapping>
| <package-mapping>
| <package-type>ch.ne.gubpm.ws.client.sipp</package-type>
| <namespaceURI>urn:uniface:applic:services:SIPP_WSMANDANTS_OUT</namespaceURI>
| </package-mapping>
| <package-mapping>
| <package-type>ch.ne.gubpm.ws.client.sipp</package-type>
| <namespaceURI>urn:uniface:applic:services:SIPSVMANDANTS</namespaceURI>
| </package-mapping>
|
| <java-xml-type-mapping>
| <java-type>ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_IN</java-type>
| <root-type-qname xmlns:typeNS='urn:uniface:applic:services:SIPP_WSMANDANTS_IN'>typeNS:SIPP_WSMANDANTS_INType</root-type-qname>
| <qname-scope>complexType</qname-scope>
| <variable-mapping>
| <java-variable-name>ID_MANDATAIRE</java-variable-name>
| <xml-element-name>ID_MANDATAIRE</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>ID_MANDANT</java-variable-name>
| <xml-element-name>ID_MANDANT</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>ACTION</java-variable-name>
| <xml-element-name>ACTION</xml-element-name>
| </variable-mapping>
| </java-xml-type-mapping>
|
| <java-xml-type-mapping>
| <java-type>ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_OUT</java-type>
| <root-type-qname xmlns:typeNS='urn:uniface:applic:services:SIPP_WSMANDANTS_OUT'>typeNS:SIPP_WSMANDANTS_OUTType</root-type-qname>
| <qname-scope>complexType</qname-scope>
| <variable-mapping>
| <java-variable-name>ID_MANDANT</java-variable-name>
| <xml-element-name>ID_MANDANT</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>MANDANT</java-variable-name>
| <xml-element-name>MANDANT</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>STATUT</java-variable-name>
| <xml-element-name>STATUT</xml-element-name>
| </variable-mapping>
| </java-xml-type-mapping>
|
| <service-interface-mapping>
| <service-interface>ch.ne.gubpm.ws.client.sipp.SIPSVMANDANTSService</service-interface>
| <wsdl-service-name xmlns:serviceNS='urn:uniface:applic:services:SIPSVMANDANTS'>serviceNS:SIPSVMANDANTSService</wsdl-service-name>
| <port-mapping>
| <port-name>SIPSVMANDANTS</port-name>
| <java-port-name>SIPSVMANDANTSPort</java-port-name>
| </port-mapping>
| </service-interface-mapping>
|
| <service-endpoint-interface-mapping>
| <service-endpoint-interface>ch.ne.gubpm.ws.client.sipp.SIPSVMANDANTS</service-endpoint-interface>
| <wsdl-port-type xmlns:portTypeNS='urn:uniface:applic:services:SIPSVMANDANTS'>portTypeNS:SIPSVMANDANTSPortType</wsdl-port-type>
| <wsdl-binding xmlns:bindingNS='urn:uniface:applic:services:SIPSVMANDANTS'>bindingNS:SIPSVMANDANTSBinding</wsdl-binding>
|
| <service-endpoint-method-mapping>
| <java-method-name>accept</java-method-name>
| <wsdl-operation>ACCEPT</wsdl-operation>
| <wsdl-return-value-mapping>
| <method-return-value>int</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS='urn:uniface:applic:services:SIPSVMANDANTS'>wsdlMsgNS:ACCEPT</wsdl-message>
| <wsdl-message-part-name>result</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
|
| <service-endpoint-method-mapping>
| <java-method-name>exec</java-method-name>
| <wsdl-operation>EXEC</wsdl-operation>
| <wsdl-return-value-mapping>
| <method-return-value>int</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS='urn:uniface:applic:services:SIPSVMANDANTS'>wsdlMsgNS:EXEC</wsdl-message>
| <wsdl-message-part-name>result</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
|
| <service-endpoint-method-mapping>
| <java-method-name>quit</java-method-name>
| <wsdl-operation>QUIT</wsdl-operation>
| <wsdl-return-value-mapping>
| <method-return-value>int</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS='urn:uniface:applic:services:SIPSVMANDANTS'>wsdlMsgNS:QUIT</wsdl-message>
| <wsdl-message-part-name>result</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
|
| <service-endpoint-method-mapping>
| <java-method-name>saveMandants</java-method-name>
| <wsdl-operation>SAVE_MANDANTS</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_IN[]</param-type>
| <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS='urn:uniface:applic:services:SIPSVMANDANTS'>SAVE_MANDANTS</wsdl-message>
| <wsdl-message-part-name>GENERATED_PARAMETER_NAME_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>int</param-type>
| <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS='urn:uniface:applic:services:SIPSVMANDANTS'>wsdlMsgNS:SAVE_MANDANTS</wsdl-message>
| <wsdl-message-part-name>result</wsdl-message-part-name>
| <parameter-mode>OUT</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <method-param-parts-mapping>
| <param-position>2</param-position>
| <param-type>ch.ne.gubpm.ws.client.sipp.SIPP_WSMANDANTS_OUT[]</param-type>
| <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS='urn:uniface:applic:services:SIPSVMANDANTS'>SAVE_MANDANTS</wsdl-message>
| <wsdl-message-part-name>GENERATED_PARAMETER_NAME_2</wsdl-message-part-name>
| <parameter-mode>OUT</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| </service-endpoint-method-mapping>
|
| </service-endpoint-interface-mapping>
| </java-wsdl-mapping>
Calling is made the following way :
InitialContext iniCtx = getInitialContext();
| SIPSVMANDANTSService service = (SIPSVMANDANTSService) iniCtx
| .lookup("java:comp/env/service/SIPSVMANDANTS");
| SIPSVMANDANTS port = service.getSIPSVMANDANTSPort();
service is defined in file ejb-jar.xml as :
<service-ref>
| <service-ref-name>service/SIPSVMANDANTS</service-ref-name>
| <service-interface>ch.ne.gubpm.ws.client.sipp.SIPSVMANDANTSService</service-interface>
| <wsdl-file>META-INF/wsdl/SIPSVMANDANTSService.wsdl</wsdl-file>
| <jaxrpc-mapping-file>META-INF/sipp/jaxrpc-mapping.xml</jaxrpc-mapping-file>
| <port-component-ref>
| <service-endpoint-interface>ch.ne.gubpm.ws.client.sipp.SIPSVMANDANTS</service-endpoint-interface>
| </port-component-ref>
| </service-ref>
Any idea of what i did wrong ?
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987923#3987923
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987923
More information about the jboss-user
mailing list