Anonymous_User Absent Member.
Absent Member.
1078 views

getSettingsResponse() return types

All,

I am calling getSettingsRequest() to look at client settings. (Using PHP,
and a modified GroupwiseService class)

In the 'AppointmentMessageSettings', 'TaskMessageSettings' and
'NoteMessageSettings' groups, this returns compound values for the 'value'
property of several settings objects. This blows up my code in WSDL mode.
(SOAP exception by the extended SoapClient.)

If I read the schema correctly, the value field is defined as 'string'.
Is there a way to fix this ?
(See XML return sample below)

Thanks,
Johan
<gwt:setting>
<gwt:field>appointmentReturnAccept</gwt:field>
<gwt:value>
<gwt:mail>1</gwt:mail>
<gwt:locked>1</gwt:locked>
</gwt:value>
</gwt:setting>
<gwt:setting>
<gwt:field>appointmentReturnDelete</gwt:field>
<gwt:value>
<gwt:mail>1</gwt:mail>
<gwt:locked>1</gwt:locked>
</gwt:value>
</gwt:setting>


Labels (1)
0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: getSettingsResponse () return types

Sorry, that was fixed in Bonsai only.

Preston

>>> On Thursday, April 10, 2008 at 5:43 PM, Johan

Reinalda<johan@global.thunderbird.edu> wrote:
> All,
>
> I am calling getSettingsRequest() to look at client settings. (Using PHP,


> and a modified GroupwiseService class)
>
> In the 'AppointmentMessageSettings', 'TaskMessageSettings' and
> 'NoteMessageSettings' groups, this returns compound values for the 'value'


> property of several settings objects. This blows up my code in WSDL mode.


> (SOAP exception by the extended SoapClient.)
>
> If I read the schema correctly, the value field is defined as 'string'.
> Is there a way to fix this ?
> (See XML return sample below)
>
> Thanks,
> Johan
> <gwt:setting>
> <gwt:field>appointmentReturnAccept</gwt:field>
> <gwt:value>
> <gwt:mail>1</gwt:mail>
> <gwt:locked>1</gwt:locked>
> </gwt:value>
> </gwt:setting>
> <gwt:setting>
> <gwt:field>appointmentReturnDelete</gwt:field>
> <gwt:value>
> <gwt:mail>1</gwt:mail>
> <gwt:locked>1</gwt:locked>
> </gwt:value>
> </gwt:setting>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: getSettingsResponse () return types

Hmm,
wouldn't this be possible to fix by adjusting the WSDL files?
Is there a beta of the bonsai wsdl files somewhere?

Worst case scenario, I run that call in non-WSDL mode and parse the
resultant data by hand 😞

Johan

"Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
news:47FEF6BF.07F1.0037.1@gw.novell.com...
> Sorry, that was fixed in Bonsai only.
>
> Preston
>
>>>> On Thursday, April 10, 2008 at 5:43 PM, Johan

> Reinalda<johan@global.thunderbird.edu> wrote:
>> All,
>>
>> I am calling getSettingsRequest() to look at client settings. (Using PHP,

>
>> and a modified GroupwiseService class)
>>
>> In the 'AppointmentMessageSettings', 'TaskMessageSettings' and
>> 'NoteMessageSettings' groups, this returns compound values for the
>> 'value'

>
>> property of several settings objects. This blows up my code in WSDL mode.

>
>> (SOAP exception by the extended SoapClient.)
>>
>> If I read the schema correctly, the value field is defined as 'string'.
>> Is there a way to fix this ?
>> (See XML return sample below)
>>
>> Thanks,
>> Johan
>> <gwt:setting>
>> <gwt:field>appointmentReturnAccept</gwt:field>
>> <gwt:value>
>> <gwt:mail>1</gwt:mail>
>> <gwt:locked>1</gwt:locked>
>> </gwt:value>
>> </gwt:setting>
>> <gwt:setting>
>> <gwt:field>appointmentReturnDelete</gwt:field>
>> <gwt:value>
>> <gwt:mail>1</gwt:mail>
>> <gwt:locked>1</gwt:locked>
>> </gwt:value>
>> </gwt:setting>



0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: getSettingsResponse () return types

I'm not sure how to get the schema to return a string or
structure without changing the code on the POA side.
I'll check to see if we can post an update to the Bonsai
schema.

Preston

>>> On Friday, April 11, 2008 at 9:42 AM, Johan

