cancel
Showing results for 
Search instead for 
Did you mean: 

Error consuming WSDL...Urgent

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)