My webservice won't accept a query

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  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]donv@web-impact.com[/email] <mailto:donv@webimpact.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. Similar Questions and Discussions

    1. CF 7 Administrator won't accept PWD
      When I enter my Admin password in CF Administrator, nothing happens. I know the password is correct.I must open this to set data sources, etc. I...
    2. Perameterized Query on webservice?
      I've created the following distributed application: Solution EDSQLWSVC EDEmployerWinClient Project3 Web Service winform app asp.net web app ...
    3. accept/type
      Is it possible with an Apache confiugartion file to redirect users, if their browser sends a certain accept/type header, and somewhere else if not??...
    4. Can ASP accept a POST over 4GB
      EEEEEK HTTP is the Wrong technology for that. You should look at FTP for that size. The transmission is never going to be stable long enough for...
    5. Changes won't accept.
      We had some sort of corruption on our XP computer. Now, when we change a setting, it doesn't stick. The setting goes back to the original state....
  3. #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]donv@web-impact.com[/email] <mailto:donv@webimpact.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

Posting Permissions

  • You may not post new threads
  • You may 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