Skip to content

Response Attachment handling#278

Open
ngaggi73 wants to merge 5 commits intohooklift:masterfrom
ngaggi73:master
Open

Response Attachment handling#278
ngaggi73 wants to merge 5 commits intohooklift:masterfrom
ngaggi73:master

Conversation

@ngaggi73
Copy link
Copy Markdown

Code for response attachment retrieval can be generated by the gowsdl tool. You have only to mark as attached the corresponding return message part.

<wsdl:message name="downloadDocumentoResponse">
<wsdl:part name="return-attachment" element="tns:downloadDocumentoResponse"/>
</wsdl:message>

During code generation the corresponding operation will be invoked using the CallContextWithAttachmentsAndFaultDetail method of the soap.Client instead of the usual CallContext method.

Flags have been introduced to control code generation

  • server (default false) enable/disable server stub code generation
  • client (default true) enable/disable client stub code generation
  • unqualified (default false) disable qualified name generation for element attributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant