WS-Addressing 1.0 stateful services / Client side |
Use the fglwsdl tool as usual. It will detect that the service returns a W3CEndpointReference and generate the appropriate code.
The WSDL imports the WS-Addressing 1.0 schema, so the fglwsdl tool requires an access to the W3C server. Use the option -proxy if you need to connect via a proxy server.
$ fglwsdl -o ws_stub http://localhost:8090/StatefulWSAddressingService?WSDL
The generated .inc file contains a variable of type tWSAGlobalEndpointType to be used to transmit the WS-Addressing 1.0 reference parameters.
DEFINE StatefulWSAddressingService_StatefulWSAddressingServicePortTypeEndpoint tGlobalWSAEndpointType