So I suggest you use a tool like SOAPUI to create a sample SOAP XML
for this service. Then you need to make an OMElement which maps to the
SOAP body XML:

For example for this element:
<s:element name="CheckInItem">
       <s:complexType>
         <s:sequence>
           <s:element minOccurs="0" maxOccurs="1"
name="ItemToCheckIn" type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="CheckInPath"
type="s:string" />
           <s:element minOccurs="0" maxOccurs="1" name="fileContents"
type="s:base64Binary" />
           <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
           <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int" />
         </s:sequence>
       </s:complexType>
     </s:element>

You need to do:

                OMFactory fac = 
OMAbstractFactory.getOMFactory().createOMText(arg0, arg1)
                OMElement checkEl = fac.createOMElement(new
QName("http://tempuri.org","CheckInItem";));
                OMElement itemEl = fac.createOMElement(new
QName("http://tempuri.org","ItemToCheckIn";));
                itemEl.setText("blah");
                checkEl.addChild(itemEl);
                // continue with other sub-elements
                // now for file data element
                OMElement contents = fac.createOMElement(new
QName("http://tempuri.org","fileContents";));
                checkEl.addChild(contents);
//               create a DataHandler to read the file
                javax.activation.DataHandler dataHandler = new
javax.activation.DataHandler(new FileDataSource("SomeFile"));

                OMText textData = omFactory.createText(dataHandler, true);
                contents.addChild(textData);
// now carry on adding elements
                
                ServiceClient serviceClient = null;
                
                
                serviceClient.getOptions().setProperty("enableMTOM","true");
                
serviceClient.getOptions().setAction("http://tempuri.org/CheckInItem";);
                serviceClient.sendReceive(checkEl);

Like that

Paul

On 6/8/07, Anil Chukkapalli <[EMAIL PROTECTED]> wrote:
Paul

 Ooops, i thought you wanted to know whether i have it or not :-). I am
sending it as an attachment also


<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:tns=" http://tempuri.org/";
xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:soap12="
http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
targetNamespace="http://tempuri.org/ "
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="
http://tempuri.org/";>
      <s:element name="OpenDB">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="UserName"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="AppName"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="OpenDBResponse">
        <s:complexType>
          <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="OpenDBResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CloseDB">
        <s:complexType />
      </s:element>
      <s:element name="CloseDBResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="CloseDBResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckInItem">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ItemToCheckIn"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="CheckInPath"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="fileContents"
type="s:base64Binary" />
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckInItemResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="CheckInItemResult"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckOutItem">
        <s:complexType>
          <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="ItemToCheckOut"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="CheckOutFileName"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckOutItemResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="CheckOutItemResult"
type="s:base64Binary" />
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CreateProject">
        <s:complexType>
          <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="Parent"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ProjectName"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CreateProjectResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="CreateProjectResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetItem">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ItemToGet"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="GetFileName"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetItemResponse">
        <s:complexType>
          <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="GetItemResult"
type="s:base64Binary" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="AddUser">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="UserName"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Password"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="ReadOnly"
type="s:boolean" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="AddUserResponse">
        <s:complexType>
          <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="AddUserResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ChangePassword">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="NewPassword"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="UserName"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ChangePasswordResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="ChangePasswordResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ChangeUserName">
        <s:complexType>
          <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="UserName"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="NewName"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ChangeUserNameResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="ChangeUserNameResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="DeleteUser">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="UserName"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="DeleteUserResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="DeleteUserResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="IsUserValid">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="UserName"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="IsUserValidResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="IsUserValidResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckOutVersion">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ItemPath"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="VersionNumber"
type="s:int" />
            <s:element minOccurs="0" maxOccurs="1" name="CheckOutFileName"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckOutVersionResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="CheckOutVersionResult" type="s:base64Binary" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckOutVersionByLabel">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="ItemPath"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="VersionLabelCount"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="CheckOutFileName"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CheckOutVersionByLabelResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="CheckOutVersionByLabelResult" type="s:base64Binary"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="DeleteItem">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="itemToDelete"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="destroy"
type="s:boolean" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="DeleteItemResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="DeleteItemResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetVersionByLabel">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ItemToGet"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Label"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="GetFileName"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetVersionByLabelResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetVersionByLabelResult" type="s:base64Binary" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetItemByVersionNumber">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ItemToGet"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="VersionNumber"
type="s:int" />
            <s:element minOccurs="0" maxOccurs="1" name="GetFileName"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetItemByVersionNumberResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetItemByVersionNumberResult" type="s:base64Binary"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="LabelItems">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ItemToLabel"
type="tns:ArrayOfString" />
            <s:element minOccurs="0" maxOccurs="1" name="Label"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfString">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="string"
nillable="true" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="LabelItemsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="LabelItemsResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SetCurrentProject">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ProjectPath"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SetCurrentProjectResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="SetCurrentProjectResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="UnCheckOutItem">
        <s:complexType>
          <s:sequence>
             <s:element minOccurs="0" maxOccurs="1" name="ItemToUnCheckOut"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="UnCheckOutPath"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="UnCheckOutItemResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="UnCheckOutItemResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetHistory">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ItemPath"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetHistoryResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetHistoryResult"
type="tns:ArrayOfVssItemHistory" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfVssItemHistory">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded"
name="VssItemHistory" type="tns:VssItemHistory" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="VssItemHistory">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="versionNumber"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="userName"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="sDate"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="action"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="label"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="labelComment"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"
/>
          <s:element minOccurs="0" maxOccurs="1" name="comment"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="spec" type="s:string"
/>
        </s:sequence>
      </s:complexType>
      <s:element name="GetChildrenWithLabelNDate">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ProjectPath"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetChildrenWithLabelNDateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetChildrenWithLabelNDateResult"
type="tns:ArrayOfVssItem" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfVssItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="VssItem"
type="tns:VssItem" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="VssItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string"
/>
          <s:element minOccurs="0" maxOccurs="1" name="type" type="s:string"
/>
          <s:element minOccurs="0" maxOccurs="1" name="versionNumber"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="isCheckedOut"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="localSpec"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="comment"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="userName"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="flag" type="s:string"
/>
          <s:element minOccurs="0" maxOccurs="1" name="date" type="s:string"
/>
          <s:element minOccurs="0" maxOccurs="1" name="shared"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="deleted"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="label"
type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="AddItem">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ParentProject"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="fileName"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="fileContents"
type="s:base64Binary" />
            <s:element minOccurs="0" maxOccurs="1" name="Comment"
type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="Flags" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="AddItemResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="AddItemResult"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="OpenDBSoapIn">
    <wsdl:part name="parameters" element="tns:OpenDB" />
  </wsdl:message>
  <wsdl:message name="OpenDBSoapOut">
    <wsdl:part name="parameters" element="tns:OpenDBResponse" />
  </wsdl:message>
  <wsdl:message name="CloseDBSoapIn">
    <wsdl:part name="parameters" element="tns:CloseDB" />
  </wsdl:message>
  <wsdl:message name="CloseDBSoapOut">
    <wsdl:part name="parameters" element="tns:CloseDBResponse" />
  </wsdl:message>
  <wsdl:message name="CheckInItemSoapIn">
    <wsdl:part name="parameters" element="tns:CheckInItem" />
  </wsdl:message>
  <wsdl:message name="CheckInItemSoapOut">
    <wsdl:part name="parameters"
element="tns:CheckInItemResponse" />
  </wsdl:message>
  <wsdl:message name="CheckOutItemSoapIn">
    <wsdl:part name="parameters" element="tns:CheckOutItem" />
  </wsdl:message>
  <wsdl:message name="CheckOutItemSoapOut">
    <wsdl:part name="parameters"
element="tns:CheckOutItemResponse" />
  </wsdl:message>
   <wsdl:message name="CreateProjectSoapIn">
    <wsdl:part name="parameters" element="tns:CreateProject" />
  </wsdl:message>
  <wsdl:message name="CreateProjectSoapOut">
    <wsdl:part name="parameters"
element="tns:CreateProjectResponse" />
  </wsdl:message>
  <wsdl:message name="GetItemSoapIn">
    <wsdl:part name="parameters" element="tns:GetItem" />
  </wsdl:message>
  <wsdl:message name="GetItemSoapOut">
    <wsdl:part name="parameters" element="tns:GetItemResponse" />
  </wsdl:message>
  <wsdl:message name="AddUserSoapIn">
    <wsdl:part name="parameters" element="tns:AddUser" />
  </wsdl:message>
  <wsdl:message name="AddUserSoapOut">
    <wsdl:part name="parameters" element="tns:AddUserResponse" />
  </wsdl:message>
  <wsdl:message name="ChangePasswordSoapIn">
    <wsdl:part name="parameters" element="tns:ChangePassword" />
  </wsdl:message>
  <wsdl:message name="ChangePasswordSoapOut">
    <wsdl:part name="parameters"
element="tns:ChangePasswordResponse" />
  </wsdl:message>
  <wsdl:message name="ChangeUserNameSoapIn">
    <wsdl:part name="parameters" element="tns:ChangeUserName" />
  </wsdl:message>
  <wsdl:message name="ChangeUserNameSoapOut">
    <wsdl:part name="parameters"
element="tns:ChangeUserNameResponse" />
  </wsdl:message>
  <wsdl:message name="DeleteUserSoapIn">
    <wsdl:part name="parameters" element="tns:DeleteUser" />
  </wsdl:message>
  <wsdl:message name="DeleteUserSoapOut">
    <wsdl:part name="parameters"
element="tns:DeleteUserResponse" />
  </wsdl:message>
  <wsdl:message name="IsUserValidSoapIn">
    <wsdl:part name="parameters" element="tns:IsUserValid" />
  </wsdl:message>
  <wsdl:message name="IsUserValidSoapOut">
    <wsdl:part name="parameters"
element="tns:IsUserValidResponse" />
  </wsdl:message>
  <wsdl:message name="CheckOutVersionSoapIn">
    <wsdl:part name="parameters" element="tns:CheckOutVersion" />
  </wsdl:message>
  <wsdl:message name="CheckOutVersionSoapOut">
    <wsdl:part name="parameters"
element="tns:CheckOutVersionResponse" />
  </wsdl:message>
  <wsdl:message name="CheckOutVersionByLabelSoapIn">
    <wsdl:part name="parameters"
element="tns:CheckOutVersionByLabel" />
  </wsdl:message>
  <wsdl:message name="CheckOutVersionByLabelSoapOut">
    <wsdl:part name="parameters"
element="tns:CheckOutVersionByLabelResponse" />
  </wsdl:message>
  <wsdl:message name="DeleteItemSoapIn">
    <wsdl:part name="parameters" element="tns:DeleteItem" />
  </wsdl:message>
  <wsdl:message name="DeleteItemSoapOut">
    <wsdl:part name="parameters"
element="tns:DeleteItemResponse" />
  </wsdl:message>
  <wsdl:message name="GetVersionByLabelSoapIn">
    <wsdl:part name="parameters" element="tns:GetVersionByLabel" />
  </wsdl:message>
   <wsdl:message name="GetVersionByLabelSoapOut">
    <wsdl:part name="parameters"
element="tns:GetVersionByLabelResponse" />
  </wsdl:message>
  <wsdl:message name="GetItemByVersionNumberSoapIn">
    <wsdl:part name="parameters"
element="tns:GetItemByVersionNumber" />
  </wsdl:message>
  <wsdl:message name="GetItemByVersionNumberSoapOut">
    <wsdl:part name="parameters"
element="tns:GetItemByVersionNumberResponse" />
  </wsdl:message>
  <wsdl:message name="LabelItemsSoapIn">
    <wsdl:part name="parameters" element="tns:LabelItems" />
  </wsdl:message>
  <wsdl:message name="LabelItemsSoapOut">
    <wsdl:part name="parameters"
element="tns:LabelItemsResponse" />
  </wsdl:message>
  <wsdl:message name="SetCurrentProjectSoapIn">
    <wsdl:part name="parameters" element="tns:SetCurrentProject" />
  </wsdl:message>
  <wsdl:message name="SetCurrentProjectSoapOut">
    <wsdl:part name="parameters"
