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. Advertisements

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:
    520
    Rushikesh Joshi
    Aug 19, 2004
  2. Nagesh
    Replies:
    2
    Views:
    9,885
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Aug 12, 2006
  3. Aaron Brady

    SQL, lite lite lite

    Aaron Brady, Dec 29, 2008, in forum: Python
    Replies:
    15
    Views:
    1,082
    Aaron Brady
    Jan 1, 2009
  4. doug
    Replies:
    2
    Views:
    370
  5. Ian Wilson

    SOAP::Lite error trapping

    Ian Wilson, Jun 1, 2004, in forum: Perl Misc
    Replies:
    2
    Views:
    816
    Ian Wilson
    Jun 1, 2004
  6. Rushikesh Joshi
    Replies:
    0
    Views:
    172
    Rushikesh Joshi
    Aug 19, 2004
  7. jck11
    Replies:
    3
    Views:
    2,915
    Tad McClellan
    Feb 7, 2006
  8. droesler
    Replies:
    2
    Views:
    912
    droesler
    Aug 31, 2010
Loading...