cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice returns null

Former Member
0 Kudos
61

Hello experts!

I have developed a Portal Service and created a Portal WebService from the Portal Service. If I return a String from my webservice method everything works fine. But I want to return a object with 2 Strings. I defined a Interface and a Class with my attributs and getter/settter methods. In my WebService method I returned a instance of this class. The WSDL was generated correctly. If I want to consume the WebService the return structure was gernerated fine but the values were null!

Thanks for your help!

Johannes

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

I used SOAPui and it works. The problem was WCFStorm....

Daniel_KASIMIR
Participant
0 Kudos

Thank you very much, Johannes!

SoapUI helped me to understand how webservices work and which data to request.

Daniel

Former Member
0 Kudos

Hi,

You're welcome.

Regards,

Pierre

Former Member
0 Kudos

Hello!

I've tested it with WCFStorm...

Regards,

Johannes

Daniel_KASIMIR
Participant
0 Kudos

Hello,

is there a solution for this problem?

--

Hallo,

haben Sie ein Lösung für das Problem gefunden? Auch bei mir bleiben strukturierte Inhalte leer.

Danke

D. Kasimirowicz

Former Member
0 Kudos

Hi,

Have you tested your Web Service with the WS Navigator and/or [SoapUI|http://soapui.org/]?

Regards,

Pierre