| Author |
WSDL and attachments
|
Hakan Jonsson
Greenhorn
Joined: Nov 18, 2003
Posts: 4
|
|
Hi, I am trying to implement the ParlayX SendMessage web service according to its given specification and wsdl file. The specification states that the operation should accept attachments in MIME or DIME, but the wsdl does not in anyway indicate that attachments should be used. Does this mean that there is an error in the wsdl? Specification: "sendMessage(EndUserIdentifier [] destinationAddressSet, String senderAddress, String subject, MessagePriority priority, String charging, out String requestIdentifier) Attachment[content] Behavior: The content is sent as a SOAP-Attachment encoded using MIME or DIME." WSDL: <wsdl:binding name='SendMessageBinding' type='port:SendMessagePort'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> <wsdl peration name='sendMessage'> <soap peration soapAction='SendMessage#sendMessage' style='rpc'/> <wsdl:input> <soap:body use='literal'/> </wsdl:input> <wsdl utput> <soap:body use='literal'/> </wsdl utput> <wsdl:fault name='UnknownEndUserException'> <soap:fault use='literal'/> </wsdl:fault> ... <wsdl:message name='SendMessage_sendMessageRequest'> <wsdl art name='destinationAddressSet' type='parlayx_common_xsd:ArrayOfEndUserIdentifier'/> <wsdl art name='senderAddress' type='xsd:string'/> <wsdl art name='subject' type='xsd:string'/> <wsdl art name='priority' type='parlayx_mm_xsd:MessagePriority'/> <wsdl art name='charging' type='xsd:string'/> </wsdl:message> ... <wsdl:message name='SendMessage_sendMessageRequest'> <wsdl art name='destinationAddressSet' type='parlayx_common_xsd:ArrayOfEndUserIdentifier'/> <wsdl art name='senderAddress' type='xsd:string'/> <wsdl art name='subject' type='xsd:string'/> <wsdl art name='priority' type='parlayx_mm_xsd:MessagePriority'/> <wsdl art name='charging' type='xsd:string'/> </wsdl:message> ...
|
 |
Hakan Jonsson
Greenhorn
Joined: Nov 18, 2003
Posts: 4
|
|
Oops, guess I should have disabled smileys. WSDL again: WSDL: <wsdl:binding name='SendMessageBinding' type='port:SendMessagePort'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> <wsdl peration name='sendMessage'> <soap peration soapAction='SendMessage#sendMessage' style='rpc'/> <wsdl:input> <soap:body use='literal'/> </wsdl:input> <wsdl utput> <soap:body use='literal'/> </wsdl utput> <wsdl:fault name='UnknownEndUserException'> <soap:fault use='literal'/> </wsdl:fault> ... <wsdl:message name='SendMessage_sendMessageRequest'> <wsdl:part name='destinationAddressSet' type='parlayx_common_xsd:ArrayOfEndUserIdentifier'/> <wsdl:part name='senderAddress' type='xsd:string'/> <wsdl:part name='subject' type='xsd:string'/> <wsdl:part name='priority' type='parlayx_mm_xsd:MessagePriority'/> <wsdl:part name='charging' type='xsd:string'/> </wsdl:message> ... <wsdl:message name='SendMessage_sendMessageRequest'> <wsdl:part name='destinationAddressSet' type='parlayx_common_xsd:ArrayOfEndUserIdentifier'/> <wsdl:part name='senderAddress' type='xsd:string'/> <wsdl:part name='subject' type='xsd:string'/> <wsdl:part name='priority' type='parlayx_mm_xsd:MessagePriority'/> <wsdl:part name='charging' type='xsd:string'/> </wsdl:message> ...
|
 |
 |
|
|
subject: WSDL and attachments
|
|
|