CodeGenException. Invalid element: "group"
Hi all!
I trying to do simple thing, namely import an existing WSDL into a project and call it from a business process. While trying to build the project I get a com.stc.codegen.framework.model.CodeGenException. In ide.log there appears the following
SEVERE: error: modeler error: model error: invalid element: "group"
com.stc.wsclient.design.codegen.impl.JaxRpcException: Compilation failed, please check ide.log for JAX-RPC output.
at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.jaxrpc(JaxRpcCodelet.java:338)
at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateBeans(JaxRpcCodelet.java:997)
at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:467)
at com.stc.wsclient.design.codegen.impl.WSClientCodelet.generateFiles(WSClientCodelet.java:451)
<...skipped...>
Caused by: com.stc.wsclient.design.codegen.impl.JaxRpcException: Compilation failed, please check ide.log for JAX-RPC output.
at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.jaxrpc(JaxRpcCodelet.java:335)
<...blah...blah...blah...>Nothing informative at all but the first string, which still means nothing to me. The WSDL and referenced XSDs are pretty complex, but they pass validation from the EDesigner. The Java CAPS version is 5.1.
Did anybody see such behavior? I can send the project if that can help.
Thanks in advance,
Victor
Hi Luca,
Java CAPS uses JAX-RPC for web-services communication. JAX-RPC does not support <xsd:group> tag. In future versions of Java CAPS they will use JAX-WS instead, which does not (hopefully) have this problem. The only workaround I can think of is not to use groups, encapsulate the repeating elements in type or just copy-paste the group content everywhere instead of references to groups.
Hope that helps.
Victor
Similar Messages
-
WBS element group in Report Painter
Hi,
What is the procedure to insert WBS element group as parameter selection field in a report painter?
I'm working in PS Information System / Hierachy Reports and we want to extract economic information
Thanks!
SayatonHi
To create a Transaction Code for a Report Painter/report writer report
Tcode for Report Painter
To create a TCode, follow the steps below.
1) Go to Transaction code SE93, Enter TCode Name and Press Create.
2) Give short Description and select Parameter Transaction, Press Enter
3) Select Transation Radio Button and write START_REPORT in the next text
box Also Check the box Skip Initial Screen.
4) On the bottom of Screen (default Values), Enter Parameters
i) Name = D_SREPOVARI-REPORTTYPE. Value = RW
ii) Name = D_SREPOVARI-REPORT Value = Your Report Group Name (Say 1SIP)
5) Save and Execute.
<b>Reward points for useful Answers</b>
Regards
Anji -
Invalid element RenderOptionsSpec - CB error while calling Output Service through web service
Hi,
I am trying to call generatePDFOutput from Output Service through web service.
I have generated the proxy class using RAD webservice client option by http://10.235.0.232:8080/soap/services/OutputService?wsdl
here is my code
OutputServiceServiceLocator outputService =new OutputServiceServiceLocator();URL serviceURL =
new URL("http://10.235.0.232:8080/soap/services/OutputService?blob=base64");OutputServiceSoapBindingStub outputClient =
new OutputServiceSoapBindingStub(serviceURL, outputService);
((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
USERNAME_PROPERTY,DSC_CREDENTIAL_USERNAME);((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
PASSWORD_PROPERTY,DSC_CREDENTIAL_PASSWORD);
//Reference XML data to merge into the PDF document
BLOB inData =new BLOB();inData.setBinaryData("Input xml in bytes");
formName =
"/AdobePOC/Forms/sample.xdp";
//Set PDF run-time options
PDFOutputOptionsSpec pdfOptions =new PDFOutputOptionsSpec();pdfOptions.setFileURI(
"repository://");
RenderOptionsSpec renderOptions =
new RenderOptionsSpec();renderOptions.setCacheEnabled(
true);
BLOBHolder generatePDFOutputPDFDoc =
new BLOBHolder();BLOBHolder generatePDFOutputMetaDataDoc =
new BLOBHolder();BLOBHolder generatePDFOutputResultDoc =
new BLOBHolder();OutputResultHolder outResultHolder =
new OutputResultHolder();
//Create a PDF Document
outputClient.generatePDFOutput(TransformationFormat.PDFA, formName,"repository://", pdfOptions, renderOptions,inData, generatePDFOutputPDFDoc,generatePDFOutputMetaDataDoc, generatePDFOutputResultDoc,outResultHolder);
return generatePDFOutputResultDoc.value;
I am getting the following error while executing the above code.
09 17:05:05:407 IST] 00000028 SystemErr R AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
faultString:
org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CBfaultActor:
faultNode:faultDetail:
{}faultData:<ns1:exception xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><ns2:message xmlns:ns2="http://adobe.com/idp/services">Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB</ns2:message>
{http://xml.apache.org/axis/}hostname:A1AIGMD02018
[6/25/09 17:05:05:407 IST] 00000028 SystemErr R org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault(
SOAPFaultBuilder.java:222)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement(
SOAPFaultBuilder.java:129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement(
DeserializationContext.java:1087)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse(
DeserializationContext.java:227)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope(
SOAPPart.java:696)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.Message.getSOAPEnvelope(
Message.java:435)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
MustUnderstandChecker.java:62)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.AxisClient.invoke(
AxisClient.java:206)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invokeEngine(
Call.java:2784)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2767)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2443)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2366)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:1812)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput(
OutputServiceSoapBindingStub.java:579)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.WebOutputService.call(
WebOutputService.java:70)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.ServiceCallThroWebService.call(
ServiceCallThroWebService.java:13)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform(
WebServiceHandler.java:92)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform(
ActionServlet.java:1787)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.process(
ActionServlet.java:1586)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.doGet(
ActionServlet.java:492)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet(
PubServlet.java:42)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:743)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:856)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
ServletWrapper.java:966)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:478)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:463)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(
WebApp.java:3129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(
WebGroup.java:238)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(
WebContainer.java:811)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(
WebContainer.java:1433)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(
WCChannelLink.java:93)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(
HttpInboundLink.java:465)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(
HttpInboundLink.java:394)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(
HttpICLReadCallback.java:102)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(
AioReadCompletionListener.java:152)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
AbstractAsyncFuture.java:213)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(
AbstractAsyncFuture.java:195)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AsyncFuture.completed(
AsyncFuture.java:136)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.complete(
ResultHandler.java:194)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(
ResultHandler.java:741)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler$2.run(
ResultHandler.java:863)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(
ThreadPool.java:1510)
Please help me to fix this error.
Thanks in advance
Lavanya.Hodmi, Thanks for your reply.
If i set RenderOptionsSpec values its not throwing Invalid element RenderOptionsSpec - CB error but its throwing ALC-DSC-000-000 internal error
[6/26/09 17:11:35:021 IST] 00000029 SystemErr R AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
faultString:
com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.faultActor:
faultNode:faultDetail:
{}faultData:<ns1:result xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
{http://xml.apache.org/axis/}hostname:A1AIGMD01299
[6/26/09 17:11:35:021 IST] 00000029 SystemErr R
com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault(
SOAPFaultBuilder.java:222)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement(
SOAPFaultBuilder.java:129)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement(
DeserializationContext.java:1087)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse(
DeserializationContext.java:227)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope(
SOAPPart.java:696)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.Message.getSOAPEnvelope(
Message.java:435)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
MustUnderstandChecker.java:62)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.AxisClient.invoke(
AxisClient.java:206)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invokeEngine(
Call.java:2784)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2767)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2443)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:2366)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke(
Call.java:1812)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput(
OutputServiceSoapBindingStub.java:579)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.WebOutputService.call(WebOutputService.java)
[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform(
WebServiceHandler.java:76)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform(
ActionServlet.java:1787)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.process(
ActionServlet.java:1586)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.doGet(
ActionServlet.java:492)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet(
PubServlet.java:42)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:743)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service(
HttpServlet.java:856)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(
ServletWrapper.java:966)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:478)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(
ServletWrapper.java:463)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(
WebApp.java:3129)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(
WebGroup.java:238)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(
WebContainer.java:811)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(
WebContainer.java:1433)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(
WCChannelLink.java:93)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(
HttpInboundLink.java:465)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(
HttpInboundLink.java:394)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(
HttpInboundLink.java:274)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(
NewConnectionInitialReadCallback.java:214)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(
NewConnectionInitialReadCallback.java:113)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(
AioReadCompletionListener.java:152)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(
AbstractAsyncFuture.java:213)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(
AbstractAsyncFuture.java:195)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AsyncFuture.completed(
AsyncFuture.java:136)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.complete(
ResultHandler.java:194)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(
ResultHandler.java:741)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler$2.run(
ResultHandler.java:863)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(
ThreadPool.java:1510)
Please help me to fix this also.
Thanks in advance
Lavanya. -
IDOC to JDBC scenario in case of Cost Element Group IDOC.
This is an IDOC to JDBC scenario.
The Cost Element Group IDOC is having different segments. The main segment E1COGH (1...unbound) is consisting of different subsegment like E1OGS (0...unbound) & E1COGV (0...unbound). The main segment (E1COGH) along with subsegments E1OGS & E1COGV) is occuring more that 1 times. I have to insert data into the table, which we can do in single rows (no hierarchy is possible in tables). I have used "use one as many" in message mapping. Now if E1OGS or E1COGV is repeating in a single E1COGH segment then we dont get any error. But if I duplicate the main segment then I am getting runtime exception.
Please suggest about how to map in this case.In my scenario:
E1COGH
|
-> E1COGS
E1COGV
where E1CGH -> Main segment
E1COGS & E1COGV -> sub segment
E1COGH -> 1..unbound
E1COGS -> 1..unbound
E1COGV -> 1..unbound
At the target side I have created two Statement Structure (ie.Statement & Statement_1) . One for E1COGS (ie. Statement) & the other for E1COGV (ie. Statement_1).
Case 1 -> If E1COGS is present in the main segment E1COGH then it is mapped AS IS.
Case 2 -> If E1COGS is not present in the main segment E1COGH then it is mapped as blank.
This will be mapped with Statement & in the absence of E1COGS this Statement structure is SUPPRESSED.
Similarly,
Case 1 -> If E1COGV is present in the main segment E1COGH then it is mapped AS IS.
Case 2 -> If E1COGV is not present in the main segment E1COGH then it is mapped as blank.
This will be mapped with Statement_1 & in the absence of E1COGV this Statement_1 structure is SUPPRESSED.
All the elements of the segment E1COGH, E1COGHT & E1COGHR are replicated in all the rows for X (no. of occurance of E1COGS) + Y (no. of occurance of E1COGV).
While testing in Message Mapping, I am able to get the output as for multiple occurence of E1COGS & E1COGV in a single E1COGH.
But if I increse the occurence of E1COGH the it is giving the following error :
Runtime exception during processing target field mapping /ns0:MT_Cost_Element_Group_Response/Statement/DBtablename/access/GROUPNAME. The message is: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Too few values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method useOneAsMany[com.sap.aii.mappingtool.flib3.CollapseContexts@51197231, , ]
Please suggest how to map the occurence of E1COGH simultaneously with the occurence of E1COGS & E1COGV. -
How do I migrate Cost Element Groups in a batch ?
I want to migrate Cost Element Groups from 4.7 to ECC6. We've been exporting/importing them individually, but is there a faster way to grab multiple groups and move them to the new environment ?
One thing of note is that the Chart of Accounts is changing between 4.7 and ECC6 and named differently.
Edited by: Joe Malloy on Feb 19, 2008 9:35 PMHi ,
You can go on createing the
Controlling -Cost Element AccountingCost Elements--
Automatic Creation of Primary and Secondary Cost Elements--Make Default Settings
Create Batch Input Session
Execute Batch Input Session
BY do this activite u can do the mass process of creating the cost elements.
Hope this is clear know assign points
With Regards
Krishna Singareddy -
Error: Invalid element 'servlet' in content of 'web-app'
Hi,
I m working on a project that includes JSPs, whenever I wanna add JSP to my project it shows following compilation error:
Invalid element 'servlet' in content of 'web-app', expected elements '[error-page, taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'
I have thoroughly checked the web.xml. It is perfectly alright. It is as follows:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>myServlet</servlet-name>
<servlet-class>com.project.MainServlet</servlet-class>
<init-param>
Long postings are being truncated to ~1 kB at this time.The Complete web.xml is as follows:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>montana</servlet-name>
<servlet-class>com.masstech.montana.boundary.uii.MainServlet</servlet-class>
<init-param>
<param-name>db</param-name>
<param-value>MontanaDS</param-value>
</init-param>
<init-param>
<param-name>user</param-name>
<param-value>MS</param-value>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>MS</param-value>
</init-param>
</servlet>
<servlet>
<servlet-n[i]Long postings are being truncated to ~1 kB at this time. -
Hi all,
I have following scenario.
I have account number and i want to find out it's cost element group.
In t-code KAH3 when i enter cost element group i get all the account number in that group.
But the problem is that i have account number and i want to find out in which cost element group this
account number belongs.
Is there is any fuction module from which i can get cost element group from account number or from which table i can fetch cost element group depending upon the account number.
Thanks in advance.
sachinHi Sachin ,
I dont think there is any way to see cost center group from cost center because we never assign any cost center to a particular group in the masters.
If you want to see the cost center groups and cost center hierarchy the go to tcode-OKEON
Regards
Deepa -
How to find cost element group linked to account number
Hi all,
I have following scenario.
I have account number and i want to find out it's cost element group.
In t-code KAH3 when i enter cost element group i get all the account number in that group.
But the problem is that i have account number and i want to find out in which cost element group this
account number belongs.
Is there is any fuction module from which i can get cost element group from account number or from which table i can fetch cost element group depending upon the account number.
Thanks in advance.
sachinhi,
check this function module.
BAPI_COSTCENTERGROUP_GETDETAIL
table - SETLEAF. -
Sender Cost Element Group role in Assessment Cost Element Cycle
Hello,
We have an assessment cycle as below:-
Assessment Cost Element - 6000000
Sender Rule - Fixed Amount
Receiver Rule - Variable Portions
Sender Cost Center - 1000
Sender Cost Element Group - ABCD
Receiver Order Group - XYZS
Sender Values - 2,00,000 USD - Cost Center 1000
Cost Element Group in Receiver Tracing Factor tab - EFGH,
When I see the line item report of sender cost center 1000, I am able to see the total value as 2.00,000 USD credited, but I am not sure about the role of Sender cost element group ABCD in this situation.
Also what is the role of receiver cost element group EFGH?
Please advise.
Thanks
TapanHi Tapan,
When you have selected in sender rule fixed amount then the system will transfer that amount to the receiver cost center specified irrespective of the total amount of cost element group existing in the sender cost center. There is no significance of cost element group mentioned in the sender rule then.
The role of the receiver cost element group in the tracing factor is used to apportion the amount of the sender according to the expenses existing on the orders in your case.
Regards,
Divraj -
Logon Failed - Invalid element error when trying to connect to SalesForce
I had a working crystal reports database connection to salesforce until I installed a Crystal Reports update on my machine. It is currently running v12.2.0.290 (CR Developer).
Since the update when trying to connect, I enter my password and salesforce security token to get access to the database but now I receive an error that says:
Logon Failed
Details: Unexpected error
; nested exception is
org.xml.sax.SAXException: Invalid element in com.sforce.soap.partner.LoginResult - metadataServerUrl
Help is resolving this error would be appreciated.Hi Ron -- you have installed SP2 of Crystal Reports 2008. You will need to install the FP 2.2 as per this thread -- Crystal Reports 2008 SP2 update to the Salesforce.com connectivity
Let us know if this solved your problem.
Thanks,
Pete -
Invalid element 'welcome-file-list' in content of 'web-app',
HI, folks.
I recently used struts to develop a simple web applicaiton, and whenever I tried to use tag libs
such as /WEB-INF/struts-html.tld
/WEB-INF/struts-html.tld and
tried to compile it, it gives out compile error such as:
Error(52,21): Invalid element 'welcome-file-list' in content of 'web-app', expected elements '[taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'.
if I remove the above tag libs, the jsp file compiles
without any problem.
Are you guys familiar with these problems?
please let me know if I'm doing anything foolish.
Thanks!Unless some other elements tag are not close correctly this error does not make sense. Can you cut and paste your web.xml?
It should look something like:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<welcome-file-list>
<welcome-file>/untitled1.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
</web-app>Charles. -
Invalid element 'servlet-mapping' in content of 'web-app'
Hello, JDev gurus!
When compling, JDev 9.0.2.822 produce following error
"oracle.xml.parser.v2.XMLParseException: Invalid element 'servlet-mapping' in content of 'web-app', expected elements '[taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'."
on line <%@ taglib uri="http://xmlns.oracle.com/bibeans" prefix="orabi" %>
This line was added automatically from component palette.
How can I resolve this error?Hi,
Did you change something into your web.xml file?
Look at your web.xml. You must preserve the order given by the error message:
Servlet-mapping
session-config
mime-mapping
ejb-ref
Jamil -
I'm receiving the following error when I build a web app.
Invalid element 'servlet' in content of 'web-app', expected elements [.....
I have been trying to configure cactus struts testing as described here:
http://jakarta.apache.org/cactus/integration/howto_config.html.
I've a feeling it's a problem with my web.xml file (perhaps the order I have defined the elements) can anyone help?
My web.xml is as follows
<web-app>
<description>web.xml file for Scorecards Application</description>
<filter>
<filter-name>FilterRedirector</filter-name>
<filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
</filter>
<filter-mapping>
<filter-name>FilterRedirector</filter-name>
<url-pattern>/FilterRedirector</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>ServletRedirector</servlet-name>
<servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
</servlet>
<servlet>
<servlet-name>JspRedirector</servlet-name>
<jsp-file>/jspRedirector.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>ServletRedirector</servlet-name>
<url-pattern>/ServletRedirector</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>JspRedirector</servlet-name>
<url-pattern>/JspRedirector</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/config/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
<resource-ref>
<description>SCR Production Data Connection</description>
<res-ref-name>jdbc/SCRproductionDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
------------------------------------------------------------------------------I don't think you are allowed to mix the servlet mapping entries in among the servlet entries. You should do all the servlet entries and then all the servlet mapping entries.
-
Recurring Rebuild Problem: Invalid Element....
I keep getting this recurring error when i try to rebuild my project:
Error(25,16): Invalid element 'mime-mapping' in content of 'web-app',
expected elements '[error-page, taglib, resource-env-ref, resource-ref,
security-constraint, login-config, security-role, env-entry, ejb-ref,
ejb-local-ref]'.I have also seen similar errors such as:
Error(9,11): Invalid element 'servlet' in content of 'web-app',
expected elements '[error-page, taglib, resource-env-ref, resource-ref,
security-constraint, login-config, security-role, env-entry, ejb-ref,
ejb-local-ref]'.I am using JDev 10g Production.
The problem occurs when when trying to compile a jsp using Struts Tiles. Here is a sample of one of the jsps:
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<tiles:insert page="layout_main.jsp" flush="true">
<tiles:put name="title" value="Condo"/>
<tiles:put name="header" value="header.jsp"/>
<tiles:put name="left" value="left.jsp"/>
<tiles:put name="center" value="center_condo.jsp"/>
<tiles:put name="right" value="right.jsp"/>
</tiles:insert>I have had the project rebuild properly once with this same web.xml file and had no problems. I have not made any changes to the web.xml. I also ran the xml syntax validator on it and it is valid.
This is a very weird problem. Sometimes re-arranging the web.xml file fixes the problem. The sample web.xml may be too big for a single post, but I can email to someone that can help. I have seen others on this forum that have posted the same problem with no solution. Please help. Thanks,
Paul ManningFigured it out.
When editing the web.xml you need to preserve the order listed in the error message.
So in my case, the "welcome-file-list" needs to appear before tagLibs but after the mimeList.
Hope this helps someone. JDeveloper is not conforming to the Spec on this one but I can cope. In my experience the "welcome-file-list" can appear any where nested in the webapp tag. Oh well, not the end of the world...
Paul Manning -
ORA-10914: invalid TABLESPACE GROUP clause
hai im trying to create a database in oracle 10g
tablespace sysaux datafile 'E:\oracle\product\10.1.0\oradata\multi\ts_sysaux01.d
bf' size 10m autoextend on extent management local
ERROR at line 9:
ORA-10914: invalid TABLESPACE GROUP clause
can any one explain me ,
regards,
ashikfirst i thank u mr.venkat and user526020 for replied for ,
here i enclosed my database creation for ur ref,
create database multi logfile
group 1 'E:\oracle\product\10.1.0\oradata\multi\redo01.log' size 10m,
group 2 'E:\oracle\product\10.1.0\oradata\multi\redo02.log' size 10m,
group 3 'E:\oracle\product\10.1.0\oradata\multi\redo03.log' size 10m
datafile 'E:\oracle\product\10.1.0\oradata\multi\system01.dbf' size 10m autoextend on
default tablespace users datafile 'E:\oracle\product\10.1.0\oradata\multi\ts_users01' size 10m autoextend on extent management local
default undo tablespace undotbs datafile 'E:\oracle\product\10.1.0\oradata\multi\ts_undotbs01.dbf' size 10m autoextend on
default temporary tablespace temptbs tempfile 'E:\oracle\product\10.1.0\oradata\multi\ts_temptbs01.tmp' size 10m autoextend on
tablespace sysaux datafile 'E:\oracle\product\10.1.0\oradata\multi\ts_sysaux01.dbf' size 10m autoextend on extent management local
character set al32utf8
SYS at multi>/
tablespace sysaux datafile 'E:\oracle\product\10.1.0\oradata\multi\ts_sysaux01.d
bf' size 10m autoextend on extent management local
ERROR at line 9:
ORA-10914: invalid TABLESPACE GROUP clause
here im getting error only on sysaux tablespace size then i tried to increase the size even it shows the same,
so can any one give solution.
regards,
ashik
Maybe you are looking for
-
Problem with traffic over Remote Access VPN (Cisco ASA5505)
Hi I've changed the VPN IP pool on a previously functioning VPN setup on a Cisco ASA5505, I've updated IP addresses everywhere it seemed appropriate, but now the VPN is no longer working. I am testing with a Cisco IPSec client, but the same happens w
-
Airport see the drive but "connection failed" when trying to connect.
Hello everyone. I connected a USB drive to my airport extreme. it does show in finder but whenever u try to access it I get the. I can also see the drive in airport express utility but nothing shows up in Airport Disk Utility! Any ideas???
-
No parameters for components, works when not compiled
OK, write an Bryzantine "component" in Flash. Yah, it's real OO. The movie clip/component used in another document works no problem. If I compile the so-called component, and use it in a new document, no component parameters. Nothing in properties pa
-
Hi Guys, I'm using the command line, air sdk tools to package my air app. I can do everything except select the destination where the packaged app should be placed. I have read the documentation; http://help.adobe.com/en_US/AIR/1.1/devappshtml/WS5b3c
-
I'm a Java newbie. I've written an ap for a client who is a printer. It allows him to do page layouts for printing, and works exactly as originally speced out. Now he wants to know if he can do multi-page layouts on a single sheet that would require