Hi,
Thank you for helping.
I attached also the wsdl file. Regarding compiling you can easily remove
1 wxWidgets stuff and it will compile. What I observed debugging and is strange
is that generated line coderet_node = axis2_svc_client_send_receive_with_op_qname( svc_client, env, op_qname, payload); comes to execute with payload = NULL and I think this is incorrect. But this is generated code so because of that I don't know what to do. I am calling my webservice which is up from Settings.cpp. Thank you, Virgil ----- Original Message ---- From: Dimuthu Gamage <[EMAIL PROTECTED]> To: Apache AXIS C User List <[email protected]> Sent: Tuesday, January 8, 2008 3:52:40 AM Subject: Re: Axis2C generated client issue (please see atached code for details) On Jan 8, 2008 7:18 AM, Dimuthu Gamage <[EMAIL PROTECTED]> wrote: > Yea, It s better we have the WSDL file to figure out what has > happened. I cant compile the code since I dont have installed > wxWidget. :( > > I assume this is a problem of dispatching the request with empty body. > ( I noticed that your soap action is not the way Axis2 expected to > dispatch). > > > So can you try out setting the endpoint uri to. > > "http://your_actual_endpoint/axis2/services/BursterPublic/getStting" Correction: this should be "http://your_actual_endpoint/axis2/services/BursterPublic/getSetting" > (notice the end it is the operation name) > > > Thanks > Dimuthu > > > > On Jan 8, 2008 4:01 AM, Mark Nüßler <[EMAIL PROTECTED]> wrote: > > Hello Trasca, > > > > [sry last mail i said Virgil not Trasca] > > > > can you please send the wsdl-file and the command > > you use to generate you code ? > > > > i think you have to you tcpmon, otherwise > > you wouldn't see what was transmitted - if > > something was really transmitted. > > > > mfg derMark > > > > > > Trasca Virgil schrieb: > > > > > Hi, > > > > > > I am a newbie to Axis2C client and I have an issue. My server is Axis2 Java 1.3 and is up with a service getSettings() which is correct (I am 100% about that). > > > > > > The client is C and is generated with wsdl2c codegent. The issue is than when I call getSettings from C I got NULL all the time even is the service is working. > > > I tried to use tcpmon but with not success. > > > > > > in Settings.cpp > > > I have function getSettings() which is returning all the time NULL even if I consider that I did all the pre-requites correctly. This function should not return NULL but a corect value. > > > > > > > > > adb_getSettingsResponse_t* Settings::getSettings() > > > { > > > return axis2_stub_BursterPublic_getSettings(stub,env); > > > } > > > > > > > > > What I observed by debugging and is strange is that in generated code > > > > > > axis2_stub_BursterPublic_getSettings > > > > > > there is a call to > > > > > > ret_node = axis2_svc_client_send_receive_with_op_qname( svc_client, env, op_qname, payload); and here payload comes all the time NULL as it is initialized > > > > > > earlier in the function with NULL and is not changed before calling axis2_svc_client_send_receive_with_op_qname. > > > > > > I thing payload should not be null at this point . Please assist me. > > > > > > Thank you, > > > Virgil. > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > ------------------------------------------------------------------------ > > > > > > No virus found in this incoming message. > > > Checked by AVG Free Edition. > > > Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 07.01.2008 09:14 > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
axisc_generated.rar
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
