web service client - must be something trivial ;-)
I'm creating a very simple wsdl (all default) request-response, RPC style, SOAP bindings that looks like that:
<?xml version="1.0" encoding="UTF-8"?>
I have an axis2 implementation for the service, but I'm not even sure it's related. When I try to create a java client for it, I'm using the netbeans tool which is using wsimport to create the client classes. The strange problem is that although the web service takes a string parameter and returns a string value, the generated port type seems to be void and take a string holder class. as can be seen in the code below:
org.netbeans.j2ee.wsdl.samplewsdl.SampleWSDLPortType port = service.getSampleWSDLPort();
javax.xml.ws.Holder part1 = new javax.xml.ws.Holder();
I've tried many different combinations but I'm still cluless as of what could cause this strange thing, Any ideas?