element="tns:SetCurrentProjectResponse" />
  </wsdl:message>
  <wsdl:message name="UnCheckOutItemSoapIn">
    <wsdl:part name="parameters" element="tns:UnCheckOutItem" />
  </wsdl:message>
  <wsdl:message name="UnCheckOutItemSoapOut">
    <wsdl:part name="parameters"
element="tns:UnCheckOutItemResponse" />
  </wsdl:message>
  <wsdl:message name="GetHistorySoapIn">
    <wsdl:part name="parameters" element="tns:GetHistory" />
  </wsdl:message>
  <wsdl:message name="GetHistorySoapOut">
    <wsdl:part name="parameters"
element="tns:GetHistoryResponse" />
  </wsdl:message>
  <wsdl:message name="GetChildrenWithLabelNDateSoapIn">
    <wsdl:part name="parameters"
element="tns:GetChildrenWithLabelNDate" />
  </wsdl:message>
  <wsdl:message name="GetChildrenWithLabelNDateSoapOut">
    <wsdl:part name="parameters"
element="tns:GetChildrenWithLabelNDateResponse" />
  </wsdl:message>
  <wsdl:message name="AddItemSoapIn">
    <wsdl:part name="parameters" element="tns:AddItem" />
  </wsdl:message>
  <wsdl:message name="AddItemSoapOut">
    <wsdl:part name="parameters" element="tns:AddItemResponse" />
  </wsdl:message>
  <wsdl:portType name="cvccwsSoap">
    <wsdl:operation name="OpenDB">
      <wsdl:input message="tns:OpenDBSoapIn" />
      <wsdl:output message="tns:OpenDBSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="CloseDB">
      <wsdl:input message="tns:CloseDBSoapIn" />
      <wsdl:output message="tns:CloseDBSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="CheckInItem">
      <wsdl:input message="tns:CheckInItemSoapIn" />
      <wsdl:output message="tns:CheckInItemSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="CheckOutItem">
      <wsdl:input message="tns:CheckOutItemSoapIn" />
      <wsdl:output message="tns:CheckOutItemSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="CreateProject">
      <wsdl:input message="tns:CreateProjectSoapIn" />
      <wsdl:output message="tns:CreateProjectSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetItem">
      <wsdl:input message="tns:GetItemSoapIn" />
      <wsdl:output message="tns:GetItemSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="AddUser">
      <wsdl:input message="tns:AddUserSoapIn" />
      <wsdl:output message="tns:AddUserSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ChangePassword">
      <wsdl:input message="tns:ChangePasswordSoapIn" />
      <wsdl:output message="tns:ChangePasswordSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ChangeUserName">
      <wsdl:input message="tns:ChangeUserNameSoapIn" />
      <wsdl:output message="tns:ChangeUserNameSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="DeleteUser">
      <wsdl:input message="tns:DeleteUserSoapIn" />
      <wsdl:output message="tns:DeleteUserSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="IsUserValid">
      <wsdl:input message="tns:IsUserValidSoapIn" />
      <wsdl:output message="tns:IsUserValidSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="CheckOutVersion">
      <wsdl:input message="tns:CheckOutVersionSoapIn" />
      <wsdl:output message="tns:CheckOutVersionSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="CheckOutVersionByLabel">
      <wsdl:input
message="tns:CheckOutVersionByLabelSoapIn" />
      <wsdl:output
message="tns:CheckOutVersionByLabelSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="DeleteItem">
      <wsdl:input message="tns:DeleteItemSoapIn" />
      <wsdl:output message="tns:DeleteItemSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetVersionByLabel">
      <wsdl:input message="tns:GetVersionByLabelSoapIn" />
      <wsdl:output message="tns:GetVersionByLabelSoapOut"
/>
    </wsdl:operation>
    <wsdl:operation name="GetItemByVersionNumber">
      <wsdl:input
message="tns:GetItemByVersionNumberSoapIn" />
      <wsdl:output
message="tns:GetItemByVersionNumberSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="LabelItems">
      <wsdl:input message="tns:LabelItemsSoapIn" />
      <wsdl:output message="tns:LabelItemsSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="SetCurrentProject">
      <wsdl:input message="tns:SetCurrentProjectSoapIn" />
      <wsdl:output message="tns:SetCurrentProjectSoapOut"
