Hi all. I use Axis 1.2.1; i have generated some Web service clients by using 
the wsdl2java tool. Well i need now to add some attachments to the Call..how 
can i do? I have seen the Locator class and other classes but i'm not able to 
understand how to set the attachments... i have seen that in the stub class 
usually there is this a similar code:

    if (super.cachedEndpoint == null) {
      throw new org.apache.axis.NoEndPointException();
    }
    org.apache.axis.client.Call _call = createCall();
    _call.setOperation(_operations[0]);
    _call.setEncodingStyle(null);
    _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, 
Boolean.FALSE);
    _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
                      Boolean.FALSE);
    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    _call.setOperationName(new javax.xml.namespace.QName(
        "http://siporservice.sipor.it/";, "execute"));

    setRequestHeaders(_call);
    setAttachments(_call);

but how can i specify the Attachment to the _call object? How can this code 
undertand what files to add?

Thanks to all.
Angelo.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to