Hello everyone,
I have a little doubt. I would like to know how to return a
EndpointReference type in a method inside SimpleResourceClient.java, from
the wsrf example.
Something like this works fine...
public String mycapability() throws SoapFault
{
Element body = XmlUtils.createElement(mycapability.CAPABILITY_OP_QNAME);
Element response = invoke(mycapability.CAPABILITY_OP_URI, body);
return XmlUtils.extractText(response);
}
But if I want to return a different type, like the EndpointReference, has
anyone ever had a similar experience? If so, how did you manage to return
"non-primitive" types?
Best regards,
Nelson P Kotowski Filho.