cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL Field format

Former Member
0 Kudos

Hi,

I'm using a wsdl file generated from a function module and i have a problem with the date field that i want to retrieve on a PDA (blackberry) : it isn't recognized and displays nothing.

the declaration in the wsdl looks like this :

<xsd:simpleType name="date">

<xsd:restriction base="xsd:string">

<xsd:maxLength value="10"/>

<xsd:pattern value="\d\d\d\d-\d\d-\d\d"/>

</xsd:restriction>

</xsd:simpleType>

<wsdl:message name="ZtestDate4Webservices">

<wsdl:part name="Date" type="n0:date"/>

</wsdl:message>

<wsdl:message name="ZtestDate4WebservicesResponse">

<wsdl:part name="Dateto" type="n0:date"/>

</wsdl:message>

I believe the problem is in : <xsd:pattern value="\d\d\d\d-\d\d-\d\d"/> but i don't know how to solve it. I tried redifining the virtual interface but i can't change the type.

I could retrieve the date, adding another (string) field that i populate with the corresponding dates but i would like the date field to work.

Thanks for your answers.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tomislav,

I guess you must be using MDS studio for generating the application. I wanted to know to which version of MI are you tryin to integrate this or are you tryin to create a stand alone apps integrated with the backend directly.

Thanks...

Preetham S