Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1
-
Fix Version/s: None
-
Component/s: Generator
-
Labels:None
-
Number of attachments :
Description
You can no longer set an endpoint in the client. You can't get around it by deriving from the client class either as the members are private.
PortGenerator.java
This code appears in 1.0 but is removed in 1.1
/**
- addEndpoint()
*/
JMethod addEndpointMethod = servCls.method(JMod.PUBLIC, void.class, "addEndpoint");
JVar epname = addEndpointMethod.param(QName.class, "name");
JVar bindingId = addEndpointMethod.param(QName.class, "binding");
JVar address = addEndpointMethod.param(String.class, "address");
JInvocation addEPInvoke = serviceVar.invoke("addEndpoint");
addEPInvoke.arg(JExpr.direct(epname.name()));
addEPInvoke.arg(JExpr.direct(bindingId.name()));
addEPInvoke.arg(JExpr.direct(address.name()));
addEndpointMethod.body().add(addEPInvoke);