/>
    </wsdl:operation>
    <wsdl:operation name="UnCheckOutItem">
      <wsdl:input message="tns:UnCheckOutItemSoapIn" />
      <wsdl:output message="tns:UnCheckOutItemSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetHistory">
      <wsdl:input message="tns:GetHistorySoapIn" />
      <wsdl:output message="tns:GetHistorySoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetChildrenWithLabelNDate">
      <wsdl:input
message="tns:GetChildrenWithLabelNDateSoapIn" />
      <wsdl:output
message="tns:GetChildrenWithLabelNDateSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="AddItem">
      <wsdl:input message="tns:AddItemSoapIn" />
      <wsdl:output message="tns:AddItemSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="cvccwsSoap" type="tns:cvccwsSoap">
    <soap:binding
transport="http://schemas.xmlsoap.org/soap/http"; />
    <wsdl:operation name="OpenDB">
      <soap:operation soapAction=" http://tempuri.org/OpenDB";
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CloseDB">
      <soap:operation soapAction=" http://tempuri.org/CloseDB";
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckInItem">
      <soap:operation soapAction="http://tempuri.org/CheckInItem "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckOutItem">
      <soap:operation soapAction="http://tempuri.org/CheckOutItem "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CreateProject">
      <soap:operation
soapAction="http://tempuri.org/CreateProject "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetItem">
      <soap:operation soapAction="http://tempuri.org/GetItem "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="AddUser">
      <soap:operation soapAction="http://tempuri.org/AddUser "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ChangePassword">
      <soap:operation
soapAction="http://tempuri.org/ChangePassword "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ChangeUserName">
      <soap:operation
soapAction="http://tempuri.org/ChangeUserName "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="DeleteUser">
      <soap:operation soapAction="http://tempuri.org/DeleteUser "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="IsUserValid">
      <soap:operation soapAction="http://tempuri.org/IsUserValid "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckOutVersion">
      <soap:operation
soapAction="http://tempuri.org/CheckOutVersion "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckOutVersionByLabel">
      <soap:operation soapAction="
http://tempuri.org/CheckOutVersionByLabel"; style="document"
/>
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="DeleteItem">
      <soap:operation soapAction=" http://tempuri.org/DeleteItem";
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetVersionByLabel">
      <soap:operation
soapAction="http://tempuri.org/GetVersionByLabel "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetItemByVersionNumber">
      <soap:operation soapAction="
http://tempuri.org/GetItemByVersionNumber"; style="document"
/>
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="LabelItems">
      <soap:operation soapAction=" http://tempuri.org/LabelItems";
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SetCurrentProject">
      <soap:operation
soapAction="http://tempuri.org/SetCurrentProject "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="UnCheckOutItem">
      <soap:operation
soapAction="http://tempuri.org/UnCheckOutItem "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetHistory">
      <soap:operation soapAction="http://tempuri.org/GetHistory "
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetChildrenWithLabelNDate">
      <soap:operation soapAction="
http://tempuri.org/GetChildrenWithLabelNDate";
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="AddItem">
      <soap:operation soapAction=" http://tempuri.org/AddItem";
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="cvccwsSoap12" type="tns:cvccwsSoap">
    <soap12:binding transport="
http://schemas.xmlsoap.org/soap/http"; />
    <wsdl:operation name="OpenDB">
      <soap12:operation soapAction="http://tempuri.org/OpenDB";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CloseDB">
      <soap12:operation soapAction="http://tempuri.org/CloseDB";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckInItem">
      <soap12:operation soapAction="http://tempuri.org/CheckInItem";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckOutItem">
      <soap12:operation soapAction="http://tempuri.org/CheckOutItem";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CreateProject">
      <soap12:operation
soapAction="http://tempuri.org/CreateProject";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetItem">
      <soap12:operation soapAction="http://tempuri.org/GetItem";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="AddUser">
      <soap12:operation soapAction="http://tempuri.org/AddUser";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ChangePassword">
      <soap12:operation
