error sending string with "http://" with soap lite

Discussion in 'Perl Misc' started by simon0509@gmail.com, Apr 6, 2006.

  1. Guest

    Does anyone know how to send a web service request that contains the
    string "http://" in Soap Lite?

    I have a web service in java with the method signature
    doOperation(String str). When I try to send a request with the text
    "http://testing.com", soap lite converts the request type from
    "xsd:string" to xsi:type="xsd:anyURI".

    When I run the web service, I get the error message
    "org.xml.sax.SAXException: Bad types (class java.net.URI -> class
    java.lang.String)", from Java web service server because it thinks it
    is going to receive a url instead of string. It is expecting a string.

    Regards
    Simon
    , Apr 6, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rushikesh Joshi
    Replies:
    0
    Views:
    425
    Rushikesh Joshi
    Aug 19, 2004
  2. Aaron Brady

    SQL, lite lite lite

    Aaron Brady, Dec 29, 2008, in forum: Python
    Replies:
    15
    Views:
    731
    Aaron Brady
    Jan 1, 2009
  3. doug
    Replies:
    2
    Views:
    244
  4. jck11
    Replies:
    3
    Views:
    826
    Tad McClellan
    Feb 7, 2006
  5. droesler
    Replies:
    2
    Views:
    459
    droesler
    Aug 31, 2010
Loading...

Share This Page