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 Nirav Shah <sn...@gmail.com> on 2009/09/23 00:45:08 UTC
Axis 2 Attachment Service and Axis 1.4 Client
Hi,
I have a Axis2 MTOM Attachment service. I have an Element *"details"* which
is a apachesoap:DataHandler defined in my Schema which gets generated as a
parameter OMElement in Axis2 for databinding ADB.
My Client is an Axis 1.4 generated Client . When i use TCPMON, i can see the
request contains the href="cid:.." in the *details *element. When the
request reaches the service, it shows that Element *details *has no href in
it, it shows up as <*details>**</details>* . Below is the request from
TCPMON.
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<soapenv:Body>
<testMTOM xmlns="http://test.foo.com">
<id_num xmlns="">111111</id_num>
<testData xmlns="">
<name>xalan.jar</name>
<details href="cid:77564C0A3072487B34C673E159E14DF5"/>
</testData>
<testData xmlns="">
<name>jaxb-xjc.jar</name>
<details href="cid:5FDA69D18B1E217F9202AAD5A86CD044"/>
</testData>
</testMTOM>
</soapenv:Body>
</soapenv:Envelope>
Can someone suggest a solution here as to why the href is not showing up
when the request reaches the service ?
Thanks,
Nirav