soapAction="http://tempuri.org/ChangePassword "
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ChangeUserName">
      <soap12:operation
soapAction="http://tempuri.org/ChangeUserName "
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="DeleteUser">
      <soap12:operation soapAction="http://tempuri.org/DeleteUser "
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="IsUserValid">
      <soap12:operation soapAction="http://tempuri.org/IsUserValid "
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckOutVersion">
      <soap12:operation
soapAction="http://tempuri.org/CheckOutVersion "
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CheckOutVersionByLabel">
      <soap12:operation soapAction="
http://tempuri.org/CheckOutVersionByLabel"; style="document"
/>
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="DeleteItem">
      <soap12:operation soapAction=" http://tempuri.org/DeleteItem";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetVersionByLabel">
      <soap12:operation soapAction="
http://tempuri.org/GetVersionByLabel"; style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetItemByVersionNumber">
       <soap12:operation
soapAction="http://tempuri.org/GetItemByVersionNumber";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="LabelItems">
      <soap12:operation soapAction="http://tempuri.org/LabelItems";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SetCurrentProject">
      <soap12:operation
soapAction="http://tempuri.org/SetCurrentProject";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="UnCheckOutItem">
      <soap12:operation
soapAction="http://tempuri.org/UnCheckOutItem";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetHistory">
      <soap12:operation soapAction="http://tempuri.org/GetHistory";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetChildrenWithLabelNDate">
      <soap12:operation
soapAction="http://tempuri.org/GetChildrenWithLabelNDate";
style="document" />
      <wsdl:input>
         <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="AddItem">
      <soap12:operation soapAction="http://tempuri.org/AddItem";
style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="cvccws">
    <wsdl:port name="cvccwsSoap" binding="tns:cvccwsSoap">
      <soap:address location="
http://localhost/vccws2/cvccws.asmx"; />
    </wsdl:port>
    <wsdl:port name="cvccwsSoap12" binding="tns:cvccwsSoap12">
      <soap12:address location="
http://localhost/vccws2/cvccws.asmx"; />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Thank you
Anil


