Wsdlc Ant Task - Problem creating java files in the correct package
In eclipse, for weblogic 9.2
Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
autogen.src.dir=../code/java/beaAutoGen
base.dest=../../../var/build/wsmToPlmWS
bea.build.dir=beaBuild
<target name="generate-from-wsdl" depends="prepare">
<delete dir="${src.dir}" includeemptydirs="true" />
<delete dir="${autogen.src.dir}" includeemptydirs="true" />
<wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
srcServiceName="WSPlmMto_Service"
debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
verbose="on" classpathref="bea-classpath" />
<!-- unjar to get the all the details so we can tokenize -->
<unjar dest="${autogen.src.dir}"
src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
<!-- copy over the impl file -->
<copy todir="../code/java/src">
<fileset dir="${base.dest}/${bea.build.dir}/impl" />
</copy>
</target>
In eclipse, for weblogic 9.2
Using the wsdlc WebLogic Web Services Ant Task, I am trying to auto-generate the java files for the web service based on the WSDL. I have specified the packageName as one of the parameters. However the java files are being created and packaged based on the TargetNameSpace of the WSDL rather then under the package name specified. Following is part of my build.xml
autogen.src.dir=../code/java/beaAutoGen
base.dest=../../../var/build/wsmToPlmWS
bea.build.dir=beaBuild
<target name="generate-from-wsdl" depends="prepare">
<delete dir="${src.dir}" includeemptydirs="true" />
<delete dir="${autogen.src.dir}" includeemptydirs="true" />
<wsdlc srcWsdl="../config/sourceWSDL/MRPBindingPort.wsdl"
destJwsDir="${base.dest}/${bea.build.dir}/compiledWsdl" destImplDir="${base.dest}/${bea.build.dir}/impl"
packageName="com.lmco.iplm.webservices.wsmtoplm" debug="on"
srcServiceName="WSPlmMto_Service"
debugLevel="DEBUG" autoDetectWrapped="true" jaxRPCWrappedArrayStyle="true"
verbose="on" classpathref="bea-classpath" />
<!-- unjar to get the all the details so we can tokenize -->
<unjar dest="${autogen.src.dir}"
src="${base.dest}/${bea.build.dir}/compiledWsdl/MRPBindingPort_wsdl.jar" />
<!-- copy over the impl file -->
<copy todir="../code/java/src">
<fileset dir="${base.dest}/${bea.build.dir}/impl" />
</copy>
</target>
Similar Messages
-
Where do I find the ANT task for creating ear file in WLI
Hi friends
I was trying to create an ear file out of my process definitions and deploy on weblogic instead of deploying it from Workshop. I heard that there are ANT tasks available that do this but I couldn't find much detail.
I was wondering if somebody can point me to any documentation or anything that'll help me achieve this.
Thanks.
BijanThis may help
-
Problem creating PDF file using the Adobe PDF printer
Apologies if I have hit the wrong forum for this issue.
I am using Adode Acrbat 9 PRO version 9.4.6 on a Windows 7 SP1 machine.
I am running an application that presents information on web pages that I need to capture as pdf files. I am using an automation tool so it is limiting my posibilities of accomplishing this task.
I am attempting to use the Adobe PDF printer as the vehicle to create these PDF files but have encountered the following issues
The page is truncated on the right hand side
Only 1 page is created when I was expecting 7
I have specified a file path for the ADOBE PDF Output Folder ... C:\Windows\Temp and
checked the box "Add document information" but I am not given the opportuniy to enter a file name. It is using the file name from the URL
To verify my PDF content I used a different method to create the PDF from the same web page
Right click within the web page and select Convert to Adobe PDF. The pdf file has the full content with no truncation and is 7 pages in total.
Unfortunately I am unable to use this method with my automation tool
Any pointers will be gratefully receivedSome progess
I changed the page orientation to landscape and that removed the truncation. I am not sure why it is not using the "shrink to fit" but for the purposes of this exercise I can live with this solution.
If I click Print Preview I can view all pages and then if I select the Print Icon I get a PDF file containing all pages. This is so bizarre.
So to recap
File > Print > Adobe PDF Printer only creates 1 page
File > Print Preview > Print Document (Alt +P) > Print >Adobe PDF Printer creates 7 pages
I guess this would be a good time to call support to see what they have to say on this topic. -
Error in writing an Ant task for creating a new connection pool.
I have written the following ant task to create a new connection pool in weblogic 10.3.
<target name="pool.dev">
<wlconfig url="http://localhost:7001/" username="weblogic" password="weblogic">
<query domain="C:/weblogic/rtg-L0" name="myserver"/>
<create type="JDBCConnectionPool" name="OneSourceConnectionPool">
<set attribute="DriverName"
value="oracle.jdbc.OracleDriver"/>
<set attribute="InitialCapacity" value="1"/>
<set attribute="MaxCapacity" value="5"/>
<set attribute="Password" value="rating"/>
<set attribute="Properties" value="user=rating"/>
<set attribute="RefreshMinutes" value="0"/>
<set attribute="ShrinkPeriodMinutes" value="15"/>
<set attribute="ShrinkingEnabled" value="true"/>
<set attribute="TestConnectionsOnRelease" value="true"/>
<set attribute="TestConnectionsOnReserve" value="true"/>
<set attribute="TestConnectionsOnCreate" value="true"/>
<set attribute="TestTableName" value="SQL SELECT 1 FROM DUAL"/>
<set attribute="URL"
value="jdbc:oracle:thin:@xyz.com:1522:oradvl"/>
<set attribute="Targets" value="myserver"/>
</create>
</wlconfig>
</target>
When I run it, I see the following error:
BUILD FAILED
C:\ganymede\eclipse\workspace1\RtgSvr\build.xml:286: Failed to connect to the server: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
Can anybody please help me regarding this...
Thank you,
SowmyaHi everybody,
Thank you very much for your replies....actually I added weblogic.jar to the classpath of the target. So, now I dont see that error. But, I have another problem which is as follows:
<target name="initJDBC">
<wlconfig url="t3://${host}:${port}" username="${username}" password="${password}">
<query domain="domain.name" type="Server" name="${target.server}" property="${target.server}"/>
<create type="JDBCConnectionPool" name="TestConnectionPool">
<set attribute="DriverName" value="oracle.jdbc.OracleDriver"/>
<set attribute="Password" value="welcome"/>
<set attribute="Properties" value="user=welcome"/>
<set attribute="URL" value="jdbc:oracle:thin:@test.com:1522:oradvl"/>
<set attribute="Targets" value=""/>
<set attribute="TestTableName" value="SQL SELECT 1 FROM DUAL"/>
<set attribute="TestConnectionsOnRelease" value="false"/>
<set attribute="TestConnectionsOnReserve" value="true"/>
</create>
<create type="JDBCDataSource" name="TestDataSource">
<set attribute="JNDIName" value="TestDataSource"/>
<set attribute="PoolName" value="TestConnectionPool"/>
<set attribute="Targets" value=""/>
</create>
</wlconfig>
</target>
I am not knowing what to give in the value field of <set attribute="Targets" value=""/>. The following is my build.properties file:
target.server=myserver
host=127.0.0.1
port=7001
username=weblogic
password=weblogic
domain.name=testDomain
If I give <set attribute="Targets" value="${myserver}"/>, I get the following error:
BUILD FAILED
C:\ganymede\eclipse\workspace1\TestSvr\build.xml:290: Property not set: ${myserver}
When I set myserver=myserver in build.properties, I get the following error:
BUILD FAILED
C:\ganymede\eclipse\workspace1\TestSvr\build.xml:290: Error invoking MBean command: java.lang.IllegalArgumentException: Property Name and value not valid for the MBean. Value myserver for parameter[Targets].java.lang.IllegalArgumentException: Unable to convert the argument valuemyserver to class javax.management.ObjectName.java.lang.reflect.InvocationTargetException
Can someone plzz help me in this regard.
Thank you,
Sowmya -
ANT task to process properties-files into static class
Hi,
I think this problem is very interesting. I have a web application that needs various configuration. I'm using a properties file that is loaded into a Properties-class.
The problem arrises when runtime exceptions are thrown (NullPointerException) by using:
String value = props.getProperty("myProp");
(In this case the entry "myProp" is not available.)
The solution would be to process the properties file and put all keys and values into a class with public static attributes:
class Props {
public static String myProp = "123";
This processing should be done with ANT! It shall create a JAVA file before the general compilation task. This would be great and runtime exceptions concerning a lack of propertie-keys are extinguished forever.
Is there any tool for ANT that helps?
Thanks in advance.Personally, I would not like it - I can't compile even parts of my code without running Ant to build the whole thing? Second, I do not want my build tool to alter or add any source files.
IMO, you should instead simply go and check for null values before using them. I'd regard these NPEs rather as programming flaws - you already pointed out that their value may be null, so not checking is just wrong.
Lastly, maybe you can create a tool yourself - generating a code like this is highly trivial. you only have to keep in mind that development will be a PITA because an IDE with incremental compile will always fail with compilation errors as long as it doesn't create that constants class Ant's supposed to create.
Oh, and why not ask Ant-related questions in an Ant forum? -
Ant ; how to move nonjava files to the output folder whn i comile java file
Hi when i compile my java file using javac ant task, i want to move non java file to the same output folder where the dot class file are stored. example if a package has 2 java file and a .properties file, when i javac task compile that package .properties file should move where the .class files are moving. can anyone help me please
An ant target can carry out multiple tasks. You need to put the <javac> and <copy> tasks in the same target in your ant file.
-
Ant tasks for creating ADF Library
Created an ADF declarative component, exported it as an ADF library and got it working fine. The ADF Library jar was created within JDeveloper by setting up a Deployment profile. The created ADF Library file has the TLD file and TagHandler / Component class files created on the fly and packaged.
Not sure of how We could get the same ADF library created by an Ant task. Are there Ant tasks for creating ADF library available? http://www.connotea.org/user/jdeveloper/tag/ant has some details on the JDeveloper based ant tasks but doesn't have details on creating ADF library.You can use the ojdeply executable to create and deploy your ADF Library from the commandline:
<Jdev-install-location>/jdeveloper/jdev/bin/ojdeploy -workspace /mydirectory/yourworkspace.jws -profile yourprofile -project yourproject.jpr -
Revision: 13067
Revision: 13067
Author: [email protected]
Date: 2009-12-17 12:48:20 -0800 (Thu, 17 Dec 2009)
Log Message:
Fix for html-wrapper ant task generates incorrect wrapper files for flash player version detection.
QE notes: None.
Doc notes: None
Bugs: SDK-18826
Reviewed By: Paul
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18826
Modified Paths:
flex/sdk/branches/3.x/modules/antTasks/src/flex/ant/HtmlWrapperTask.javaCould you try creating a new Firefox profile to see if that helps?
8. Make a new profile
Chris -
Hi!
When i try to run the xjc ant task in my build file i get the error showed below Could some one help or give me an advice about this?
In my build file i have the next lines of xml:
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"/>
and
<target name="xsdCompile">
<xjc target="${src}/java" package="com.getronics.cea.cie.mopab.documentos">
<schema dir="${schemas.home}" includes="*.xsd"/>
</xjc>
</target>
Thanks a lot!
Adolfo de Unanue
!xsdCompile Running target: xsdCompile
xsdCompile:
[xjc] Compiling file:/home/aunanue/mopab3/mopab/src/xml/schemas/administracionYCobranza.xsd and others
org.iso_relax.verifier.VerifierConfigurationException: no validation engine available for: http://relaxng.org/ns/structure/1.0
at org.iso_relax.verifier.VerifierFactory.newInstance(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserImpl.getContentHandler(AnnotationParserImpl.java:61)
at com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:42)
at com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:59)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnChildFromEnterElement(NGCCRuntime.java:431)
at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:222)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:210)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:85)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesFilter.startElement(ProhibitedFeaturesFilter.java:123)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.iso_relax.verifier.impl.VerifierFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:151)
at com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMParser.java:116)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:511)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source)
BUILD FAILED
java.lang.InternalError
at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserImpl.getContentHandler(AnnotationParserImpl.java:71)
at com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:42)
at com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:59)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnChildFromEnterElement(NGCCRuntime.java:431)
at com.sun.xml.xsom.impl.parser.state.Schema.enterElement(Schema.java:222)
at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:210)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:85)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesFilter.startElement(ProhibitedFeaturesFilter.java:123)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.iso_relax.verifier.impl.VerifierFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:151)
at com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMParser.java:116)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:511)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source)Hi
When you define the xjc task you will need to
include all the jaxb, jaxp jars in the classpath.
See the <JWSDP>/jaxb-1.0/examples/users-guide/SampleApp1/build.xml
for more information
Regards,
Bhakti
Hi!
When i try to run the xjc ant task in my build file i
get the error showed below Could some one help or give
me an advice about this?
In my build file i have the next lines of xml:
<taskdef name="xjc"
classname="com.sun.tools.xjc.XJCTask"/>
and
<target name="xsdCompile">
<xjc target="${src}/java"
va" package="com.getronics.cea.cie.mopab.documentos">
<schema dir="${schemas.home}"
.home}" includes="*.xsd"/>
</xjc>
</target>
Thanks a lot!
Adolfo de Unanue
!xsdCompile Running target: xsdCompile
xsdCompile:
[xjc] Compiling
iling
file:/home/aunanue/mopab3/mopab/src/xml/schemas/adminis
racionYCobranza.xsd and others
org.iso_relax.verifier.VerifierConfigurationException:
no validation engine available for:
http://relaxng.org/ns/structure/1.0
at
org.iso_relax.verifier.VerifierFactory.newInstance(Unk
own Source)
at
com.sun.tools.xjc.reader.xmlschema.bindinfo.Annotation
arserImpl.getContentHandler(AnnotationParserImpl.java:6
at
com.sun.xml.xsom.impl.parser.state.annotation.action0(
nnotation.java:42)
at
com.sun.xml.xsom.impl.parser.state.annotation.enterEle
ent(annotation.java:59)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnCh
ldFromEnterElement(NGCCRuntime.java:431)
at
com.sun.xml.xsom.impl.parser.state.Schema.enterElement
Schema.java:222)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startEl
ment(NGCCRuntime.java:210)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceU
IChecker.startElement(IncorrectNamespaceURIChecker.java
85)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesF
lter.startElement(ProhibitedFeaturesFilter.java:123)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
org.iso_relax.verifier.impl.VerifierFilterImpl.startEl
ment(Unknown Source)
at
org.apache.xerces.parsers.AbstractSAXParser.startEleme
t(AbstractSAXParser.java:459)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleStartE
ement(XMLNamespaceBinder.java:877)
at
org.apache.xerces.impl.XMLNamespaceBinder.startElement
XMLNamespaceBinder.java:569)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canStartElement(XMLDocumentFragmentScannerImpl.java:759
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$
ragmentContentDispatcher.dispatch(XMLDocumentFragmentSc
nnerImpl.java:1477)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canDocument(XMLDocumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:581)
at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.ja
a:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(Abst
actSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity
NGCCRuntimeEx.java:151)
at
com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMPars
r.java:116)
at
com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.j
va:511)
at
com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at
com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at
org.apache.tools.ant.Target.execute(Target.java:309)
at
org.apache.tools.ant.Target.performTasks(Target.java:3
4)
at
org.apache.tools.ant.Project.executeTarget(Project.jav
:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source)
BUILD FAILED
java.lang.InternalError
at
com.sun.tools.xjc.reader.xmlschema.bindinfo.Annotation
arserImpl.getContentHandler(AnnotationParserImpl.java:7
at
com.sun.xml.xsom.impl.parser.state.annotation.action0(
nnotation.java:42)
at
com.sun.xml.xsom.impl.parser.state.annotation.enterEle
ent(annotation.java:59)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.spawnCh
ldFromEnterElement(NGCCRuntime.java:431)
at
com.sun.xml.xsom.impl.parser.state.Schema.enterElement
Schema.java:222)
at
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startEl
ment(NGCCRuntime.java:210)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.IncorrectNamespaceU
IChecker.startElement(IncorrectNamespaceURIChecker.java
85)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
com.sun.tools.xjc.reader.xmlschema.ProhibitedFeaturesF
lter.startElement(ProhibitedFeaturesFilter.java:123)
at
org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown
Source)
at
org.iso_relax.verifier.impl.VerifierFilterImpl.startEl
ment(Unknown Source)
at
org.apache.xerces.parsers.AbstractSAXParser.startEleme
t(AbstractSAXParser.java:459)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleStartE
ement(XMLNamespaceBinder.java:877)
at
org.apache.xerces.impl.XMLNamespaceBinder.startElement
XMLNamespaceBinder.java:569)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canStartElement(XMLDocumentFragmentScannerImpl.java:759
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$
ragmentContentDispatcher.dispatch(XMLDocumentFragmentSc
nnerImpl.java:1477)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.
canDocument(XMLDocumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDCo
figuration.java:581)
at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.ja
a:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(Abst
actSAXParser.java:1175)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown
Source)
at
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity
NGCCRuntimeEx.java:151)
at
com.sun.xml.xsom.impl.parser.XSOMParser.parse(XSOMPars
r.java:116)
at
com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.j
va:511)
at
com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at
com.sun.tools.xjc.XJCTask.execute(XJCTask.java:149)
at org.apache.tools.ant.Task.perform(Task.java:317)
at
org.apache.tools.ant.Target.execute(Target.java:309)
at
org.apache.tools.ant.Target.performTasks(Target.java:3
4)
at
org.apache.tools.ant.Project.executeTarget(Project.jav
:1306)
at antfarm.TargetRunner.runAntTarget(Unknown Source)
at antfarm.TargetRunner.run(Unknown Source) -
I am having problems creating PDF file and downloading them
I am having problems creating PDF file and downloading them
Hi Randy Keil,
You might need to sign up with your Adobe ID and password at "https://cloud.acrobat.com/convertpdf"
Then you can choose the desired files to create the PDF.
Now, let me know what error message do you get while doing the same.
What kind of files are you trying to convert to PDF?
Have you checked with your internet connection and tried using a different browser?
Hope to get your response.
Regards,
Anubha -
Creating XML files with the DME
Hi All,
I'm working on an integration project between my company and HSBC, they are requesting that we supply our AP payment files for foreign currency in XML format.
I have some limited experience with the DME and know it can create XML files, however, the elements available for XML files are different to standard flat files. Also it doesnt seem like I can create files with multiple levels? e.g.
<InitgPty>
......... <Id>
............... <OrgId>
...................... <BkPtyId>ABC00103003</BkPtyId>
.............. </OrgId>
........ </Id>
</InitgPty>
Does anyone have any documentation or experience with creating XML files with DME?
thanks
Phil.Hi,
Please ask any Implementation team in ABAB or Report painter team with your friends,
Thanks and REgards
N.Soma Sundaram -
Problem Creating VirtualProviders Based on the DTP
Problem Creating VirtualProviders Based on the Data Transfer Process .
(1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
(2) Then I replicated this Data Source to SYS2.
(3) In SYS1 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
Till this point I have no issues .
(4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Scheduled" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
Thanks & Regards,
priyadarshiCorrected some typo in my earlier update...
Problem Creating VirtualProviders Based on the Data Transfer Process .
(1) I have created an Data Source(extract structure and extractor) on SYS1. Tested the extractor. It returns data as desired.
(2) Then I replicated this Data Source to SYS2.
(3) In SYS2 I created InfoCube(VirtualProvider based on data transfer process for direct access) .
Till this point I have no issues .
(4) But after that I am not able to "Create Data Transfer Process" for this Virtual Infoprovider . When I try to create DTP the DTP type available for selection is "Standard(Scheduled)" where as per the documentation I need to create DTP of DTP type "DTP for Direct Access".This DTP type I donot see.
Is it a problem with the BW configuration or some user error.Any suggestions which may help would be realy appreciated.
Thanks & Regards,
priyadarshi -
Hi There: I am having a problem where pdf files on the web (i.e., links in a Word doc) open after an extended time and only as gobbldygook ( a file containing a series of characters and letters that make no sense). This also happens for another Mac user coworker in my office, while the PCs don't have this problem... Any help/suggestions for a fix would be most appreciated!
Just adding more info - MacBookPro running 10.5.8 and using Safari as the browser. The problem comes and goes - sometimes the linked Word files will open OK, n others its just a strring of crazy characters...
-
I have problems saving pdf files in the web when I use Safari. I don't have this problem with firefox.
do they save ok if Safari - Preferences - Security - Allow all other plug-ins is unchecked ?
If so, likely an adobe or other pdf plugin
Re-check the setting above & quit any browsers,
Look in this folder by triple-clicking the line below, then ctrl-clicking it & choosing Services - Open
/Library/Internet Plug-Ins/
remove anything with pdf in the filename & test again
Sometimes, plug-ins can be in the User Library folder :
~/Library/Internet Plug-Ins/ -
Problems with updating files in the cloud
problems with updating files in the cloud
What kind of problems?
Have you recently upgraded to iCloud Drive on your iOS devices with iOS 8?
Be aware, be careful, be prepared for iCloud Drive | TUAW: Apple news, reviews and how-tos since 2004
Maybe you are looking for
-
Iphone calendar colours are all wrong
Dear All, I'm having an issue with my iPhone 3G (running OS 3). My iCal and MobileMe Calendar sync correctly, with the right colours. But on my iPhone the colours have arrived all shuffled around. The details are correct (information, dates, times) -
-
How to restore mac os 10.4.11, how to restore mac os 10.4.11
my mac g5 is not starting up it takes time on start up i have tried to reset PRAM , is not working the same at holding the mac button + v to safe boot is not startng up what is with it?
-
Hi All, I know most of you have experienced in production implem of standby and dataguard. For me I only done it on test theory and not yet on production becuase it generats lots of logs and also affects performance. Also For me I only do shutdown an
-
Hello, my phone was being slow so i turned it off. when i went to turn it back on it did the usually white apple logo but it has been on that logo for 15 or more minutes now what do i do?
-
Intercompany Tax Code matching
Hello Experts, In my project in intercompany settings we are using one custom table for matching the tax codes in purchase order and the tax code in MM invoice coming from sale order -> billing doc. I would like to know that how it is done (tax code