Java - example won't build

1 post / 0 new
amayers
Offline
Joined: 3 Nov 2005
Java - example won't build

First, Thanks grubhubdevel for the Java 1.5 compatible jar. Would be nice if interfax.net would support 1.5 ... especially since you did most of the work for them ;~).

second,

having a problem building the sample code since my Java insists that a "Provider.Service" takes 6 parameters as below :

Constructor Summary
Provider.Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)
Construct a new service

and the interfax.net sample java has one parameter as here :

public void sendFax() {
...

InterFaxSoapStub ifs = new InterFaxSoapStub(new URL("http://ws.interfax.net/DFS.asmx"), new Provider.Service(new QName("SendCharFax")));

I'm no SOAP wiz, so could someone lend a hand with telling me how to build.

TO:interfax.net technical support -- You should always provide the entire .java file in a sample, so that it's obvious what import statements should are being used.