|
|
Choosing A Webhost: |
Re: Problem while returning the response back (axis2C): msg#00152apache.webservices.axis-c.user
Hi Sathya, If I got your question correctly, you are asking why there the returning object (which is created inside the service logic) is re-created in the client side. When you create and return the adb objects in ther server logic it is serialized into an xml and embed it in a soap message and send to the client. So client only have the xml. so in the client side to output adb objects (similar to objects you created in the server side), we need to recreate the objects with the information in the xml. That is done in the deserialize function. We cannot give the same objects returned by the service, because simple we cannot send object pointers through the network. You will be able to see the messages pass through client and server from a tool like Apache tcpmon. It seems that your adb object handling in the server logic is correct,( I cant gaurentee that without seen the other generated code or the wsdl) but it is better you track the messages and check the response soap. So we can find what s gone wrong. And btw if is not safe to write code like, myInt->attrib_pInterchange = adb_INTERCHANGE_create(env); You are expected only use the header files (i.e. the API) so the above line should better be changed to adb_INTERCHANGE_t *x; x = adb_INTERCHANGE_create(env); adb_pInterchange_set_pInterchange(myInt, env, x); This is because if you dont follow this, if you generate the code future you may need to rewrite the service logic again, since it is only the API is guaranteed to be kept same from version to version. Thanks, Dimuthu On 9/25/07, Sathya Raghunathan
<pappu.raghunathan-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Eclipse and axis2c, Nandika Jayawardana |
|---|---|
| Next by Date: | Re: how to set the username & password dynamically using Rampart, Manjula Peiris |
| Previous by Thread: | Problem while returning the response back (axis2C), Sathya Raghunathan |
| Next by Thread: | Fwd: Problem while returning the response back (axis2C), Sathya Raghunathan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |