Hey guys,
Okay look I thought I new everything i would ever need to know about web
services but oh MY god how wrong was I! I am trying to connect to the Seek
web service they provide with the below code. I get the following error.
java.lang.IllegalArgumentException: argument type mismatch
Turns out there is an issue with the way ColdFusion connects to a .NET
webservice when passing structures and what not. ANYONE got ANY ideas
before i go postal!
<cfxml variable="FastLanePlus">
<?xml version="1.0" encoding="UTF-8"?>
<FastLanePlus UploaderID="9345726" AgentID="" Version="1.1">
<Client ID="9345726" MinJobs="0" MaxJobs="9999999">
<Job Reference="A12345" TemplateID="10259" ScreenID="">
<Title>Graduate Accountant</Title>
<SearchTitle>Graduate Accountant for Jeremy</SearchTitle>
<Description>Graduate Accountant Description</Description>
<AdDetails><![CDATA[Graduate Accountant Advertisement Text<br><b>This line is
bold</b>]]></AdDetails>
<ApplicationEmail>[EMAIL PROTECTED]</ApplicationEmail>
<ApplicationURL>http://xyzcompany.com.au</ApplicationURL>
<ResidentsOnly>Yes</ResidentsOnly>
<Items>
<Item Name="Bullet1">XYZ Company Bullet 1</Item>
<Item Name="Bullet2">XYZ Company Bullet 2</Item>
<Item Name="Bullet3">XYZ Company Bullet 3</Item>
<Item Name="Consultant">Connie Constantine</Item>
<Item Name="ConsultantTelephone">03 1234 5678</Item>
<Item Name="ResumeRequired">Yes</Item>
</Items>
<Listing MarketSegments="Main Campus">
<Classification Name="Location">Sydney</Classification>
<Classification Name="Area">SydneyInner</Classification>
<Classification Name="Classification">Accounting</Classification>
<Classification Name="SubClassification">Accountant</Classification>
<Classification Name="Specialisation">AssistantGraduate</Classification>
<Classification Name="WorkType">FullTime</Classification>
</Listing>
</Job>
</Client>
</FastLanePlus></cfxml>
<cfinvoke
webservice="http://test.webservices.seek.com.au/FastLanePlus.asmx?wsdl"
method="UploadFile"
returnvariable="Uploaded"
>
<cfinvokeargument name="token" value="#tokenID#"/>
<cfinvokeargument name="xmlFastlaneFile"
value='#FastLanePlus#'/>
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/