Have you checked that the XML packet is valid for the service?





"This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: M C
To: CF-Talk
Sent: Thu Aug 24 07:57:38 2006
Subject: Problems passing an XML parameter to .NET webservice

Hi guys

I am trying to pass an XML parameter to a .NET webservice like this;

<cfinvoke webservice="http://xxxxxx/xxxxxxxxxxxx.asmx?wsdl"; method="Book"
requestXML=xmlDoc returnVariable="foo">

where xmlDoc is a string containing XML.

When I run the page, I get this error (which makes no sense to me);

Could not perform web service invocation "Book" because AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: Server was unable to process request. ---> Value cannot be
null.
Parameter name: uriString
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: Server was unable to process request. ---&gt; Value cannot be
null.
Parameter name: uriString
 faultActor: 
 faultNode: 
 faultDetail: 

Server was unable to process request. ---> Value cannot be null.
Parameter name: uriString
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2
60)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:16
9)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati
onContextImpl.java:1015)
        at com.macromedia.crimson.parser.Parser2.maybeElement(Unknown
Source)
        at com.macromedia.crimson.parser.Parser2.... 


Anyone able to shed some light on this issue?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250830
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to