Skip to content
Snippets Groups Projects
Commit dc93000b authored by Patient NTUMBA's avatar Patient NTUMBA
Browse files

Check validity of wsdl file

parent 30ea17c1
No related branches found
No related tags found
No related merge requests found
......@@ -540,7 +540,7 @@ public class PathResolver {
}
}
}else{;;}
}
......
......@@ -56,26 +56,28 @@ public class Java2WSDL {
}
String service_name = Constants.soap_service_name;
String[] arguments = {//"-o", generatedCodePath,
String[] arguments = {//"-o", generatedCodePath,
"-of", Constants.wsdlName+".wsdl",
"-sn", service_name,
"-stn", "http://eu.chorevolution.vsb.bindingcomponent.generated", //"bc.dtsgoogle.bcs.vsb.chorevolution.eu", eu.chorevolution.vsb.bindingcomponent.generated
"-tn", "http://eu.chorevolution.vsb.bindingcomponent.generated",
"-stn", "eu.chorevolution.vsb.bindingcomponent.generated", //"bc.dtsgoogle.bcs.vsb.chorevolution.eu", eu.chorevolution.vsb.bindingcomponent.generated
"-tn", "eu.chorevolution.vsb.bindingcomponent.generated",
//"-tp", "eu",
"-o", Constants.generatedCodePath,
"-cp", new File(Constants.generatedCodePath).getAbsolutePath(),
"-cn",Constants.target_namespace+"."+service_name, //
"-l", "http://localhost:"+Constants.service_port+"/" + service_name,
"-ptn", service_name,
"-p2n", "[all, http://eu.chorevolution.vsb.bindingcomponent.generated]",
"-p2n", "[all, eu.chorevolution.vsb.bindingcomponent.generated]",
"-st", "document",
"-u", "literal",
"-dlb",
"-soap11BindingName", service_name+"PortBinding",
"-disableSOAP11","-disableSOAP12", "-disableREST",
// "-wv","2.0",
// "-targetNamespace", service_name,
"-disableSOAP12", "-disableREST",
"-efd", "unqualified",
"-afd", "unqualified",
"-targetNamespace", service_name,
};
Java2WSDLCommandLineOptionParser commandLineOptionParser = new Java2WSDLCommandLineOptionParser(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment