and another problem i encounter
i overloading three methods
getByCriteria(java.lang.Object identity, java.lang.String transactionId,
java.lang.String databaseServiceName, java.lang.String tableName, CriteriaTO
criteriaTO, int from, int count) ;
getByCriteria(java.lang.Object identity, java.lang.String transactionId,
java.lang.String databaseServiceName, java.lang.String masterTableName,
java.util.HashMap parameterMap, boolean isSingleModel, CriteriaTO criteriaTO,
int from, int count)
getByCriteria(java.lang.Object identity, java.lang.String transactionId,
java.lang.String databaseServiceName, java.lang.String tableName,
java.lang.String[] columns, CriteriaTO criteriaTO, int from, int count)
jbossWS can't get the right method for me, but i check the wsdl and mapping
file they do a great job. i show some snippet code
<java-method-name>getByCriteria</java-method-name>
<wsdl-operation>getByCriteria</wsdl-operation>
<java-method-name>getByCriteria</java-method-name>
<wsdl-operation>getByCriteria2</wsdl-operation>
<java-method-name>getByCriteria</java-method-name>
<wsdl-operation>getByCriteria3</wsdl-operation>
when i used a DII to call the getByCriteria3 signature method, i think there
are bugs, i cut the error message:
[java] 2004-11-09 13:19:26,824 ERROR org.jboss.webservice.client.PortProxy[
WT-EventQueue-0] - Port error
[java] AxisFault
[java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.genera
Exception
[java] faultSubcode:
[java] faultString: Error invoking operation:
[java] javax.xml.rpc.JAXRPCException: Number of parameters passed in (8) do
sn't match the number of IN/INOUT parameters (9) from the addParameter() calls
[java] faultActor:
[java] faultNode:
[java] faultDetail:
[java] org.apache.axis.AxisFault: Error invoking operation:
[java] javax.xml.rpc.JAXRPCException: Number of parameters passed in (8) do
sn't match the number of IN/INOUT parameters (9) from the addParameter() calls
[java] at org.apache.axis.client.Call.invokeInternal(Call.java:1989)
[java] at org.apache.axis.client.Call.invoke(Call.java:1909)
[java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:175
[java] at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy
java:373)
[java] at $Proxy3.getByCriteria(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
orImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
odAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:9
)
[java] at $Proxy3.getByCriteria(Unknown Source)
[java] at com.walsin.delegate.TableHandlerDelegate.getByCriteria(Unknow
Source)
[java] at com.walsin.ui.component.ComponentFactory.retrieveComboBoxItem
FromDataBase(Unknown Source)
[java] at com.walsin.ui.component.ComponentFactory.retrieveComboBoxItem
(Unknown Source)
[java] at com.walsin.ui.component.ComponentFactory.getComponentsByKey(U
known Source)
[java] at com.walsin.ui.component.ComponentFactory.getComponentsByKey(U
known Source)
[java] at com.walsin.ui.component.ComponentFactory.getComponentsByKey(U
known Source)
[java] at com.walsin.ui.component.WalsinJCriteriaPanel.jbInit(Unknown S
urce)
[java] at com.walsin.ui.component.WalsinJCriteriaPanel.(Unknown S
urce)
[java] at com.walsin.ui.jstock.stkc.STKC01PM.jbInit(Unknown Source)
[java] at com.walsin.ui.jstock.stkc.STKC01PM.(Unknown Source)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
nstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
gatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:27
)
[java] at com.walsin.ui.jstock.JStockPortal.executeCommand(Unknown Sour
e)
[java] at com.walsin.ui.jstock.JStockPortal.access$600(Unknown Source)
[java] at com.walsin.ui.jstock.JStockPortal$6.mouseClicked(Unknown Sour
e)
[java] at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster
java:212)
[java] at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster
java:211)
[java] at java.awt.Component.processMouseEvent(Component.java:5103)
[java] at java.awt.Component.processEvent(Component.java:4897)
[java] at java.awt.Container.processEvent(Container.java:1569)
[java] at java.awt.Component.dispatchEventImpl(Component.java:3615)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1627)
[java] at java.awt.Component.dispatchEvent(Component.java:3477)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.j
va:3483)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.ja
a:3207)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3
28)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1613)
[java] at java.awt.Window.dispatchEventImpl(Window.java:1606)
[java] at java.awt.Component.dispatchEvent(Component.java:3477)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
patchThread.java:201)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
tchThread.java:151)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
va:145)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
va:137)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:100
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854378#3854378
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854378
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development