0 Replies Latest reply on May 10, 2010 8:43 AM by Aaron Kirley

    wsconsume bug...Invalid byte 1 of 1-byte UTF-8 sequence

    Aaron Kirley Newbie

      I've come across the strangest error with my JBossWS client.  See Below:

       

       

      14:15:06,444 ERROR [JBossXSErrorHandler] JBossWS_fedex.com_ws_track_v41408861076971093595.xsd[domain:http://www.w3.org/TR/1998/REC-xml-19980210]::[key=InvalidByte]::Message=Invalid byte 1 of 1-byte UTF-8 sequence.
      14:15:06,444 INFO [STDOUT] Parser should stop: JBossWS_fedex.com_ws_track_v41408861076971093595.xsd[domain:http://www.w3.org/TR/1998/REC-xml-19980210]::[key=InvalidByte]::Message=Invalid byte 1 of 1-byte UTF-8 sequence.
      


      I used wsconsume to create the stubs from the WSDL (see attached) and now when i submit requests i get the above error.

       

      wsconsume command:

       

      wsconsume -k -s C:\Development\wsdl\generated_stubs -o C:\Development\wsdl\generated_classes -p com.fedex.track.stub C:\development\wsdl\TrackService_v4.wsdl
      

       

      Searching goodle turned up little useful information so i'm wondering if it is possible that there is a problem with the generated stubs?  I can attach my client code too if that woudl be helpful but there is nothing special going on in the client.

       

      Here are two users with similar issues but I don't have the issues they identified (at least i don't think i do)

      http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122203#4122203

      http://community.jboss.org/message/335430#335430

       

      Is it possible that we're dealing with a wsconsume bug here since the stubs generated from this wsdl are creating code that chokes on some encoding conflict and i'm certian the wsdl from FedEx (attached) which has been in use for 6+ months is not the issue.

       

      Any help would be greatly appreciated.