473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Cannot Request a Java Webservice

hi,

i have a java webservice which i would like to invoke from .net Application.

i am able to generate the proxy class, but if i try to invoke the webservice
i got an exception of type "java.lang.Nullpointer". if i run the webservice
in the debugmode i got an exception:

Message="Tried to invoke method public byte[]
mii.StandardObjects.DocumentSecurity.WebSignature. SignDocument(byte[],java.lang.String,java.lang.String,java.lang.Strin g,java.lang.String,java.lang.String,java.lang.Stri ng,boolean,java.lang.String)
throws java.lang.Exception with arguments
[B,null,null,null,null,null,null,null,null. The arguments do not match the
signature.; nested exception is: \n\tjava.lang.IllegalArgumentException"

the function behind the webservice:

JAVA:
public byte[] SignDocument(byte[] document, String sCredential, String PWD,
String reason, String Location,
String contactInfo,String SigPermissions, boolean LockSignatureField,
String legalAttest) throws Exception

..NET Client invokes the webservice in this way:
sbyte[]
signedDocument=myService.SignDocument(sbDocument," InvoiceAdmin","password","reason","loc","contin"," NO_CHANGES",true,"aa");

i can post the wsdl if it is neccessary.

please help


Mar 15 '06 #1
0 1150

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Nalaka | last post by:
Hi, I have a webservice application(asp.net 2.0) running on IIS 6.0 ... win 2003. I can call the webservice from the local machine, but if I call the web service from a different machine, the...
2
by: Tim Reynolds | last post by:
Team, When my web service throws an exception and I am debugging on my PC - I get the exception back in my browser fine. My web.config shows <customErrors mode="Off"/> and this is working well. ...
8
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
0
by: shaily | last post by:
hi I have a java web service called "Registration service" and C# client which is a consumer of that service java web service running under Tomcat has following interface API exposed ...
2
by: Bjarne | last post by:
Dear all, although being a user of PHP and other scripting-languages for years, I have not taken part in any large projects based on PHP. Thus, I don't really know how real PHP-applications are...
1
by: Shiva48 | last post by:
Thanks to Gannon11 and ro351988- Moderator. I give below the complete Java file and pls help me to rectify the errors. package com.wrox.proj2ee.ch10.app; import java.io.*; import...
3
by: elh.maayan | last post by:
hi... i'm trying to use axis2 to call a dotnet web service.. public class Service : System.Web.Services.WebService { public Service () {} public string HelloWorld() { return "Hello World";...
5
by: creative1 | last post by:
hi, I am new at writing JSP and Servlets. When I compile my serverlet I get follwoing error cannot find mymbol method parseDate(java.lang.String) I have follwoing code: Code: ( text )...
4
by: eschneider | last post by:
I get the following error when trying to browse the .asmx. I get the same thing when trying to add a reference. using .NET 2.0 There is no error message. Any ideas? Thanks,
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.