Professional Web Applications Themes

My webservice won't accept a query - Coldfusion - Advanced Techniques

I wrote a web service in ColdFusion with a method that returns a query bullt using QueryNew(). I am calling the web service with the ?wsdl parameter. I get the following error back. Anyone have an idea what could be wrong. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Bad types (class coldfusion.xml.rpc.QueryBean -> class java.lang.String) faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad types (class coldfusion.xml.rpc.QueryBean -> class java.lang.String) at org.apache.axis.message.RPCHandler.onStartChild(RP CHandler.java:279) at org.apache.axis.encoding.DeserializationContext.st artElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(S AX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHa ndler(MessageElement.java:1140) at org.apache.axis.message.RPCElement.deserialize(RPC Element.java:347) at org.apache.axis.message.RPCElement.getParams(RPCEl ement.java:386) at org.apache.axis.client.Call.invoke(Call.java:2409) at org.apache.axis.client.Call.invoke(Call.java:2308) at org.apache... -- Don Vaillancourt Director of Software Development WEB IMPACT INC. phone: ...

  1. #1

    Default My webservice won't accept a query

    I wrote a web service in ColdFusion with a method that returns a query
    bullt using QueryNew().

    I am calling the web service with the ?wsdl parameter.

    I get the following error back. Anyone have an idea what could be wrong.

    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Bad types (class
    coldfusion.xml.rpc.QueryBean -> class java.lang.String)
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad
    types (class coldfusion.xml.rpc.QueryBean -> class java.lang.String)
    at org.apache.axis.message.RPCHandler.onStartChild(RP CHandler.java:279)
    at
    org.apache.axis.encoding.DeserializationContext.st artElement(DeserializationContext.java:1035)
    at
    org.apache.axis.message.SAX2EventRecorder.replay(S AX2EventRecorder.java:165)
    at
    org.apache.axis.message.MessageElement.publishToHa ndler(MessageElement.java:1140)
    at org.apache.axis.message.RPCElement.deserialize(RPC Element.java:347)
    at org.apache.axis.message.RPCElement.getParams(RPCEl ement.java:386)
    at org.apache.axis.client.Call.invoke(Call.java:2409)
    at org.apache.axis.client.Call.invoke(Call.java:2308)
    at org.apache...



    --

    Don Vaillancourt
    Director of Software Development
    WEB IMPACT INC.
    phone: 416-815-2000 ext. 245
    fax: 416-815-2001
    email: [email]donvweb-impact.com[/email] <mailto:donvwebimpact.com>
    web: [url]http://www.web-impact.com[/url]
    address: [url]http://www.mapquest.ca[/url]
    <http://www.mapquest.com/maps/map.adp?country=CA&addtohistory=&formtype=address& searchtype=address&cat=&address=99%20Atlantic%20Av e&city=Toronto&state=ON&zipcode=M6K%203J8>
    Web Impact Inc. <http://www.web-impact.com>
    This email message is intended only for the addressee(s) and contains
    information that may be confidential and/or copyright.

    If you are not the intended recipient please notify the sender by reply
    email and immediately delete this email.

    Use, disclosure or reproduction of this email by anyone other than the
    intended recipient(s) is strictly prohibited. No representation is made
    that this email or any attachments are free of viruses. Virus scanning
    is recommended and is the responsibility of the recipient.
    Don Vaillancourt Guest

  2. #2

    Default Re: My webservice won't accept a query

    For some reason, it's now working. Weird!!

    Don Vaillancourt wrote:
    > I wrote a web service in ColdFusion with a method that returns a query
    > bullt using QueryNew().
    >
    > I am calling the web service with the ?wsdl parameter.
    >
    > I get the following error back. Anyone have an idea what could be wrong.
    >
    > AxisFault
    > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    > faultSubcode:
    > faultString: org.xml.sax.SAXException: Bad types (class
    > coldfusion.xml.rpc.QueryBean -> class java.lang.String)
    > faultActor:
    > faultNode:
    > faultDetail:
    > {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
    > Bad types (class coldfusion.xml.rpc.QueryBean -> class java.lang.String)
    > at org.apache.axis.message.RPCHandler.onStartChild(RP CHandler.java:279)
    > at
    > org.apache.axis.encoding.DeserializationContext.st artElement(DeserializationContext.java:1035)
    >
    > at
    > org.apache.axis.message.SAX2EventRecorder.replay(S AX2EventRecorder.java:165)
    >
    > at
    > org.apache.axis.message.MessageElement.publishToHa ndler(MessageElement.java:1140)
    >
    > at org.apache.axis.message.RPCElement.deserialize(RPC Element.java:347)
    > at org.apache.axis.message.RPCElement.getParams(RPCEl ement.java:386)
    > at org.apache.axis.client.Call.invoke(Call.java:2409)
    > at org.apache.axis.client.Call.invoke(Call.java:2308)
    > at org.apache...
    >
    >
    >
    --

    Don Vaillancourt
    Director of Software Development
    WEB IMPACT INC.
    phone: 416-815-2000 ext. 245
    fax: 416-815-2001
    email: [email]donvweb-impact.com[/email] <mailto:donvwebimpact.com>
    web: [url]http://www.web-impact.com[/url]
    address: [url]http://www.mapquest.ca[/url]
    <http://www.mapquest.com/maps/map.adp?country=CA&addtohistory=&formtype=address& searchtype=address&cat=&address=99%20Atlantic%20Av e&city=Toronto&state=ON&zipcode=M6K%203J8>
    Web Impact Inc. <http://www.web-impact.com>
    This email message is intended only for the addressee(s) and contains
    information that may be confidential and/or copyright.

    If you are not the intended recipient please notify the sender by reply
    email and immediately delete this email.

    Use, disclosure or reproduction of this email by anyone other than the
    intended recipient(s) is strictly prohibited. No representation is made
    that this email or any attachments are free of viruses. Virus scanning
    is recommended and is the responsibility of the recipient.
    Don Vaillancourt Guest

Similar Threads

  1. CF 7 Administrator won't accept PWD
    By Peterc0527 in forum Coldfusion Database Access
    Replies: 7
    Last Post: March 7th, 05:49 PM
  2. Perameterized Query on webservice?
    By Steve Nihan in forum ASP.NET Web Services
    Replies: 1
    Last Post: November 29th, 06:36 AM
  3. Can ASP accept a POST over 4GB
    By Curt_C [MVP] in forum ASP
    Replies: 8
    Last Post: July 15th, 01:19 PM
  4. Changes won't accept.
    By Ken Brott in forum Windows XP/2000/ME
    Replies: 1
    Last Post: July 7th, 03:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139