On 6/8/07, Paul Fremantle <[EMAIL PROTECTED]> wrote:
>
> I guess I meant can I see it :-)
>
> You have to create the XML payload to match the WSDL - that is what is
> going to be the OMElement. The OMElement is a tree structure.
> Somewhere in there is going to be the OMText containing the MTOM data.
> If we could see the WSDL we might be able to figure it out.
>
> Paul
>
> On 6/8/07, Anil Chukkapalli <[EMAIL PROTECTED]> wrote:
> > Paul
> >
> >  I do have wsdl for this service, i used it before when i used the
wsdl2java
> > tool to create a stub to test my service.
> >
> > Thanks
> >
> > Anil
> >
> > On 6/8/07, Paul Fremantle < [EMAIL PROTECTED]> wrote:
> > > Anil
> > >
> > > Do you have a WSDL for this service?
> > >
> > > Paul
> > >
> > > On 6/8/07, Anil Chukkapalli < [EMAIL PROTECTED]> wrote:
> > > > Paul
> > > >
> > > >  I need the operation client cause i need to maintain session
between a
> > .NET
> > > > client and Java service and vice versa (it was discussed in previous
> > threads
> > > > and we could find no other way except using an operation client). I
was
> > not
> > > > able to accomplish this using either the generated stub or the
service
> > > > client. The issue now that I have is that the since my .NET client
sends
> > the
> > > > binary data as a byte array, .NET understands this and optimizes it
to
> > MTOM,
> > > > i am not entirely sure that the java service can understand this xml
and
> > > > decipher the input argument which is OMElement.
> > > >
> > > >
> > > >
> > > > Service
> > > > public class MTOMService {
> > > >  public void uploadFileUsingMTOM(OMElement element) throws Exception
{
> > > >
> > > >
> > > >
> > > >  ... ...
> > > >  }
> > > >  }
> > > >
> > > >
> > > >  .Client
> > > >
> > > >
> > > > OMElement result = sender.sendReceive(payload);
> > > >
> > > >  The tutorial that you pointed out shows the above code, is payload
of
> > type
> > > > OMElement.
> > > >
> > > >
> > > > Thank you
> > > > Anil
> > > >
> > > >  On 6/8/07, Paul Fremantle <[EMAIL PROTECTED]> wrote:
> > > > > Anil
> > > > >
> > > > > The OperationClient is designed for pretty complex needs. Its not
> > > > > recommended except for Axis2 gurus. Most users can support their
needs
> > > > > using ServiceClient.
> > > > >
> > > > > >How does axis2 determine that the input arguments need to be
> > > > > transferred using MTOM? > is it by sendding  the argument of type
> > > > > OMElement.
> > > > >
> > > > > No! OMElement is the Axis2 representation of any XML. When you
send
> > > > > binary data in XML it is logically a text node in the XML tree.
> > > > >
> > > > > If you are using OMElement to create the XML body of the request
you
> > > > > need to do this.
> > > > >
> > > > > // create a text node to hold the data
> > > > > javax.activation.DataHandler dataHandler = new
> > > > > javax.activation.DataHandler (new FileDataSource("SomeFile"));
> > > > >
> > > > > OMText textData = omFactory.createText(dataHandler, true);
> > > > > someElement.addChild(textData);
> > > > >
> > > > >
> > > >
> >
serviceClient().getOptions().setProperty("enableMTOM","true");
> > > > >
> > > > > Paul
> > > > >
> > > > > On 6/8/07, Anil Chukkapalli <[EMAIL PROTECTED]> wrote:
> > > > > > Hi Paul
> > > > > >
> > > > > >  I am using an operation client
> > > > > >
> > > > > > Thank you
> > > > > > Anil
> > > > > >
> > > > > > On 6/8/07, Paul Fremantle < [EMAIL PROTECTED] > wrote:
> > > > > > >
> > > > > > > Anil
> > > > > > >
> > > > > > >
http://ws.apache.org/axis2/1_2/mtom-guide.html
> > > > > > >
> > > > > > > Can you explain whether you are using the ServiceClient or a
> > generated
> > > > > > > stub. That would help us explain.
> > > > > > >
> > > > > > > Paul
> > > > > > >
> > > > > > > On 6/8/07, Anil Chukkapalli <[EMAIL PROTECTED] >
wrote:
> > > > > > > > Hi
> > > > > > > >
> > > > > > > >  How can an MTOM client send data to an MTOM server, is
there a
> > > > tutorial
> > > > > > > > that explains how to do this. I can send a data from an MTOM
> > server
> > > > to
> > > > > > an
> > > > > > > > MTOM client but i am not able to figure out how to do it the
> > other
> > > > way
> > > > > > > > around, do we need to send an OMElement as an argument and
does
> > > > axis2
> > > > > > > > understands this to be an attachment? If you are unable to
> > answer
> > > > this
> > > > > > > > question can you please point me to a tutorial or another
> > question.
> > > > > > > >
> > > > > > > > Thank you
> > > > > > > > Anil
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Paul Fremantle
> > > > > > > Co-Founder and VP of Technical Sales, WSO2
> > > > > > > OASIS WS-RX TC Co-chair
> > > > > > >
> > > > > > > blog: http://pzf.fremantle.org
> > > > > > > [EMAIL PROTECTED]
> > > > > > >
> > > > > > > "Oxygenating the Web Service Platform", www.wso2.com
> > > > > > >
> > > > > > >
> > > > > >
> > > >
> >
---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > > > > > [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Paul Fremantle
> > > > > Co-Founder and VP of Technical Sales, WSO2
> > > > > OASIS WS-RX TC Co-chair
> > > > >
> > > > > blog: http://pzf.fremantle.org
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > > "Oxygenating the Web Service Platform", www.wso2.com
> > > > >
> > > > >
> > > >
> >
---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Paul Fremantle
> > > Co-Founder and VP of Technical Sales, WSO2
> > > OASIS WS-RX TC Co-chair
> > >
> > > blog: http://pzf.fremantle.org
> > > [EMAIL PROTECTED]
> > >
> > > "Oxygenating the Web Service Platform", www.wso2.com
> > >
> > >
> >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
>
---------------------------------------------------------------------
> To unsubscr

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




--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

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

Reply via email to