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 Sandeep Khurana <sa...@persistent.co.in> on 2010/02/10 17:01:04 UTC

Interoperability of Axis2

Hi,
I have created a simple webservice using the POJO class in eclipse. One of the web had a custom class as a parameter.
The issue that I faced was when I created the C++ client using gSoap client. The Webservice was not able to receive the custom class object and it was null

Is this a known issue or I need to do some more settings?

-sandeep

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

RE: Interoperability of Axis2

Posted by Sandeep Khurana <sa...@persistent.co.in>.
I tried the reverse way. Generated the java server side classes from the generated WSDL (from the POJO deployed webservice) and then deployed the WS (using this new generated code). Now I was able to get the custom object as a parameter in the web method.

But I am still not getting why the reverse with a POJO did not work?
Has anyone faces this issue before?
-Sandeep
________________________________
From: Sandeep Khurana [mailto:sandeep_khurana@persistent.co.in]
Sent: Friday, February 12, 2010 11:21 AM
To: axis-user@ws.apache.org
Subject: RE: Interoperability of Axis2

Any pointer on this issue will be helpful...
-Sandeep
________________________________
From: Sandeep Khurana [mailto:sandeep_khurana@persistent.co.in]
Sent: Thursday, February 11, 2010 6:52 PM
To: axis-user@ws.apache.org
Subject: RE: Interoperability of Axis2

I have checked the request and response messages.
<wsdl:message name="getMethodRequest" />
<wsdl:message name="getMethodResponse">
They are present in the WSDL file. Actually I am able to get String Objects but not this Custom Objects.
Any pointers will be helpful?

-Sandeep

________________________________
From: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]
Sent: Thursday, February 11, 2010 10:34 AM
To: axis-user@ws.apache.org
Subject: Re: Interoperability of Axis2


On Wed, Feb 10, 2010 at 9:31 PM, Sandeep Khurana <sa...@persistent.co.in>> wrote:
Hi,
I have created a simple webservice using the POJO class in eclipse. One of the web had a custom class as a parameter.
The issue that I faced was when I created the C++ client using gSoap client. The Webservice was not able to receive the custom class object and it was null

Is this a known issue or I need to do some more settings?

check the wsdl you get with the deployed service with the request and response messages.

thanks,
Amila.

-sandeep

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.



--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

RE: Interoperability of Axis2

Posted by Sandeep Khurana <sa...@persistent.co.in>.
Any pointer on this issue will be helpful...
-Sandeep
________________________________
From: Sandeep Khurana [mailto:sandeep_khurana@persistent.co.in]
Sent: Thursday, February 11, 2010 6:52 PM
To: axis-user@ws.apache.org
Subject: RE: Interoperability of Axis2

I have checked the request and response messages.
<wsdl:message name="getMethodRequest" />
<wsdl:message name="getMethodResponse">
They are present in the WSDL file. Actually I am able to get String Objects but not this Custom Objects.
Any pointers will be helpful?

-Sandeep

________________________________
From: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]
Sent: Thursday, February 11, 2010 10:34 AM
To: axis-user@ws.apache.org
Subject: Re: Interoperability of Axis2


On Wed, Feb 10, 2010 at 9:31 PM, Sandeep Khurana <sa...@persistent.co.in>> wrote:
Hi,
I have created a simple webservice using the POJO class in eclipse. One of the web had a custom class as a parameter.
The issue that I faced was when I created the C++ client using gSoap client. The Webservice was not able to receive the custom class object and it was null

Is this a known issue or I need to do some more settings?

check the wsdl you get with the deployed service with the request and response messages.

thanks,
Amila.

-sandeep

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.



--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

RE: Interoperability of Axis2

Posted by Sandeep Khurana <sa...@persistent.co.in>.
I have checked the request and response messages.
<wsdl:message name="getMethodRequest" />
<wsdl:message name="getMethodResponse">
They are present in the WSDL file. Actually I am able to get String Objects but not this Custom Objects.
Any pointers will be helpful?

-Sandeep

________________________________
From: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]
Sent: Thursday, February 11, 2010 10:34 AM
To: axis-user@ws.apache.org
Subject: Re: Interoperability of Axis2


On Wed, Feb 10, 2010 at 9:31 PM, Sandeep Khurana <sa...@persistent.co.in>> wrote:
Hi,
I have created a simple webservice using the POJO class in eclipse. One of the web had a custom class as a parameter.
The issue that I faced was when I created the C++ client using gSoap client. The Webservice was not able to receive the custom class object and it was null

Is this a known issue or I need to do some more settings?

check the wsdl you get with the deployed service with the request and response messages.

thanks,
Amila.

-sandeep

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.



--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

Re: Interoperability of Axis2

Posted by Amila Suriarachchi <am...@gmail.com>.
On Wed, Feb 10, 2010 at 9:31 PM, Sandeep Khurana <
sandeep_khurana@persistent.co.in> wrote:

>  Hi,
>
> I have created a simple webservice using the POJO class in eclipse. One of
> the web had a custom class as a parameter.
>
> The issue that I faced was when I created the C++ client using gSoap
> client. The Webservice was not able to receive the custom class object and
> it was null
>
>
>
> Is this a known issue or I need to do some more settings?
>

check the wsdl you get with the deployed service with the request and
response messages.

thanks,
Amila.

>
>
> -sandeep
>
> DISCLAIMER ========== This e-mail may contain privileged and confidential
> information which is the property of Persistent Systems Ltd. It is intended
> only for the use of the individual or entity to which it is addressed. If
> you are not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of
> this message. Persistent Systems Ltd. does not accept any liability for
> virus infected mails.
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/