Hi..
I confuse SoapHelper.java..
I use latest SM src version + ode src version.
I am ode example HelloWorld2 test.
but I guess SoapHelper.java follow method not exactly.
protected Operation findOperation(Context context) throws Exception {
...
PortType portType = binding.getPortType(); //=====> portType is null
...
}
then I edit src.. WSDL load part..
follow line
PortType portType = definition.getPortType(interfaceName);
change follow
Definition def =
WSDLFactory.newInstance().newWSDLReader().readWSDL("http://localhost:8080/hello-doc/?wsdl");
Service service = def.getService(se.getServiceName());
Port port = service.getPort("HelloPort");
Binding binding = port.getBinding();
PortType portType = binding.getPortType();
I success HelloWolrd2 example .after above src edit
I wish to check wsdl loading src.
--
View this message in context:
http://www.nabble.com/SoapHelper.java-tf2284355.html#a6345716
Sent from the ServiceMix - User forum at Nabble.com.