Hi Krishna,

>1.   Does there exist an API for setting an attribute of an element on
>the server side?

>2.   Does there exist an API for getting the attribute of a particular 
>element from the SoapMessage?

This is a pending stuff still. As in AXISCPP-634 client side is have
implemented but to implement in server side its more than simple patch.
This is taking some time. 

>3.   Does the axis client process ref tag ( previously href tag on its 
>own? )

Also ref support also is pending right now. AXISCPP-111 and AXISCPP-631.
And if you can send WSDL file and you client and server implementation I
would able to test and address better way to you questions. 

Thanks


Chinthana 

-----Original Message-----
From: krishna [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 30, 2005 11:10 PM
To: [email protected]
Subject: getting attributes from the SoapResponse

Hi All

I have a few questions ( some are clarifications ) regarding Axis API 
and behavior.

1.   Does there exist an API for setting an attribute of an element on 
the server side? 
      
2.   Does there exist an API for getting the attribute of a particular 
element from the SoapMessage?
      
       Notes:
       I found a function called getElementForAttributes and 
getAttributeAsString in the SoapDeSerializer class.
       I notice that the function 
SoapDeSerializer::getElementForAttributes gets only the next token ( 
element ) and exits.
       How does one access an token which is part of another token

       To make things more clearer. Can I access the ref attribute of 
the intItemArray tag in the SOAP-RESPONSE shown below>

> HTTP/1.1 200 OK
> Date: Thu, 30 Jun 2005 15:36:05 GMT
> Server: Apache/1.3.33 (Debian GNU/Linux)
> Transfer-Encoding: chunked
> Content-Type: text/xml
>  
> 2c0
> <?xml version='1.0' encoding='utf-8' ?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> <SOAP-ENV:Body>
> <ns1:echoIntArrayResponse xmlns:ns1="http://soapinterop.org/";>
> <intArrayType xsi:type="ns2:intArrayType" 
> xmlns:ns2="http://soapinterop.org/xsd";><intItemArray 
> ref="http://www.studentserv.lac.uic.edu/streamdata.txt"; 
> xmlns:enc="http://www.w3.org/2001/06/soap-encoding"; 
> enc:arrayType="xsd:int[0]"></intItemArray>intArrayType 
> xsi:type="ns2:intArrayType" 
>
xmlns:ns2="http://soapinterop.org/xsd";></intArrayType></ns1:echoIntArray
Response>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>  
> 0


3.   Does the axis client process ref tag ( previously href tag on its 
own? )


Thanks
Krishna
      

Reply via email to