If you decide to create .NET project from scratch alternatively, you have to start with generating a new Service Reference using Visual Studio Add Service. It requires a couple of modifications in the generated code also.
Follow these steps:
The generated reference can be found under the Service References node in the Visual Studio.
messageEncoding="Mtom"
maxReceivedMessageSize="<size in bytes>"
maxBufferSize="<size in bytes>".
Example:
<binding name="OmWebServiceServicePortSoapBinding" messageEncoding="Mtom" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" />
[System.Xml.Serialization.XmlElementAttribute(("array", Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
Note: Follow the steps from 4 to 7 whenever the Service Reference is updated.
|
Copyright © 2013 CA.
All rights reserved.
|
|