File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "javax.xml.rpc.JAXRPCException ??????? " Watch "javax.xml.rpc.JAXRPCException ??????? " New topic
Author

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

Anisul Huq
Greenhorn

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.

Bye.


[Devaka: Added code tags]
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3164
    
  47

"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
    
    1
Hi!
Can you enclose the WSDL of the service?
Best wishes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.xml.rpc.JAXRPCException ???????