on 12-12-2007 8:53 AM
I am trying to consume a wsdlf file through wd for java. I created a model already and now set for the implementation.
My webservice has a method called
storeFile(String, byte)
But in the proxy class <b>Config1BindingStub</b> I see 2 methods created:
public com.comp.proxies.types.StoreFileResponse storeFile(com.comp.proxies.types.StoreFile parameters)
AND
public void storeFile(java.lang.String fileName, byte fileContent)
So in my WD View if I call the proxy methods this way:
Config1BindingStub c = (Config1BindingStub)ser.getLogicalPort(Config1BindingStub.class);
c.storeFile(filename,filedata);
I get an error for
c.storeFile(filename,filedata);
saying:
<b>The method storeFile(StoreFile) in the type Config1BindingStub is not applicable for the arguments (String, byte[])</b>
This seems to be an overridden method.
What can I do about it.
Please help. Points assured.
hi portal d,
your storefile(String filename, byte data) of the webservice looks strange.
better: storefile(String filename, byte[] data)?
that it is applicable for arguments String, byte[].
regards, jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.