You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by sridhar vudutha <sr...@gmail.com> on 2006/11/16 20:31:47 UTC
2nd POST: Axis2-1.1 - DIME attachment
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.
Re: 2nd POST: Axis2-1.1 - DIME attachment
Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Is that really true, Sanjiva? I thought DIME was the only attachment
support on all versions of .Net prior to the recently-released 3.0.
- Dennis
Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117
Sanjiva Weerawarana wrote:
> Not at all .. the folks in Redmond totally abandoned DIME a long time
> ago. (At least 3 years ago!)
>
> Sanjiva.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: 2nd POST: Axis2-1.1 - DIME attachment
Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Thu, 2006-11-16 at 19:02 -0500, Martin Gainty wrote:
> Good Evening Gentlemen-
>
> making sure DIME is supported is an important for interoperability
> with the folks in redmond..
Not at all .. the folks in Redmond totally abandoned DIME a long time
ago. (At least 3 years ago!)
Sanjiva.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: 2nd POST: Axis2-1.1 - DIME attachment
Posted by Martin Gainty <mg...@hotmail.com>.
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 mseibert@us.ibm.com
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 ; dims@apache.org
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 <da...@gmail.com> wrote:
There is a DimeDelimitedInputStream in Axis1.X that can be ported to Axis2...
-- dims
On 11/16/06, sridhar vudutha < sridhar.jforum@gmail.com> 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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: 2nd POST: Axis2-1.1 - DIME attachment
Posted by sridhar vudutha <sr...@gmail.com>.
Thanks Dims! I'll try if I can do that.
- Sridhar.
On 11/16/06, Davanum Srinivas <da...@gmail.com> wrote:
>
> There is a DimeDelimitedInputStream in Axis1.X that can be ported to
> Axis2...
>
> -- dims
>
>
> On 11/16/06, sridhar vudutha <sr...@gmail.com> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: 2nd POST: Axis2-1.1 - DIME attachment
Posted by Davanum Srinivas <da...@gmail.com>.
There is a DimeDelimitedInputStream in Axis1.X that can be ported to Axis2...
-- dims
On 11/16/06, sridhar vudutha <sr...@gmail.com> 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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org