===========================================================
JAVA WEB SERVICE CODE:
My java web service code is as follows:
// Getting the messageContext instance
MessageContext messageContext = MessageContext.getCurrentContext();
Message msg = messageContext.getRequestMessage();
Attachments attachments = msg.getAttachmentsImpl();
===========================================================
My WSDL as follows:
<wsdl:message name="getAttachmentRequest">
<wsdl:part name="value" element="impl:value"/>
</wsdl:message>
<wsdl:message name="AttachmentPOCResponse">
<wsdl:part name="AttachmentPOCReturn" element="impl:AttachmentPOCReturn"/>
</wsdl:message>
<wsdl:message name="getAttachmentResponse">
<wsdl:part name="getAttachmentReturn" element="impl:getAttachmentReturn"/>
</wsdl:message>
<wsdl:message name="AttachmentPOCRequest">
</wsdl:message>
<wsdl:portType name="GESService">
<wsdl:operation name="AttachmentPOC">
<wsdl:input name="AttachmentPOCRequest" message="impl:AttachmentPOCRequest"/>
<wsdl:output name="AttachmentPOCResponse" message="impl:AttachmentPOCResponse"/>
</wsdl:operation>
<wsdl:operation name="getAttachment" parameterOrder="value">
<wsdl:input name="getAttachmentRequest" message="impl:getAttachmentRequest"/>
<wsdl:output name="getAttachmentResponse" message="impl:getAttachmentResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="GESServiceSoapBinding" type="impl:GESService">
<wsdl:operation name="AttachmentPOC">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="AttachmentPOCRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="AttachmentPOCResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getAttachment">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getAttachmentRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getAttachmentResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="GESServiceService">
<wsdl:port name="GESService" binding="impl:GESServiceSoapBinding">
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
===========================================================
Could you please throw some light on this?