File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes javax.xml.rpc.JAXRPCException ??????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "javax.xml.rpc.JAXRPCException ??????? " Watch "javax.xml.rpc.JAXRPCException ??????? " New topic

javax.xml.rpc.JAXRPCException ???????

Anisul Huq

Joined: May 06, 2010
Posts: 1
I have deployed a simple web service using Apache Tomcat 6.0 and Axis 1.4 in Windows XP. Now the server is very simple:

Now if the client doesn't send any parameters then everything works well. But as sson as I try to send a parameter to the server, I get the following error:

"javax.xml.rpc.JAXRPCException: Number of parameters passed in (0) doesn't match the number of IN/INOUT parameters (1) from the addParameter() calls"

Why is this happening??? My client is also very simple:

Please guys, I need to solve this problem with in the next couple of days.


[Devaka: Added code tags]
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3912

"asad fx", please check your private messages regarding an important administrative matter.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Can you enclose the WSDL of the service?
Best wishes!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: javax.xml.rpc.JAXRPCException ???????
It's not a secret anymore!