Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 5 of 5

Thread: external WS -- SM7.01

  1. #1

    Default external WS -- SM7.01

    Hello,

    i'm still working with Webservices and i Got a new Problem!

    The external Webservice is working fine as long as im not using characters like ä,ö! Then i recieve following error....
    Code:
    Script <unknown script>  line 0: ERROR uncaught exception: Error calling method: doSoapRequestin class:com/hp/ov/sm/server/utility/SoapClientException (org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.) at char 1

    Any Ideas??

  2. #2
    Senior Member mateuszk's Avatar
    Join Date
    Nov 2006
    Posts
    302

    Default

    What IDE & java version are you using?
    How about posting some more of the error stack trace?

    I believe this has nothing to do with SM at all, this error occurs before sending the request, right?

  3. #3

    Default

    Waht do you mean with IDE? I'm using a free external Webservice with SM 7.01.
    If I test the Service with "WebserviceStudio" it' working with no errors!

    I don't know the exact Java Version, because there are several installed on that machine. The Classpath is set to JDK1.5 but threre is also an JRE1.6 installed.


    This is the Error Messages from the log. I hope you wanted this, or what fo you mean with "Error Stack Trace"?

    Code:
     1108(  3016) 05/19/2008 08:45:27  RTE   got doSoapRequest ID
      1108(  3016) 05/19/2008 08:45:27 JRTE E Error creating Document
    org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
     at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
     at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:102)
     at com.hp.ov.sm.server.utility.ServletUtility.createDOM(ServletUtility.java:1180)
     at com.hp.ov.sm.server.utility.SoapClient.doSoapRequest(SoapClient.java:172)
     at com.hp.ov.sm.server.utility.TopazThread.handleAction(Native Method)
     at com.hp.ov.sm.server.utility.TopazThread.processRequest(TopazThread.java:502)
     at com.hp.ov.sm.server.utility.TopazThread.run(TopazThread.java:297)
      1108(  3016) 05/19/2008 08:45:27  RTE E Error calling method: doSoapRequestin class:com/hp/ov/sm/server/utility/SoapClientException (org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.)
      1108(  3016) 05/19/2008 08:45:27  RTE E Exception caught in soapRequest: Error calling method: doSoapRequestin class:com/hp/ov/sm/server/utility/SoapClientException (org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.)
      1108(  3016) 05/19/2008 08:45:27  RTE E Caught Exception in doHttpRequest: Error calling method: doSoapRequestin class:com/hp/ov/sm/server/utility/SoapClientException (org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.)
      1108(  3016) 05/19/2008 08:45:27  RAD E Error calling method: doSoapRequestin class:com/hp/ov/sm/server/utility/SoapClientException (org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.)
      1108(  3016) 05/19/2008 08:45:27  RAD E Script <unknown script>  line 0: ERROR uncaught exception: Error calling method: doSoapRequestin class:com/hp/ov/sm/server/utility/SoapClientException (org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.) at char 1

  4. #4
    Senior Member mateuszk's Avatar
    Join Date
    Nov 2006
    Posts
    302

    Default

    Oops, I got it wrong the first time.
    For some reason I thought you were referring to SM7 wsdl as the source of the service, not the other way round.

    Anyways, this looks familiar to UTF-8 issue my colleagues bumped into some time ago.

    Here's is the title of Known Error in HP's KB:
    Using the "Relationship Graph" feature in Service Manager 7.0, non ascii characters do not render the graph correctly.
    KB Doc Id: KM324606

    AFAIK, no fix available.
    Try talking to HP Support.

  5. #5

    Default

    Thanks for your Help!

    I think both Problems have the same cause...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

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