Just wanted to send a tickler for this post since I posted it on a Friday
evening.  Anybody have any ideas?

Thanks,
Jason

On Fri, Dec 11, 2009 at 2:55 PM, Jason Miller <jason.mil...@gmail.com>wrote:

> Hello everybody,
>
> I have created a web service against a home grown form for our web team to
> consume.  They are building a front end for non Remedy users to see the
> status of requests.  There is one operation to return all records with a
> status of Requested, Approved or In Progress if zero parameters are passed
> to the web service.  If any parameters are passed the records will be
> filter accordingly.
>
> This works fine when I test with soapUI but Cold Fusion appears to be
> choking on the WSDL that MT is creating.  CF is requiring a parameter to
> be passed for selection fields.  CF doesn’t even make a connection to the
> MT server if a custom type is null.  It will work with a null string type.
>  The web team is figuring that CF is reading the WSDL and not even
> attempting to call the web service since null is not a value for the
> selection fields.
>
> Does anybody have any experience with Cold Fusion and Remedy web services?
> Can anybody think of a way to make this work?
>
> Thanks,
> Jason
>
> ARS 7.5 p1
> MT 7.5
> MS SQL 2005
> Windows 2008 x64 both db and app servers
> Winwdos 2008 x32 web server
>
>
>
> Here is part of the WSDL where the types and values are declared.
>
> <xsd:schema elementFormDefault="qualified"
> targetNamespace="urn:WEB_SERVICE_NAME">
>
>    <xsd:element name="GetList_ByAudience_Status_AssignedTo"
> type="s0:GetListInputMap2"/>
>
>    <xsd:complexType name="GetListInputMap2">
>
>     <xsd:sequence>
>
>      <xsd:element minOccurs="0" name="Audience" nillable="true"
> type="s0:AudienceType"/>
>
>      <xsd:element minOccurs="0" name="maxLimit" nillable="true"
> type="xsd:string"/>
>
>      <xsd:element minOccurs="0" name="Assigned_To_Full_Name"
> nillable="true" type="xsd:string"/>
>
>      <xsd:element minOccurs="0" name="Status" nillable="true"
> type="s0:StatusType"/>
>
>      <xsd:element minOccurs="0" name="Salt" nillable="true"
> type="xsd:string"/>
>
>     </xsd:sequence>
>
>    </xsd:complexType>
>
>    <xsd:simpleType name="AudienceType">
>
>     <xsd:restriction base="xsd:string">
>
>      <xsd:enumeration value="Me"/>
>
>      <xsd:enumeration value="Myself"/>
>
>      <xsd:enumeration value="I"/>
>
>     </xsd:restriction>
>
>    </xsd:simpleType>
>
>    <xsd:simpleType name="StatusType">
>
>     <xsd:restriction base="xsd:string">
>
>      <xsd:enumeration value="Requested"/>
>
>      <xsd:enumeration value="Approved"/>
>
>      <xsd:enumeration value="In Progress"/>
>
>      <xsd:enumeration value="On Hold"/>
>
>      <xsd:enumeration value="Cancelled"/>
>
>      <xsd:enumeration value="Completed"/>
>
>     </xsd:restriction>
>
>    </xsd:simpleType>
>
>
>
> Here is the qualification for the GetList_ByAudience_Status_AssignedTo
> operation:
>
> (XPATH(/ROOT/Status) = $NULL$ AND XPATH(/ROOT/Assigned_To_Full_Name) =
> $NULL$ AND XPATH(/ROOT/Audience) = $NULL$ AND ('Status' = "Approved" OR
> 'Status' = "Requested" OR 'Status' = "In Progress")) OR (('Assigned To (Full
> Name)' = XPATH(/ROOT/Assigned_To_Full_Name) OR
> XPATH(/ROOT/Assigned_To_Full_Name) = $NULL$) AND ('Target Audience' =
> XPATH(/ROOT/Audience) OR XPATH(/ROOT/Audience) = $NULL$) AND ('Status' =
> XPATH(/ROOT/Status) OR XPATH(/ROOT/Status) = $NULL$) AND
> (XPATH(/ROOT/Status) != $NULL$ OR XPATH(/ROOT/Assigned_To_Full_Name) !=
> $NULL$ OR XPATH(/ROOT/Audience) != $NULL$))
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to