×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Getting NoSuchMethodError while parsing the xsd ETD

Getting NoSuchMethodError while parsing the xsd ETD

Getting NoSuchMethodError while parsing the xsd ETD

(OP)
Hi All,

I have created etd using .xsd file. ETD tester is parsing the xml file successfully. In my first eWay I get the file as payload (GenericInEvent) and then I try to unmarshal my outbound ETD which is ETD created from xsd using xsd wizards. It is giving me follwoing error.

 ew_First (Information): JCS: Java collaboration translate threw a java.lang.Exception!
 ew_First (Information): *************** Exception occurred **************
 ew_First (Information):  toString: java.lang.NoSuchMethodError
 ew_First (Information):
 ew_First (Information):  getMessage: null
 ew_First (Information):
 ew_First (Information):  StackTrace:
.lang.NoSuchMethodError
    at java.lang.NoSuchMethodError
        at testClassName.elements.HttpSchemasXmlsoapOrgSoapEnvelopeEnvelope.unmarshal
(HttpSchemasXmlsoapOrgSoapEnvelopeEnvelope.java:41)
        at com.stc.jcsre.XMLETDImpl.unmarshal(XMLETDImpl.java:195)
        at cr_first.executeBusinessRules(cr_first.java:95)
        at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:148)
        at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java
:528)

Please let me know if you know the solution.

Thanks
Suraj

RE: Getting NoSuchMethodError while parsing the xsd ETD

I'd say the most useful line here is:

at cr_first.executeBusinessRules(cr_first.java:95)


Have a look at line 95 of your cr_first.java file.
If you are using 4.5.3 then you can use View->Java Code from crs editor, if not then use TextPad to open the .java flie and switch on line numbers.

Stephen

RE: Getting NoSuchMethodError while parsing the xsd ETD

I am not sure whether this works or not but try this once and let me know.

Compile the etd, promote it. If there any external templates , compile each one of them and promote. Compile collaboration rule and promote.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close