HI!
Why does the current build always append "Service" at the service name? Alpha3 did not do that and that was good.
Also, .NET issues an error now on the WSDL file:
Unable to import binding 'SoapTestSoapBinding' from namespace 'http://p2test.p2plus.apag.com'.
I am no SOAP expert, so I cannot tell what to do about this.
This is my test class:
public class SoapTest {
public String parameterTest(short s, int i, double d, String t, boolean b)
{
System.out.println(s);
System.out.println(i);
System.out.println(d);
System.out.println(t);
System.out.println(b);
return(t);
}
public void exceptionTest() throws Exception
{
throw new Exception("Message");
}
}
This is how I generate the WSDL:
emitter = new Emitter();
emitter.setCls(Class.forName(completeName));
emitter.setAllowedMethods(allowedMethods.toString());
emitter.setServiceName(className);
emitter.setIntfNamespace("http://" + packageName + ".p2plus.apag.com");
emitter.setUseInheritedMethods(true);
emitter.setLocationUrl("http://localhost:2037/" + packageName + "/" + className + ".jws");
def = emitter.getWSDL();
doc = WSDLFactory.newInstance().newWSDLWriter().getDocument(def);
bos = new ByteArrayOutputStream();
XMLUtils.PrettyDocumentToStream(doc, bos);
xml = bos.toString();
And please find the alpha3 and the current version of the WSDL attached. The alpha3 version had a problem because of the void returntype (please see other mail from me ".NET ignores methods with void returntype"), so I wanted to check the current build. But this WSDL does not work at all with .NET (it does not even generate proxy classes for it).
Thanks for any help!
Regards,
Thomas
current.wsdl
Description: current.wsdl
alpha3.wsdl
Description: alpha3.wsdl
