Re: .Net Web Service HELP!

2005-04-14 Thread Ernie Pena
Thanks everyone for helping, but maybe I should explain it a bit better. I 
have to send an array of data and an array of boolean through the web 
service. I know that both arrays are good but I get a mismatch error or a 
paramator not found error.

Array example of Data:
123.0 TRUE 2 334.9 FALSE 5

TimeOnTest=123.0
HasDied=TRUE
SubGroup=2

ArrayOfBoolean Example
FALSE FALSE FALSE FALSE FALSE

the Web service expects a total of 5 in the array.

Thanks again!

EP!


- Original Message - 
From: Joe Rinehart [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, April 13, 2005 9:11 PM
Subject: Re: .Net Web Service HELP!


 Hey guys,

 You might also like convertDotNetDataset()
 (http://clearsoftware.net/client/convertDotNetDataset.cfm) - accounts
 for multi-table datasets, which is where I hit a wall with DotNetGlue.

 Cheers,

 Joe


 On 4/13/05, Kevin Aebig [EMAIL PROTECTED] wrote:
 Check out DotNetGlue... we use it for all of our dot net WS calls.

 http://www.af-design.com/resources/coldfusion/

 Cheers,

 Kevin

 -Original Message-
 From: Ernie Pena [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 7:52 AM
 To: CF-Talk
 Subject: .Net Web Service HELP!

 I am connecting to a .net web service and I am able to get a response on 
 a
 simple test, however when I try to send the complex data I get an error. 
 I'm
 not sure what I need to do but I'm sure the data I'm sending over isnt 
 quite
 right or is it.

 First let me show you the .net ws because its an internal site I can only
 paste the code.

 ...NET Web Service xml
 method: StopCheckingRule
 requires two an Array (aPatients) and an Array of Boolean
 (aSubGroupContinueIndicators)
 
 -
 POST /IVBuMelWebSvc/TrialConductor.asmx HTTP/1.1
 Host: biostat252.mdacc.tmc.edu
 Content-Type: text/xml; charset=utf-8
 Content-Length: length
 SOAPAction: TrialIVBuMel/CheckStoppingRule

 ?xml version=1.0 encoding=utf-8?
 soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Body
 CheckStoppingRule xmlns=TrialIVBuMel
   aPatients
 Patient
   TimeOnTestdouble/TimeOnTest
   SubGroupint/SubGroup
   HasDiedboolean/HasDied
 /Patient
 Patient
   TimeOnTestdouble/TimeOnTest
   SubGroupint/SubGroup
   HasDiedboolean/HasDied
 /Patient
   /aPatients
   aSubGroupContinueIndicators
 booleanboolean/boolean
 booleanboolean/boolean
   /aSubGroupContinueIndicators
   sErrorsstring/sErrors
 /CheckStoppingRule
   /soap:Body
 /soap:Envelope
 -

 My Code:
 
 -

 cfset aPatients = arrayNew(1) /
 cfset aPatients [1] = createObject(component, Patient) /
 cfset aPatients [1].TimeOnTest = 23 /
 cfset aPatients [1].SubGroup = 2 /
 cfset aPatients [1].HasDied = FALSE /

 cfset Indicators = arrayNew(1)/
 cfset Indicators[1] = FALSE /
 cfset Indicators[2] = FALSE /
 cfset Indicators[3] = FALSE  /
 cfset Indicators[4] = FALSE /
 cfset Indicators[5] = FALSE /

 CFSCRIPT
ws = CreateObject(webservice,

 http://biostat252.mdacc.tmc.edu/IVBuMelWebSvc/TrialConductor.asmx?wsdl;);
sErrors =
 ws.CheckStoppingRule(aPatients=#aPatients#,aSubGroupContinueIndicators=#I
 ndicators#);
 writeoutput(sErrors);
 /CFSCRIPT

 
 -

 Any help with this would be greatly appreciated!

 Thanks in advance

 Ernie Pena
 U. T. M. D. Anderson Cancer Center



 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202757
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: .Net Web Service HELP!

2005-04-14 Thread Robert Munn
Ernie, I was having a similar problem with a complex WS call for an internal 
project and eventually I ended up building a Java-based solution to deal with 
it. There are actually a lot of helpful tools to accomplish this sort of task 
in Java. I would be happy to share the solution with you if you like. Email me 
offlist, [EMAIL PROTECTED] 

Rob Munn

Thanks everyone for helping, but maybe I should explain it a bit better. I 
have to send an array of data and an array of boolean through the web 
service. I know that both arrays are good but I get a mismatch error or a 
paramator not found error.

Array example of Data:
123.0 TRUE 2 334.9 FALSE 5

TimeOnTest=123.0
HasDied=TRUE
SubGroup=2

ArrayOfBoolean Example
FALSE FALSE FALSE FALSE FALSE

the Web service expects a total of 5 in the array.

Thanks again!

EP!


- Original Message - 
From: Joe Rinehart [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, April 13, 2005 9:11 PM
Subject: Re: .Net Web Service HELP!




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202880
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: .Net Web Service HELP!

2005-04-13 Thread Steven Brownlee
The simplest way is to convert any complex ColdFusion structure to an XML
representation.  I did something similar for a client of mine sending CF
queries to a .NET client.  Had to convert all queries and structures to XML
first.  Check out http://www.cflib.org/udf.cfm?ID=648 

-Original Message-
From: Ernie Pena [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 9:52 AM
To: CF-Talk
Subject: .Net Web Service HELP!

I am connecting to a .net web service and I am able to get a response on a
simple test, however when I try to send the complex data I get an error. I'm
not sure what I need to do but I'm sure the data I'm sending over isnt quite
right or is it.

First let me show you the .net ws because its an internal site I can only
paste the code.

...NET Web Service xml
method: StopCheckingRule
requires two an Array (aPatients) and an Array of Boolean
(aSubGroupContinueIndicators)

-
POST /IVBuMelWebSvc/TrialConductor.asmx HTTP/1.1
Host: biostat252.mdacc.tmc.edu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: TrialIVBuMel/CheckStoppingRule

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Body
CheckStoppingRule xmlns=TrialIVBuMel
  aPatients
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
  /aPatients
  aSubGroupContinueIndicators
booleanboolean/boolean
booleanboolean/boolean
  /aSubGroupContinueIndicators
  sErrorsstring/sErrors
/CheckStoppingRule
  /soap:Body
/soap:Envelope
-

My Code:

-

cfset aPatients = arrayNew(1) /
cfset aPatients [1] = createObject(component, Patient) / cfset
aPatients [1].TimeOnTest = 23 / cfset aPatients [1].SubGroup = 2 / cfset
aPatients [1].HasDied = FALSE /

cfset Indicators = arrayNew(1)/
cfset Indicators[1] = FALSE /
cfset Indicators[2] = FALSE /
cfset Indicators[3] = FALSE  /
cfset Indicators[4] = FALSE /
cfset Indicators[5] = FALSE /

CFSCRIPT
   ws = CreateObject(webservice,
 
http://biostat252.mdacc.tmc.edu/IVBuMelWebSvc/TrialConductor.asmx?wsdl;);
   sErrors =
ws.CheckStoppingRule(aPatients=#aPatients#,aSubGroupContinueIndicators=#I
ndicators#);
writeoutput(sErrors);
/CFSCRIPT


-

Any help with this would be greatly appreciated!

Thanks in advance

Ernie Pena
U. T. M. D. Anderson Cancer Center 




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202547
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: .Net Web Service HELP!

2005-04-13 Thread Kevin Aebig
Check out DotNetGlue... we use it for all of our dot net WS calls.

http://www.af-design.com/resources/coldfusion/

Cheers,

Kevin

-Original Message-
From: Ernie Pena [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 7:52 AM
To: CF-Talk
Subject: .Net Web Service HELP!


I am connecting to a .net web service and I am able to get a response on a
simple test, however when I try to send the complex data I get an error. I'm
not sure what I need to do but I'm sure the data I'm sending over isnt quite
right or is it.

First let me show you the .net ws because its an internal site I can only
paste the code.

...NET Web Service xml
method: StopCheckingRule
requires two an Array (aPatients) and an Array of Boolean
(aSubGroupContinueIndicators)

-
POST /IVBuMelWebSvc/TrialConductor.asmx HTTP/1.1
Host: biostat252.mdacc.tmc.edu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: TrialIVBuMel/CheckStoppingRule

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Body
CheckStoppingRule xmlns=TrialIVBuMel
  aPatients
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
  /aPatients
  aSubGroupContinueIndicators
booleanboolean/boolean
booleanboolean/boolean
  /aSubGroupContinueIndicators
  sErrorsstring/sErrors
/CheckStoppingRule
  /soap:Body
/soap:Envelope
-

My Code:

-

cfset aPatients = arrayNew(1) /
cfset aPatients [1] = createObject(component, Patient) /
cfset aPatients [1].TimeOnTest = 23 /
cfset aPatients [1].SubGroup = 2 /
cfset aPatients [1].HasDied = FALSE /

cfset Indicators = arrayNew(1)/
cfset Indicators[1] = FALSE /
cfset Indicators[2] = FALSE /
cfset Indicators[3] = FALSE  /
cfset Indicators[4] = FALSE /
cfset Indicators[5] = FALSE /

CFSCRIPT
   ws = CreateObject(webservice,

http://biostat252.mdacc.tmc.edu/IVBuMelWebSvc/TrialConductor.asmx?wsdl;);
   sErrors =
ws.CheckStoppingRule(aPatients=#aPatients#,aSubGroupContinueIndicators=#I
ndicators#);
writeoutput(sErrors);
/CFSCRIPT


-

Any help with this would be greatly appreciated!

Thanks in advance

Ernie Pena
U. T. M. D. Anderson Cancer Center




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202586
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: .Net Web Service HELP!

2005-04-13 Thread Ernie Pena
well I'm sending complex data to the web service but I keep getting an error 
back stating 

 Web service operation CheckStoppingRule with parameters 
{aSubGroupContinueIndicators={[FALSE, FALSE, FALSE, FALSE, 
FALSE]},aPatients={[{SubGroup={2},TimeOnTest={3465.0},HasDied={False},}, 
{SubGroup={3},TimeOnTest={122.0},HasDied={True},}, 
{SubGroup={3},TimeOnTest={95.0},HasDied={True},}, 
{SubGroup={3},TimeOnTest={2342.0},HasDied={False},}, 
{SubGroup={2},TimeOnTest={2140.0},HasDied={True},}, 
{SubGroup={2},TimeOnTest={2292.0},HasDied={False},}, 
{SubGroup={3},TimeOnTest={2691.0},HasDied={False},}, 
{SubGroup={3},TimeOnTest={3380.0},HasDied={False},}]},} could not be found.  



- Original Message - 
From: Kevin Aebig [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, April 13, 2005 11:12 AM
Subject: RE: .Net Web Service HELP!


 Check out DotNetGlue... we use it for all of our dot net WS calls.
 
 http://www.af-design.com/resources/coldfusion/
 
 Cheers,
 
 Kevin
 
 -Original Message-
 From: Ernie Pena [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 7:52 AM
 To: CF-Talk
 Subject: .Net Web Service HELP!
 
 
 I am connecting to a .net web service and I am able to get a response on a
 simple test, however when I try to send the complex data I get an error. I'm
 not sure what I need to do but I'm sure the data I'm sending over isnt quite
 right or is it.
 
 First let me show you the .net ws because its an internal site I can only
 paste the code.
 
 ...NET Web Service xml
 method: StopCheckingRule
 requires two an Array (aPatients) and an Array of Boolean
 (aSubGroupContinueIndicators)
 
 -
 POST /IVBuMelWebSvc/TrialConductor.asmx HTTP/1.1
 Host: biostat252.mdacc.tmc.edu
 Content-Type: text/xml; charset=utf-8
 SOAPAction: TrialIVBuMel/CheckStoppingRule
 
 ?xml version=1.0 encoding=utf-8?
 soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Body
CheckStoppingRule xmlns=TrialIVBuMel
  aPatients
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
  /aPatients
  aSubGroupContinueIndicators
booleanboolean/boolean
booleanboolean/boolean
  /aSubGroupContinueIndicators
  sErrorsstring/sErrors
/CheckStoppingRule
  /soap:Body
 /soap:Envelope
 -
 
 My Code:
 
 -
 
 cfset aPatients = arrayNew(1) /
 cfset aPatients [1] = createObject(component, Patient) /
 cfset aPatients [1].TimeOnTest = 23 /
 cfset aPatients [1].SubGroup = 2 /
 cfset aPatients [1].HasDied = FALSE /
 
 cfset Indicators = arrayNew(1)/
 cfset Indicators[1] = FALSE /
 cfset Indicators[2] = FALSE /
 cfset Indicators[3] = FALSE  /
 cfset Indicators[4] = FALSE /
 cfset Indicators[5] = FALSE /
 
 CFSCRIPT
   ws = CreateObject(webservice,
 
 http://biostat252.mdacc.tmc.edu/IVBuMelWebSvc/TrialConductor.asmx?wsdl;);
   sErrors =
 ws.CheckStoppingRule(aPatients=#aPatients#,aSubGroupContinueIndicators=#I
 ndicators#);
writeoutput(sErrors);
 /CFSCRIPT
 
 
 -
 
 Any help with this would be greatly appreciated!
 
 Thanks in advance
 
 Ernie Pena
 U. T. M. D. Anderson Cancer Center
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202642
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: .Net Web Service HELP!

2005-04-13 Thread Kevin Aebig
Inside the CFC, I believe one thing it does incorrectly is reference a
certain element through xpath by hard coding it.

I'll dig up what I did to get it to work properly and post it.

Cheers,

Kevin

-Original Message-
From: Ernie Pena [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 1:26 PM
To: CF-Talk
Subject: Re: .Net Web Service HELP!


well I'm sending complex data to the web service but I keep getting an error
back stating

 Web service operation CheckStoppingRule with parameters
{aSubGroupContinueIndicators={[FALSE, FALSE, FALSE, FALSE,
FALSE]},aPatients={[{SubGroup={2},TimeOnTest={3465.0},HasDied={False},},
{SubGroup={3},TimeOnTest={122.0},HasDied={True},},
{SubGroup={3},TimeOnTest={95.0},HasDied={True},},
{SubGroup={3},TimeOnTest={2342.0},HasDied={False},},
{SubGroup={2},TimeOnTest={2140.0},HasDied={True},},
{SubGroup={2},TimeOnTest={2292.0},HasDied={False},},
{SubGroup={3},TimeOnTest={2691.0},HasDied={False},},
{SubGroup={3},TimeOnTest={3380.0},HasDied={False},}]},} could not be found.



- Original Message -
From: Kevin Aebig [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, April 13, 2005 11:12 AM
Subject: RE: .Net Web Service HELP!


 Check out DotNetGlue... we use it for all of our dot net WS calls.

 http://www.af-design.com/resources/coldfusion/

 Cheers,

 Kevin

 -Original Message-
 From: Ernie Pena [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 7:52 AM
 To: CF-Talk
 Subject: .Net Web Service HELP!


 I am connecting to a .net web service and I am able to get a response on a
 simple test, however when I try to send the complex data I get an error.
I'm
 not sure what I need to do but I'm sure the data I'm sending over isnt
quite
 right or is it.

 First let me show you the .net ws because its an internal site I can only
 paste the code.

 ...NET Web Service xml
 method: StopCheckingRule
 requires two an Array (aPatients) and an Array of Boolean
 (aSubGroupContinueIndicators)
 --
--
 -
 POST /IVBuMelWebSvc/TrialConductor.asmx HTTP/1.1
 Host: biostat252.mdacc.tmc.edu
 Content-Type: text/xml; charset=utf-8
 SOAPAction: TrialIVBuMel/CheckStoppingRule

 ?xml version=1.0 encoding=utf-8?
 soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Body
CheckStoppingRule xmlns=TrialIVBuMel
  aPatients
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
Patient
  TimeOnTestdouble/TimeOnTest
  SubGroupint/SubGroup
  HasDiedboolean/HasDied
/Patient
  /aPatients
  aSubGroupContinueIndicators
booleanboolean/boolean
booleanboolean/boolean
  /aSubGroupContinueIndicators
  sErrorsstring/sErrors
/CheckStoppingRule
  /soap:Body

/soap:Envelope
 -

 My Code:
 --
--
 -

 cfset aPatients = arrayNew(1) /
 cfset aPatients [1] = createObject(component, Patient) /
 cfset aPatients [1].TimeOnTest = 23 /
 cfset aPatients [1].SubGroup = 2 /
 cfset aPatients [1].HasDied = FALSE /

 cfset Indicators = arrayNew(1)/
 cfset Indicators[1] = FALSE /
 cfset Indicators[2] = FALSE /
 cfset Indicators[3] = FALSE  /
 cfset Indicators[4] = FALSE /
 cfset Indicators[5] = FALSE /

 CFSCRIPT
   ws = CreateObject(webservice,

 http://biostat252.mdacc.tmc.edu/IVBuMelWebSvc/TrialConductor.asmx?wsdl;);
   sErrors =

ws.CheckStoppingRule(aPatients=#aPatients#,aSubGroupContinueIndicators=#I
 ndicators#);
writeoutput(sErrors);
 /CFSCRIPT

 --
--
 -

 Any help with this would be greatly appreciated!

 Thanks in advance

 Ernie Pena
 U. T. M. D. Anderson Cancer Center








~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202680
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: .Net Web Service HELP!

2005-04-13 Thread Joe Rinehart
Hey guys,

You might also like convertDotNetDataset()
(http://clearsoftware.net/client/convertDotNetDataset.cfm) - accounts
for multi-table datasets, which is where I hit a wall with DotNetGlue.

Cheers,

Joe


On 4/13/05, Kevin Aebig [EMAIL PROTECTED] wrote:
 Check out DotNetGlue... we use it for all of our dot net WS calls.
 
 http://www.af-design.com/resources/coldfusion/
 
 Cheers,
 
 Kevin
 
 -Original Message-
 From: Ernie Pena [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 7:52 AM
 To: CF-Talk
 Subject: .Net Web Service HELP!
 
 I am connecting to a .net web service and I am able to get a response on a
 simple test, however when I try to send the complex data I get an error. I'm
 not sure what I need to do but I'm sure the data I'm sending over isnt quite
 right or is it.
 
 First let me show you the .net ws because its an internal site I can only
 paste the code.
 
 ...NET Web Service xml
 method: StopCheckingRule
 requires two an Array (aPatients) and an Array of Boolean
 (aSubGroupContinueIndicators)
 
 -
 POST /IVBuMelWebSvc/TrialConductor.asmx HTTP/1.1
 Host: biostat252.mdacc.tmc.edu
 Content-Type: text/xml; charset=utf-8
 Content-Length: length
 SOAPAction: TrialIVBuMel/CheckStoppingRule
 
 ?xml version=1.0 encoding=utf-8?
 soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Body
 CheckStoppingRule xmlns=TrialIVBuMel
   aPatients
 Patient
   TimeOnTestdouble/TimeOnTest
   SubGroupint/SubGroup
   HasDiedboolean/HasDied
 /Patient
 Patient
   TimeOnTestdouble/TimeOnTest
   SubGroupint/SubGroup
   HasDiedboolean/HasDied
 /Patient
   /aPatients
   aSubGroupContinueIndicators
 booleanboolean/boolean
 booleanboolean/boolean
   /aSubGroupContinueIndicators
   sErrorsstring/sErrors
 /CheckStoppingRule
   /soap:Body
 /soap:Envelope
 -
 
 My Code:
 
 -
 
 cfset aPatients = arrayNew(1) /
 cfset aPatients [1] = createObject(component, Patient) /
 cfset aPatients [1].TimeOnTest = 23 /
 cfset aPatients [1].SubGroup = 2 /
 cfset aPatients [1].HasDied = FALSE /
 
 cfset Indicators = arrayNew(1)/
 cfset Indicators[1] = FALSE /
 cfset Indicators[2] = FALSE /
 cfset Indicators[3] = FALSE  /
 cfset Indicators[4] = FALSE /
 cfset Indicators[5] = FALSE /
 
 CFSCRIPT
ws = CreateObject(webservice,
 
 http://biostat252.mdacc.tmc.edu/IVBuMelWebSvc/TrialConductor.asmx?wsdl;);
sErrors =
 ws.CheckStoppingRule(aPatients=#aPatients#,aSubGroupContinueIndicators=#I
 ndicators#);
 writeoutput(sErrors);
 /CFSCRIPT
 
 
 -
 
 Any help with this would be greatly appreciated!
 
 Thanks in advance
 
 Ernie Pena
 U. T. M. D. Anderson Cancer Center
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202718
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54