axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkata Rathnamaiah Nichenametla <venkata.nichename...@aricent.com>
Subject Help needed to parse wsa headers and BODY
Date Wed, 02 Mar 2011 06:52:13 GMT
Hi,

I am able to parse  Generic SOAP messages without WSA Headers. After introducing wsa headers,
I am not able to parse with the APIs which I have used.

Could you please help me what Axis2C APIs to use to parse (we are using 1.5 version.)

Any sample would be really helpful to solve this.

The snippet of the SOAP message is as below:

<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<soap:Header>
    <wsa:RelatesTo>clientrequest_001</wsa:RelatesTo>
    <wsa:MessageID>39025</wsa:MessageID>
     <wsa:Action>http://clas-0/SoapProvisioningInterface/v1/services/ServiceActivator</wsa:Action>
     <wsa:To>http:// listener:889/AsyncSoapResponseListener</wsa:To>
</soap:Header>
   <soap:Body>
      <ns1:querySubscribedServicesResponse xmlns:ns1="http://xyz.com/npm/SoapProvisioningInterface/">
         <ns1:response>
            <ns1:queryServicesResponse xsi:type="ns1:queryServicesResponse">
               <failureDetails xsi:nil="true" xmlns="http://xyz.com/npm/SoapProvisioningInterface/"/>
               <service xsi:type="service" xmlns="http://xyz.com/npm/SoapProvisioningInterface/">
                  <attributes>
                     <attribute xsi:type="singlevalue" name="Id" identifying="false" enumeration="false">
                        <value xsi:type="xsd:string">8</value>
                        <name>Id</name>
                        <identifying>false</identifying>
                        <enumeration>false</enumeration>
                     </attribute>
                     <attribute xsi:type="singlevalue" name="ErrorCode" identifying="false"
enumeration="false">
                        <value xsi:type="xsd:string">0</value>
                        <name>ErrorCode</name>
                        <identifying>false</identifying>
                        <enumeration>false</enumeration>
                     </attribute>
                     <attribute xsi:type="singlevalue" name="Country" identifying="false"
enumeration="false">
                        <value xsi:type="xsd:string">French</value>
                        <name>CountryCode</name>
                        <identifying>false</identifying>
                        <enumeration>false</enumeration>
                     </attribute>
                     <attribute xsi:type="singlevalue" name="IPAddress" identifying="false"
enumeration="false">
                        <value xsi:type="xsd:string">8</value>
                        <name>IPAddress</name>
                        <identifying>false</identifying>
                        <enumeration>false</enumeration>
                     </attribute>
                     <attribute xsi:type="singlevalue" name="DeviceId" identifying="false"
enumeration="false">
                        <value xsi:type="xsd:string">8</value>
                        <name>DeviceId</name>
                        <identifying>false</identifying>
                        <enumeration>false</enumeration>
                     </attribute>
                  </attributes>
                  <serviceIdentifier xsi:type="serviceIdentifier">
                     <primaryKey>Service_Ins_v1_0_0</primaryKey>
                     <serviceCode>Service_Ins_v1_0_0</serviceCode>
                  </serviceIdentifier>
               </service>
            </ns1:queryServicesResponse>
         </ns1:response>
      </ns1:querySubscribedServicesResponse>
   </soap:Body>
</soap:Envelope>

Thanks in Advance
Venkat

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of
the individual to whom it is addressed. It may contain privileged or confidential information
and should not be circulated or used for any purpose other than for what it is intended. If
you have received this message in error, please notify the originator immediately. If you
are not the intended recipient, you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility
for loss or damage arising from the use of the information transmitted by this email including
damage from virus."

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Mime
View raw message