This content has been marked as final.
Show 5 replies
-
1. Re: Problem with EJB Web Service with two params
thomas.diesler Apr 28, 2005 4:48 AM (in response to acxsjones) -
2. Re: Problem with EJB Web Service with two params
acxsjones Apr 28, 2005 10:19 AM (in response to acxsjones)No I had not read that item.
One more question:
Do you see any problems with getting around the problem by packaging up the params to my ejb in a single object and making that object the only param to the EJB.
Thanks -
3. Re: Problem with EJB Web Service with two params
jason.greene Apr 28, 2005 11:55 AM (in response to acxsjones)read the wiki :)
-
4. Re: Problem with EJB Web Service with two params
chwang Nov 17, 2005 6:12 PM (in response to acxsjones)you have to use wrapper.
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config"> <service name="OrderProcessService" targetNamespace="http://org.jboss.test.webservice/samples2" typeNamespace="http://org.jboss.test.webservice/samples2/types" packageName="org.jboss.test.webservice.samples2"> <interface name="org.jboss.test.webservice.samples2.OrderProcess"/> </service> </configuration> <!-- BEGIN manual modification --> <service-endpoint-interface-mapping> <service-endpoint-interface>org.jboss.test.webservice.samples2.OrderProcessWrapped</service-endpoint-interface> <wsdl-port-type xmlns:portTypeNS="http://org.jboss.test.webservice/samples2">portTypeNS:OrderProcess</wsdl-port-type> <wsdl-binding xmlns:bindingNS="http://org.jboss.test.webservice/samples2">bindingNS:OrderProcessBinding</wsdl-binding> <service-endpoint-method-mapping> <java-method-name>processOrder</java-method-name> <wsdl-operation>processOrder</wsdl-operation> <wrapped-element/> <method-param-parts-mapping> <param-position>0</param-position> <param-type>org.jboss.test.webservice.samples2.OrderProcess_processOrder_RequestStruct</param-type> <wsdl-message-mapping> <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.test.webservice/samples2">wsdlMsgNS:OrderProcess_processOrder</wsdl-message> <wsdl-message-part-name>parameters</wsdl-message-part-name> <parameter-mode>IN</parameter-mode> </wsdl-message-mapping> </method-param-parts-mapping> <wsdl-return-value-mapping> <method-return-value>org.jboss.test.webservice.samples2.OrderProcess_processOrder_ResponseStruct</method-return-value> <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.test.webservice/samples2">wsdlMsgNS:OrderProcess_processOrderResponse</wsdl-message> <wsdl-message-part-name>result</wsdl-message-part-name> </wsdl-return-value-mapping> </service-endpoint-method-mapping> </service-endpoint-interface-mapping> <!-- END manual modification -->
-
5. Re: Problem with EJB Web Service with two params
ashokkumarv Jan 4, 2006 3:50 AM (in response to acxsjones)"acxsjones" wrote:
I am having a problem with an ejb that has two params.
The ejb deploys fine, but when I go to http://localhost:8080/ws4ee/services
I get the following error:14:16:07,373 INFO [AxisServlet] Exception: org.jboss.axis.InternalException: java.lang.Exception: The OperationDesc for payBill was not synchronized to a method of com.unisys.os2200.demo.banking.webservices.BillPaymentEndPoint. at org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:870) at org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1217) at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1063) at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:984)
I am trying to do doc literal for the style.
Thanks for any help,
Ashok