Good Evening Gentlemen-

making sure DIME is supported is an important for interoperability with the 
folks in redmond..

in your Axis-2_1 folder..

comment out ALL OF  the entries in /src/axis/xmls/taskdefs_post_compile.xml

sub in full path of axis-ant.jar for C:/AXIS/Axis-1_4/axis-1_4/lib/axis-ant.jar
sub in this /src/axis/test/wsdl/interop4/groupG/dime/rpc/build.xml

afterwards change to /src/axis/test/wsdl/interop4/groupG/dime/rpc and 
ant compile
ant run

/***************build.xml************/
<?xml version="1.0"?>
<!DOCTYPE project [
        <!ENTITY properties SYSTEM "file:../../../../../../xmls/properties.xml">
        <!ENTITY paths  SYSTEM "file:../../../../../../xmls/path_refs.xml">
        <!ENTITY taskdefs SYSTEM "file:../../../../../../xmls/taskdefs.xml">
        <!ENTITY taskdefs_post_compile SYSTEM 
"file:../../../../../../xmls/taskdefs_post_compile.xml">
        <!ENTITY targets SYSTEM "file:../../../../../../xmls/targets.xml">
]>

<!-- ===================================================================
<description>
   Test/Sample Component file for Axis

Notes:
   This is a build file for use with the Jakarta Ant build tool.

Prerequisites:

   jakarta-ant from http://jakarta.apache.org

Build Instructions:
   To compile
        ant compile
   To execute
        ant run

Author:
  Matt Seibert [EMAIL PROTECTED]

Copyright:
  Copyright (c) 2002-2003 Apache Software Foundation.
</description>
==================================================================== -->

<project name="Round4" default="compile">
<property name="axis.home" location="../../../../../../" />
<property name="componentName" value="test/wsdl/interop4/groupG/dime/rpc" />
        &properties;
        &paths;
        &taskdefs;
        &taskdefs_post_compile;
        &targets;
  <property name="root.dir" value="../../../../../.."/>

   <path id="classpath">
      <fileset dir="lib">
        <include name="C:/AXIS/axis-1_3/lib/*.jar"/>
        <include name="C:/AXIS/axis-1_3/lib/**/*.class"/> 
      </fileset>
    </path>
    
        <path id="soap.class.path">
                  <pathelement location="${build}" />                 
                   <!-- all needed libs -->      
                   <pathelement 
location="C:/AXIS/Axis-1_4/axis-1_4/lib/axis-ant.jar" />                   
        </path> 

  
  <taskdef name="foreach" 
classname="org.apache.axis.tools.ant.foreach.ForeachTask" 
classpathref="soap.class.path"/>
  <taskdef name="runaxisfunctionaltests" 
classname="org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask" 
classpathref="soap.class.path"/>
  <taskdef name="wsdl2java" 
classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask" 
classpathref="soap.class.path"/>
  <taskdef name="java2wsdl" 
classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask" 
classpathref="soap.class.path"/>
  <taskdef name="adminclient" 
classname="org.apache.axis.tools.ant.axis.AdminClientTask" 
classpathref="soap.class.path"/>
  
    <target name="clean">
        <echo message="Removing ${build.dir}/classes/${componentName} and 
${build.dir}/work/${componentName}" />
        <delete dir="${build.dir}/classes/${componentName}"/>
        <delete dir="${build.dir}/work/${componentName}"/>
    </target>

  <target name="compile" depends="setenv">
    <property name="testname" value="basetype"/>

    <!-- generate skeletons -->
    <wsdl2java 
url="${axis.home}/test/wsdl/interop4/groupG/dime/rpc/dime-rpc.wsdl"
               output="${root.dir}/build/work" 
               skeletonDeploy="yes"
               testCase="yes"
               serverSide="yes"
               timeout="-1">
        <mapping namespace="http://soapinterop.org/attachments/wsdl"; 
package="test.wsdl.interop4.groupG.dime.rpc"/>
        <mapping namespace="http://soapinterop.org/"; 
package="test.wsdl.interop4.groupG.dime.rpc"/>
        <mapping namespace="http://soapinterop.org/attachments/xsd"; 
package="test.wsdl.interop4.groupG.dime.rpc.xsd"/>
        <mapping namespace="http://soapinterop.org/echoheader/"; 
package="test.wsdl.interop4.groupG.dime.rpc.echo"/>
        <mapping namespace="http://soapinterop.org"; 
package="test.wsdl.interop4.groupG.dime.rpc"/>
        <mapping namespace="http://schemas.xmlsoap.org/soap/encoding/"; 
package="test.wsdl.interop4.groupG.dime.rpc.soap.encoding"/>
        <mapping namespace="http://schemas.xmlsoap.org/wsdl/dime/"; 
package="test.wsdl.interop4.groupG.dime.rpc.wsdl.dime"/>
        <mapping namespace="http://schemas.xmlsoap.org/wsdl/http/"; 
package="test.wsdl.interop4.groupG.dime.rpc.wsdl.http"/>
        <mapping namespace="http://schemas.xmlsoap.org/wsdl/soap/"; 
package="test.wsdl.interop4.groupG.dime.rpc.wsdl.soap"/>
        <mapping namespace="services.wsdl" 
package="test.wsdl.interop4.groupG.dime.rpc"/>
    </wsdl2java>

    <mkdir dir="${build.dest}"/>

    <copy 
file="${axis.home}/test/wsdl/interop4/groupG/dime/rpc/DimeRPCInteropTestCase.java"
          todir="${root.dir}/build/work/test/wsdl/interop4/groupG/dime/rpc"
          overwrite="yes"/>
    <copy 
file="${axis.home}/test/wsdl/interop4/groupG/dime/rpc/AttachmentsBindingImpl.java"
          todir="${root.dir}/build/work/test/wsdl/interop4/groupG/dime/rpc"
          overwrite="yes"/>

    <!-- compile the skeletons -->
    <javac srcdir="${build.dir}/work"
      destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}">
      <classpath refid="classpath" />
      <include name="test/wsdl/interop4/groupG/dime/rpc/**/*.java" />
    </javac>
  </target>

  <target name="run" >
    <antcall target="execute-Component" />
  </target>

</project>

This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
  ----- Original Message ----- 
  From: sridhar vudutha 
  To: axis-user@ws.apache.org ; [EMAIL PROTECTED] 
  Sent: Thursday, November 16, 2006 6:25 PM
  Subject: Re: 2nd POST: Axis2-1.1 - DIME attachment


  Thanks Dims! I'll try if I can do that.

  - Sridhar.

   
  On 11/16/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: 
    There is a DimeDelimitedInputStream in Axis1.X that can be ported to 
Axis2...

    -- dims


    On 11/16/06, sridhar vudutha < [EMAIL PROTECTED]> wrote:
    > Axis Gurus,
    >        I'm trying to consume a .NET web service. The SOAP response is
    > attached with DIME content which I need to ignore. The service provider 
is 
    > using DIME content for their internal purpose and they cannot stop sending
    > it. I don't have to do anything with the attachment. I just need a work
    > around to filter out the DIME content before feeding the SOAP response to 
    > the Parser, coz the Parser is blowing out on seeing this content. Any
    > suggestions (sample codes) on implementing this would be a great - great
    > help.
    >
    > Thanks,
    > Sridhar.


    --
    Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

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



Reply via email to