Reinalda<johan@global.thunderbird.edu> wrote:
> Hmm,
> wouldn't this be possible to fix by adjusting the WSDL files?
> Is there a beta of the bonsai wsdl files somewhere?
>
> Worst case scenario, I run that call in non-WSDL mode and parse the
> resultant data by hand 😞
>
> Johan
>
> "Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
> news:47FEF6BF.07F1.0037.1@gw.novell.com...
>> Sorry, that was fixed in Bonsai only.
>>
>> Preston
>>
>>>>> On Thursday, April 10, 2008 at 5:43 PM, Johan

>> Reinalda<johan@global.thunderbird.edu> wrote:
>>> All,
>>>
>>> I am calling getSettingsRequest() to look at client settings. (Using

PHP,
>>
>>> and a modified GroupwiseService class)
>>>
>>> In the 'AppointmentMessageSettings', 'TaskMessageSettings' and
>>> 'NoteMessageSettings' groups, this returns compound values for the
>>> 'value'

>>
>>> property of several settings objects. This blows up my code in WSDL

mode.
>>
>>> (SOAP exception by the extended SoapClient.)
>>>
>>> If I read the schema correctly, the value field is defined as 'string'.
>>> Is there a way to fix this ?
>>> (See XML return sample below)
>>>
>>> Thanks,
>>> Johan
>>> <gwt:setting>
>>> <gwt:field>appointmentReturnAccept</gwt:field>
>>> <gwt:value>
>>> <gwt:mail>1</gwt:mail>
>>> <gwt:locked>1</gwt:locked>
>>> </gwt:value>
>>> </gwt:setting>
>>> <gwt:setting>
>>> <gwt:field>appointmentReturnDelete</gwt:field>
>>> <gwt:value>
>>> <gwt:mail>1</gwt:mail>
>>> <gwt:locked>1</gwt:locked>
>>> </gwt:value>
>>> </gwt:setting>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: getSettingsResponse () return types

Preston,

I realized over the weekend what actual error was, the 'locked' property
being returned inside the 'value' property, instead of nested at the same
level... I'll work around that with non-wsdl code for those groups.

A bonsai WSDL would be appreciated!

Thanks,
Johan

"Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
news:480305E3.07F1.0037.1@gw.novell.com...
> I'm not sure how to get the schema to return a string or
> structure without changing the code on the POA side.
> I'll check to see if we can post an update to the Bonsai
> schema.
>
> Preston
>
>>>> On Friday, April 11, 2008 at 9:42 AM, Johan

> Reinalda<johan@global.thunderbird.edu> wrote:
>> Hmm,
>> wouldn't this be possible to fix by adjusting the WSDL files?
>> Is there a beta of the bonsai wsdl files somewhere?
>>
>> Worst case scenario, I run that call in non-WSDL mode and parse the
>> resultant data by hand 😞
>>
>> Johan
>>
>> "Preston Stephenson" <PStephenson@gw.novell.com> wrote in message
>> news:47FEF6BF.07F1.0037.1@gw.novell.com...
>>> Sorry, that was fixed in Bonsai only.
>>>
>>> Preston
>>>
>>>>>> On Thursday, April 10, 2008 at 5:43 PM, Johan
>>> Reinalda<johan@global.thunderbird.edu> wrote:
>>>> All,
>>>>
>>>> I am calling getSettingsRequest() to look at client settings. (Using

> PHP,
>>>
>>>> and a modified GroupwiseService class)
>>>>
>>>> In the 'AppointmentMessageSettings', 'TaskMessageSettings' and
>>>> 'NoteMessageSettings' groups, this returns compound values for the
>>>> 'value'
>>>
>>>> property of several settings objects. This blows up my code in WSDL

> mode.
>>>
>>>> (SOAP exception by the extended SoapClient.)
>>>>
>>>> If I read the schema correctly, the value field is defined as 'string'.
>>>> Is there a way to fix this ?
>>>> (See XML return sample below)
>>>>
>>>> Thanks,
>>>> Johan
>>>> <gwt:setting>
>>>> <gwt:field>appointmentReturnAccept</gwt:field>
>>>> <gwt:value>
>>>> <gwt:mail>1</gwt:mail>
>>>> <gwt:locked>1</gwt:locked>
>>>> </gwt:value>
>>>> </gwt:setting>
>>>> <gwt:setting>
>>>> <gwt:field>appointmentReturnDelete</gwt:field>
>>>> <gwt:value>
>>>> <gwt:mail>1</gwt:mail>
>>>> <gwt:locked>1</gwt:locked>
>>>> </gwt:value>
>>>> </gwt:setting>



0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.