469,590 Members | 2,464 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,590 developers. It's quick & easy.

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 988

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Nalaka | last post: by
reply views Thread by shaily | last post: by
1 post views Thread by Shiva48 | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.