Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting NoSuchMethodError while parsing the xsd ETD

Status
Not open for further replies.

suraj31

Programmer
Feb 5, 2003
7
US
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
 
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
 
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top