Processing CDATA in ra.xml on WebLogic 9 beta

There appears to be a bug in processing
          the config-property beans on WebLogic 9 beta
          if the property value contains CDATA, i.e. (see below).
          When the app server calls setConfiguration() in the
          resource adapter, the string it passes is chopped off.
          Is this a known issue? Thanks.
          <config-property>
          <config-property-name>Configuration</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value><![CDATA[<configuration>blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblah</configuration>]]>
          </config-property-value>
          </config-property>

A bug report has been filed for this issue with engineering. Dont have an estimate for the fix yet. Thanks

Similar Messages

  • Editing web.xml OR weblogic.xml programmatically

    Hi there,
    I am trying to edit the web.xml and weblogic.xml programmatically. I am trying to load the above deployment descriptors in DOM object. But as DTD is mentioned externally, connection to URL is failing.
    But weblogic.jar contains all DTD in local machine. Is there any way to make parser to refer DTD in weblogic.jar. Or any weblogic API available to edit the deployment descriptors programatically.
    Thanks in advance.
    I am getting following error.
    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    at sun.net.www.http.HttpClient.New(HttpClient.java:315)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
    ction.java:512)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
    .java:489)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:617)
    at java.net.URL.openStream(URL.java:913)
    at weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityMan
    ager.java:836)
    at weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntity
    Manager.java:796)
    at weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDSc
    annerImpl.java:275)
    at weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.disp
    atch(XMLDocumentScannerImpl.java:841)
    at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
    nt(XMLDocumentFragmentScannerImpl.java:329)
    at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
    n.java:525)
    at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
    n.java:581)
    at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at weblogic.apache.xerces.parsers.DOMParser.parse(DOMParser.java:257)
    at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
    Impl.java:201)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:151)
    at JAXPandDOM.main(JAXPandDOM.java:39)

    I believe you could get around this with a custom EntityResolver. It's possible that Tomcat does something like this.
    However, I would question why you are trying to do this. If your container is set to Development mode, you might get away with the container automatically reloading your changes, but it certainly won't happen in Production mode, and even in Development mode, I don't know that I could predict how that would work.
    You'd be better off, with respect to portability and flexibility, if you store dynamic resources in an external file, not in the web.xml or weblogic.xml file. You could have a timed "watcher" for the file, to see when it's modified.

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • Processing the multiple sender xml one by one in a time gap to RFC

    Dear Experts,
             I have to process the multiple sender xml file one by one from FTP to RFC in time gap.
    For Ex:
            I will place 10 xml file in a FTP path at a  time, PI is picking 10 file at a time and process it to RFC at a time.
    Any other way to process the multiple file one by one through PI in a time gap to RFC
    (i,e) PI needs to process the 10 files one by one, once the first file processed successfully from FTP to RFC then the next file to process in a time gap to avoid getting the error in RFC.
    Kindly suggest your ideas or share some links how to process this multiple files.
    Best Regards,
    Monikandan.

    Hi Monikandan,
    You can use CE BPM with PI 7.1 But first check the suggestion of Anupam in the below thread:
    reading file sequentially from FTP using SAP PI file adapter
    Regards,
    Nabendu.

  • What changes i should made in web.xml for using jsp/xml using weblogic

    Hi all,
    I just know some changes has to made in web.xml or weblogic.xml if i have to use weblogic for jsp/xml.
    Pls. anybody post the steps to intereaction with xml using weblogic.
    I am using jdk1.4

    The problem is solved.
    The information is given at
    http://e-docs.bea.com/wls/docs61/webapp/webappdeployment.html

  • Using CDATA in Script (XML)

    Hello,
    I'm trying to create an XML var using CDATA to get some htmlText.
    Sample:
    <fx:Script>
        <![CDATA[
              var newXML:XML = XML("<node><![CDATA["+ myRichTE.htmlText+" ]]></node>")
        ]]>
    <fx:Script>
    <mx:RichTextEditor id="myRichTE" />
    But i get an error on this line. (give it a try, something about an unclosed tag, can't give the exact english error message since i got french UI)
    It seems that you can't use
    <![CDATA[xxxx]]>
    in Script section of an Application (in addition of the main CDATA which contains all Script), since it interprets as a real CDATA.
    And I think I can't do without it to store the htmlText inside an XML node.
    Any ideas ?
    (maybe by "escaping" the CDATA tag ?)
    Thanks a lot.

    Indeed, actually, it is as simple as this :
    <fx:Script>
         <![CDATA[
              myXMLnode = myRichTE.htmlText
         ]]>
    <fx:Script>
    <mx:RichTextEditor id="myRichTE" />
    It is correctly inserted into the XML, by replacing tags with their corresponding html entities.

  • Create a Rules Language process which add a XML payload

    how to create a Rules Language process which add a XML payload in to the ICEPAYLOADEXT table??

    Take a look at this post: How to send a request from MDM 1.6.1 to CC&B using JMS servers?

  • One process bpel and multiple xml input

    Hi All,
    I have one bpel process with one operation. In input I have more xml files with different tag and for each xml invoke different web services.
    How do I select different web services?
    Regards,
    Dario

    I must have one endpoint (eg. process) and for each xml input, I must call different partner link or different sequence.
    Example:
    *(First xml)*
    <GenericPayload>
    <FaxPayload>
    <User></User>
    <From>TEST-SYSTEM</From>
    <To>TEST-DESTINATION</To>
    <Fax>0103434285</Fax>
    <Subject>TEST-FAX-WITH-ATTACHMENT</Subject>
    <Format>TIFF-FINE</Format>
    </FaxPayload>
    </GenericPayload>
    *(Second xml)*
    <GenericPayload>
    <SMSPayload>
    <To>0505654253</To>
    <Subject>TEST</Subject>
    <Content>
    <ContentBody>BODY</ContentBody>
    </Content>
    </SMSPayload>
    </GenericPayload>
    *(Third xml)*
    <GenericPayload>
    <EmailPayload>
    <FromAccountName>Vesa</FromAccountName>
    <To></To>
    <ReplyToAddress>?</ReplyToAddress>
    <Subject>test</Subject>
    </EmailPayload>
    </GenericPayload>
    If in input there is "first XML" I call external web service, for second XML I read external file, for third I send file with FTP.
    Thanks
    Dario

  • How to process such kind of XML data?

    Hi gurus,
    I need your help in processing this kind of XML data. Please note the ns# value can go up all the way to the 1000's. Thanks.
    <AllStatuteQueryResponse xmlns="http://crimnet.state.mn.us/mnjustice/statute/service/3.0">
    <ns1:Statutes xmlns:ns1="http://crimnet.state.mn.us/mnjustice/statute/messages/3.0">
    <ns1:Statutes>
    <ns2:StatuteId xmlns:ns2="http://crimnet.state.mn.us/mnjustice/statute/3.0">1</ns2:StatuteId>
    <ns3:Chapter xmlns:ns3="http://crimnet.state.mn.us/mnjustice/statute/3.0">84</ns3:Chapter>
    <ns4:Section xmlns:ns4="http://crimnet.state.mn.us/mnjustice/statute/3.0">82</ns4:Section>
    <ns5:Subdivision xmlns:ns5="http://crimnet.state.mn.us/mnjustice/statute/3.0">1a</ns5:Subdivision>
    <ns6:Year xmlns:ns6="http://crimnet.state.mn.us/mnjustice/statute/3.0">0</ns6:Year>
    <ns7:LegislativeSessionCode xmlns:ns7="http://crimnet.state.mn.us/mnjustice/statute/3.0">
    <ns7:StatuteCode>
    <ns7:code>4</ns7:code>
    <ns7:description>4</ns7:description>
    </ns7:StatuteCode>
    </ns7:LegislativeSessionCode>
    <ns8:SessionTextIndicator xmlns:ns8="http://crimnet.state.mn.us/mnjustice/statute/3.0">false</ns8:SessionTextIndicator>
    <ns9:HeadNoteIndicator xmlns:ns9="http://crimnet.state.mn.us/mnjustice/statute/3.0">false</ns9:HeadNoteIndicator>
    <ns10:EffectiveDate xmlns:ns10="http://crimnet.state.mn.us/mnjustice/statute/3.0">1859-01-01</ns10:EffectiveDate>
    <ns11:EnactmentDate xmlns:ns11="http://crimnet.state.mn.us/mnjustice/statute/3.0">1859-01-01</ns11:EnactmentDate>
    <ns12:RepealedIndicator xmlns:ns12="http://crimnet.state.mn.us/mnjustice/statute/3.0">false</ns12:RepealedIndicator>
    <j:DocumentLocationURI xmlns:j="http://www.it.ojp.gov/jxdm/3.0.2">
    <j:ID xsi:type="j:TextType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.revisor.leg.state.mn.us/stats/84/82.html</j:ID>
    </j:DocumentLocationURI>
    <ns13:SummaryDescriptionText xmlns:ns13="http://crimnet.state.mn.us/mnjustice/statute/3.0">Snowmobiles-Snowmobile registration</ns13:SummaryDescriptionText>
    <ns14:StatuteFunction xmlns:ns14="http://crimnet.state.mn.us/mnjustice/statute/3.0">
    <ns14:StatuteIntegrationId>1</ns14:StatuteIntegrationId>
    <ns14:FunctionCode>
    <ns14:StatuteCode>
    <ns14:code>1</ns14:code>
    <ns14:description>Charge</ns14:description>
    </ns14:StatuteCode>
    </ns14:FunctionCode>
    <ns14:CrimeOfViolenceIndicator>false</ns14:CrimeOfViolenceIndicator>
    <ns14:EnhanceableIndicator>false</ns14:EnhanceableIndicator>
    <ns14:TargetedMisdemeanorIndicator>false</ns14:TargetedMisdemeanorIndicator>
    <ns14:RegisterableOffenseIndicator>false</ns14:RegisterableOffenseIndicator>
    <ns14:JuvenileOnlyIndicator>false</ns14:JuvenileOnlyIndicator>
    <ns14:MandatoryAppearanceIndicator>false</ns14:MandatoryAppearanceIndicator>
    <ns14:OffenseLevelCode>
    <ns14:StatuteCode>
    <ns14:code>PM</ns14:code>
    <ns14:description>Petty Misdemeanor</ns14:description>
    </ns14:StatuteCode>
    </ns14:OffenseLevelCode>
    <ns14:GeneralOffenseCode>
    <ns14:StatuteCode>
    <ns14:code>4</ns14:code>
    <ns14:description>DWI/Traffic/Vehicle Regulation</ns14:description>
    </ns14:StatuteCode>
    </ns14:GeneralOffenseCode>
    <ns14:DetailedOffenseCode>
    <ns14:StatuteCode>
    <ns14:code>499</ns14:code>
    <ns14:description>Traffic/Transportation</ns14:description>
    </ns14:StatuteCode>
    </ns14:DetailedOffenseCode>
    <ns14:OffenseSummaryCode>
    <ns14:StatuteCode>
    <ns14:code>J</ns14:code>
    <ns14:description>Traffic/Accidents(exclude DWI)</ns14:description>
    </ns14:StatuteCode>
    </ns14:OffenseSummaryCode>
    <ns14:OffenseSummarySeverityLevelCode>
    <ns14:StatuteCode>
    <ns14:code>28</ns14:code>
    <ns14:description>Rank 28</ns14:description>
    </ns14:StatuteCode>
    </ns14:OffenseSummarySeverityLevelCode>
    </ns14:StatuteFunction>
    <ns15:StatuteFunction xmlns:ns15="http://crimnet.state.mn.us/mnjustice/statute/3.0">
    <ns15:StatuteIntegrationId>2</ns15:StatuteIntegrationId>
    <ns15:FunctionCode>
    <ns15:StatuteCode>
    <ns15:code>1</ns15:code>
    <ns15:description>Charge</ns15:description>
    </ns15:StatuteCode>
    </ns15:FunctionCode>
    <ns15:CrimeOfViolenceIndicator>false</ns15:CrimeOfViolenceIndicator>
    <ns15:EnhanceableIndicator>false</ns15:EnhanceableIndicator>
    <ns15:TargetedMisdemeanorIndicator>false</ns15:TargetedMisdemeanorIndicator>
    <ns15:RegisterableOffenseIndicator>false</ns15:RegisterableOffenseIndicator>
    <ns15:JuvenileOnlyIndicator>false</ns15:JuvenileOnlyIndicator>
    <ns15:MandatoryAppearanceIndicator>false</ns15:MandatoryAppearanceIndicator>
    <ns15:OffenseLevelCode>
    <ns15:StatuteCode>
    <ns15:code>M</ns15:code>
    <ns15:description>Misdemeanor</ns15:description>
    </ns15:StatuteCode>
    </ns15:OffenseLevelCode>
    <ns15:GeneralOffenseCode>
    <ns15:StatuteCode>
    <ns15:code>4</ns15:code>
    <ns15:description>DWI/Traffic/Vehicle Regulation</ns15:description>
    </ns15:StatuteCode>
    </ns15:GeneralOffenseCode>
    <ns15:DetailedOffenseCode>
    <ns15:StatuteCode>
    <ns15:code>499</ns15:code>
    <ns15:description>Traffic/Transportation</ns15:description>
    </ns15:StatuteCode>
    </ns15:DetailedOffenseCode>
    <ns15:OffenseSummaryCode>
    <ns15:StatuteCode>
    <ns15:code>J</ns15:code>
    <ns15:description>Traffic/Accidents(exclude DWI)</ns15:description>
    </ns15:StatuteCode>
    </ns15:OffenseSummaryCode>
    <ns15:OffenseSummarySeverityLevelCode>
    <ns15:StatuteCode>
    <ns15:code>28</ns15:code>
    <ns15:description>Rank 28</ns15:description>
    </ns15:StatuteCode>
    </ns15:OffenseSummarySeverityLevelCode>
    </ns15:StatuteFunction>
    </ns1:Statutes>
    <ns1:Statutes>
    <ns16:StatuteId xmlns:ns16="http://crimnet.state.mn.us/mnjustice/statute/3.0">2</ns16:StatuteId>
    <ns17:Chapter xmlns:ns17="http://crimnet.state.mn.us/mnjustice/statute/3.0">219</ns17:Chapter>
    <ns18:Section xmlns:ns18="http://crimnet.state.mn.us/mnjustice/statute/3.0">383</ns18:Section>
    <ns19:Subdivision xmlns:ns19="http://crimnet.state.mn.us/mnjustice/statute/3.0">3</ns19:Subdivision>
    <ns20:Year xmlns:ns20="http://crimnet.state.mn.us/mnjustice/statute/3.0">0</ns20:Year>
    <ns21:LegislativeSessionCode xmlns:ns21="http://crimnet.state.mn.us/mnjustice/statute/3.0">
    <ns21:StatuteCode>
    <ns21:code>4</ns21:code>
    <ns21:description>4</ns21:description>
    </ns21:StatuteCode>
    </ns21:LegislativeSessionCode>
    <ns22:SessionTextIndicator xmlns:ns22="http://crimnet.state.mn.us/mnjustice/statute/3.0">false</ns22:SessionTextIndicator>
    <ns23:HeadNoteIndicator xmlns:ns23="http://crimnet.state.mn.us/mnjustice/statute/3.0">false</ns23:HeadNoteIndicator>
    <ns24:EffectiveDate xmlns:ns24="http://crimnet.state.mn.us/mnjustice/statute/3.0">1859-01-01</ns24:EffectiveDate>
    <ns25:EnactmentDate xmlns:ns25="http://crimnet.state.mn.us/mnjustice/statute/3.0">1859-01-01</ns25:EnactmentDate>
    <ns26:RepealedIndicator xmlns:ns26="http://crimnet.state.mn.us/mnjustice/statute/3.0">false</ns26:RepealedIndicator>
    <j:DocumentLocationURI xmlns:j="http://www.it.ojp.gov/jxdm/3.0.2">
    <j:ID xsi:type="j:TextType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">http://www.revisor.leg.state.mn.us/stats/219/383.html</j:ID>
    </j:DocumentLocationURI>
    <ns27:SummaryDescriptionText xmlns:ns27="http://crimnet.state.mn.us/mnjustice/statute/3.0">Railroads-Railroad Equipment Block Crossing More Than 10 Minutes</ns27:SummaryDescriptionText>
    <ns28:StatuteFunction xmlns:ns28="http://crimnet.state.mn.us/mnjustice/statute/3.0">
    <ns28:StatuteIntegrationId>3</ns28:StatuteIntegrationId>
    <ns28:FunctionCode>
    <ns28:StatuteCode>
    <ns28:code>1</ns28:code>
    <ns28:description>Charge</ns28:description>
    </ns28:StatuteCode>
    </ns28:FunctionCode>
    <ns28:CrimeOfViolenceIndicator>false</ns28:CrimeOfViolenceIndicator>
    <ns28:EnhanceableIndicator>false</ns28:EnhanceableIndicator>
    <ns28:TargetedMisdemeanorIndicator>false</ns28:TargetedMisdemeanorIndicator>
    <ns28:RegisterableOffenseIndicator>false</ns28:RegisterableOffenseIndicator>
    <ns28:JuvenileOnlyIndicator>false</ns28:JuvenileOnlyIndicator>
    <ns28:MandatoryAppearanceIndicator>false</ns28:MandatoryAppearanceIndicator>
    <ns28:OffenseLevelCode>
    <ns28:StatuteCode>
    <ns28:code>PM</ns28:code>
    <ns28:description>Petty Misdemeanor</ns28:description>
    </ns28:StatuteCode>
    </ns28:OffenseLevelCode>
    <ns28:GeneralOffenseCode>
    <ns28:StatuteCode>
    <ns28:code>4</ns28:code>
    <ns28:description>DWI/Traffic/Vehicle Regulation</ns28:description>
    </ns28:StatuteCode>
    </ns28:GeneralOffenseCode>
    <ns28:DetailedOffenseCode>
    <ns28:StatuteCode>
    <ns28:code>499</ns28:code>
    <ns28:description>Traffic/Transportation</ns28:description>
    </ns28:StatuteCode>
    </ns28:DetailedOffenseCode>
    <ns28:OffenseSummaryCode>
    <ns28:StatuteCode>
    <ns28:code>J</ns28:code>
    <ns28:description>Traffic/Accidents(exclude DWI)</ns28:description>
    </ns28:StatuteCode>
    </ns28:OffenseSummaryCode>
    <ns28:OffenseSummarySeverityLevelCode>
    <ns28:StatuteCode>
    <ns28:code>28</ns28:code>
    <ns28:description>Rank 28</ns28:description>
    </ns28:StatuteCode>
    </ns28:OffenseSummarySeverityLevelCode>
    </ns28:StatuteFunction>
    </ns1:Statutes>
    </AllStatuteQueryResponse>
    Thanks!
    Ben

    Hi Mark, please help me again.
    This is what I did and I don't get any data out.
    declare
              cursor c_xmls is
              select cs.*
              from
              xmltable
                   xmlnamespaces
                        'http://crimnet.state.mn.us/mnjustice/statute/service/3.0' as "cx",
                        'http://crimnet.state.mn.us/mnjustice/statute/messages/3.0' as "ns",
                        'http://crimnet.state.mn.us/mnjustice/statute/3.0' as "cs"
                   '/cx:AllStatuteQueryResponse/ns:Statutes'
                   passing v_xml
                   columns
                   StatuteID     number     path '//Statutes/StatuteId'
              ) cs;     
         begin
              dbms_output.put_line('Processing started here');
              for c_sid in c_xmls loop
                   dbms_output.put_line(c_xmls%rowCount || ' ID = ' || c_sid.StatuteId);
              end loop;
         end;
    But if I use this (added the cs prefix) I get the error LPX-00601: Invalid token in: '//cs:Statutes/cs:StatuteId'
    declare
              cursor c_xmls is
              select cs.*
              from
              xmltable
                   xmlnamespaces
                        'http://crimnet.state.mn.us/mnjustice/statute/service/3.0' as "cx",
                        'http://crimnet.state.mn.us/mnjustice/statute/messages/3.0' as "ns",
                        'http://crimnet.state.mn.us/mnjustice/statute/3.0' as "cs"
                   '/cx:AllStatuteQueryResponse/ns:Statutes'
                   passing v_xml
                   columns
                   StatuteID     number     path '//cs:Statutes/cs:StatuteId'
              ) cs;     
         begin
              dbms_output.put_line('Processing started here');
              for c_sid in c_xmls loop
                   dbms_output.put_line(c_xmls%rowCount || ' ID = ' || c_sid.StatuteId);
              end loop;
         end;
    Please tell me what I did wrong. Thanks a lot!
    Ben

  • "Could not initiate the BPEL process because the input xml is not well form

    hi all,
    i am new to BPEL and tring to create a BPEL WebServices. now i got struck up with one issue like below
    "Could not initiate the BPEL process because the input xml is not well formed, the reason is : Error parsing envelope Please correct the input xml."
    But according to BPEL compiler there are no errors in the design and deployment as well. when i tries to initiate the deployed WS i am facing the above issue.
    can anybody help me to fix this issue. Thanks in advance.
    Regards,
    Kalyan

    hi' Kalyan,
    The issue seems to be due to XSD file which you are importing while making the new BPEL process,
    the XSD file is very sensitive even a simple upper case will create error, XSD file are many times used when you want
    to pass some entries to be updated in the database.
    use this XSD file:"discountflow.xsd"
    <schema attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="http://www.autoloan.com/ns/autoloan"
    xmlns:tns="http://www.autoloan.com/ns/autoloan"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <!--<element name="Demo" type="tns:DemoType"/>-->
    <element name="Order" type="tns:OrderType"/>
    <complexType name="OrderType">
    <sequence>
    <element name="orderid" type="int"/>
    <element name="tenantid" type="int"/>
    <element name="orderstatusid" type="int"/>
    </sequence>
    </complexType>
    </schema>
    <complexType name="Discount">
    <sequence>
    <element name="approval" type="boolean"/>
    <element name="discount" type="int"/>
    <element name="quantity" type="int"/>
    </sequence>
    </complexType>
    </schema>
    -Yatan

  • Could not initiate the BPEL process because the input xml is not well forme

    Your test request generated the following exception/fault:
    Could not initiate the BPEL process because the input xml is not well formed, the reason is :
    Error parsing envelope: (2, 152) Invalid char in text. Please correct the input xml.
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/RO_Update2">
    <ns1:RO_Update2ProcessRequest>
    <ns1:UserName>operations</ns1:UserName>
    <ns1:Responsibility>Depot Repair Engineer</ns1:Responsibility>
    <ns1:API_VER>1.0</ns1:API_VER>
    <ns1:P_commit>T</ns1:P_commit>
    <ns1:init_msg>T</ns1:init_msg>
    <ns1:Org_ID>207</ns1:Org_ID>
    <ns1:R_Number>10782</ns1:R_Number>
    <ns1:R_Status>1008</ns1:R_Status>
    <ns1:Obj_Ver_No>1</ns1:Obj_Ver_No>
    </ns1:RO_Update2ProcessRequest>
    </soap:Body>
    </soap:Envelope>

    Try
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <ns1:RO_Update2ProcessRequest xmlns:ns1="http://xmlns.oracle.com/RO_Update2">
    <ns1:UserName>operations</ns1:UserName>
    <ns1:Responsibility>Depot Repair Engineer</ns1:Responsibility>
    <ns1:API_VER>1.0</ns1:API_VER>
    <ns1:P_commit>T</ns1:P_commit>
    <ns1:init_msg>T</ns1:init_msg>
    <ns1:Org_ID>207</ns1:Org_ID>
    <ns1:R_Number>10782</ns1:R_Number>
    <ns1:R_Status>1008</ns1:R_Status>
    <ns1:Obj_Ver_No>1</ns1:Obj_Ver_No>
    </ns1:RO_Update2ProcessRequest>
    </soap:Body>
    </soap:Envelope>

  • Version.xml for the beta versions ?

    Hello Adobe,
    can you tell me/us the hyperlink for the version.xml of the beta versions ?
    For the stable release I know it:
    https://fpdownload.macromedia.com/pub/flashplayer/update/current/sau/11/xml/version.xml
    Thanks

    Then you might check at any of the other university book stores or software stores or any computer store in town for the 64-bit version.
    If you want to use the 32-bit version from the school (you probably get it for free or very cheap) then you could purchase Parallels and run it as a virtual machine concurrently with OS X. There are some caveats:
    1. You have to purchase Parallels (there may be an academic discount.) List is $79.95.
    2. Your computer needs minimally 4 GBs of RAM, but realistically 8 GBs would be better.
    3. Parallels creates a pseudo-drive on your hard drive. It could easily require 50 GBs of disk space.
    Accommodating these might be more costly than buying 64-bit Windows 7. And, if you look online you may find them with an academic discount (or may be able to order it through the school.)

  • Difference between prefer-application-packages in weblogic.xml and weblogic-application.xml?

    Hi!
    When deploying a WAR to WebLogic 10.3.5, what is the difference between the prefer-application-packages element in the files weblogic.xml and weblogic-application.xml?
    In my WARs WEB-INF/lib/ I have a JAR that contains classes that are already provided by the container (but older versions).
    If I do not use prefer-application-packages then my app gets the classes provided by the container.
    If I use prefer-application-packages in weblogic.xml then I get the classes from WAR/WEB-INF/lib which is expected.
    But if I use prefer-application-packages in weblogic-application.xml then I get the container versions. Why?
    Is there a difference between those two options?
    The exact data I use is:
    (foo.bar.* is the conflicting package; I add or remove the linex marked with XXXX)
    WEB-INF/weblogic.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app
        xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
        <wls:container-descriptor>
            <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled>
            <wls:prefer-application-packages> <!-- XXXX -->
                <wls:package-name>foo.bar.*</wls:package-name> <!-- XXXX -->
            </wls:prefer-application-packages> <!-- XXXX -->
            <wls:prefer-application-resources>
                <wls:resource-name>META-INF/services/some....</wls:resource-name>
                <wls:resource-name>META-INF/services/unrelated...</wls:resource-name>
                <wls:resource-name>META-INF/services/stuff...</wls:resource-name>
            </wls:prefer-application-resources>
        </wls:container-descriptor>
        <wls:jsp-descriptor>
            <wls:page-check-seconds>-1</wls:page-check-seconds>
            <wls:precompile>true</wls:precompile>
            <wls:precompile-continue>true</wls:precompile-continue>
            <wls:keepgenerated>true</wls:keepgenerated>
        </wls:jsp-descriptor>
        <wls:session-descriptor>
            <wls:persistent-store-type>replicated_if_clustered</wls:persistent-store-type>
        </wls:session-descriptor>
    </wls:weblogic-web-app>
    META-INF/weblogic-application.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-application
        xmlns="http://xmlns.oracle.com/weblogic/weblogic-application"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">
        <application-param>
            <param-name>webapp.encoding.default</param-name>
            <param-value>UTF-8</param-value>
        </application-param>
        <xml>
            <parser-factory>
                <saxparser-factory>
                    org.apache.xerces.jaxp.SAXParserFactoryImpl
                </saxparser-factory>
                <document-builder-factory>
                    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
                </document-builder-factory>
                <transformer-factory>
                    org.apache.xalan.processor.TransformerFactoryImpl
                </transformer-factory>
            </parser-factory>
        </xml>
        <prefer-application-packages>
            <package-name>foo.bar.*</package-name> <!-- XXXX -->
            <package-name>javax.jws.*</package-name>
            <package-name>javax.xml.ws.*</package-name>
            <package-name>org.apache.cxf.*</package-name>
            <package-name>antlr.*</package-name>
            <package-name>org.xmlsoap.schemas.wsdl.*</package-name>
        </prefer-application-packages>
    </weblogic-application>

    weblogic-application.xml has no meaning in WARs, it is only used in EARs.

  • Build.xml in weblogic 7

    Hi.
    I am trying to upgrade from wls 6.1 and wlp 4.0 to weblogic platform 7.0 i have
    completed migration of all files, but cannot find the 7.0 versions of the build.xml
    and corresponding files, nor can i find any reference to these files in the documentation.
    Does anyone have any idea how to convert these 6.1/4.0 specific files to 7.0?
    Thanks.

    Please post this to the EJB beta newsgroup.
    -- Rob
    feroze ashfaq wrote:
    Hello,
    I am getting a problems with ejb-jar.xml file while trying to build it in weblgic
    7.0.I am always getting an error that ejb-jar.xml cannot be processed .Please
    help me why this problem is comming.In the classpath i have given java home as
    jdk1.4.Let me know as soon as possible.

  • Dynamic XML with Weblogic ?

    hello all !!
    May be this question is already answered, and sorry for that, but here again !
    I am trying to use Weblogic server, in order to process XML files, this files
    make a query to my Oracle Data Base, Before this I was using Cocoon (apache) to
    generate the dynamic XML with the query's result, is there a way to make the same
    thing with Weblogic ? anybody know how to do it ? do yu have a simple example
    ? here is a sample code that I use with cocoon.
    <?xml version="1.0" ?>
    <?cocoon-process type="xsp"?>
    <xsp:page language="java" xmlns:sql="http://www.apache.org/1999/SQL"
    xmlns:xsp="http://www.apache.org/1999/XSP/Core"
    xmlns:request="http://www.apache.org/1999/XSP/Request">
    <page title="SQL Search Results">
    <sql:execute-query>
    <sql:driver>oracle.jdbc.driver.OracleDriver</sql:driver>
    <sql:dburl>jdbc:oracle:thin:@IP_Address:1521:cta</sql:dburl>
    <sql:username>User</sql:username>
    <sql:password>Password</sql:password>
    <sql:doc-element>My_table</sql:doc-element>
    <sql:row-element>record</sql:row-element>
    <sql:query>select * from My_table</sql:query>
    </sql:execute-query>
    </page>
    </xsp:page>
    Thanks a lot for your help !
    Gustavo Mejia
    INFOTEC

    Since Cocoon is a servlet, just install it in Weblogic.
    "Gustavo Mejia" <[email protected]> wrote in message
    news:3b5ca3fa$[email protected]..
    >
    hello all !!
    May be this question is already answered, and sorry for that, but hereagain !
    >
    I am trying to use Weblogic server, in order to process XML files, thisfiles
    make a query to my Oracle Data Base, Before this I was using Cocoon(apache) to
    generate the dynamic XML with the query's result, is there a way to makethe same
    thing with Weblogic ? anybody know how to do it ? do yu have a simpleexample
    ? here is a sample code that I use with cocoon.
    <?xml version="1.0" ?>
    <?cocoon-process type="xsp"?>
    <xsp:page language="java" xmlns:sql="http://www.apache.org/1999/SQL"
    xmlns:xsp="http://www.apache.org/1999/XSP/Core"
    xmlns:request="http://www.apache.org/1999/XSP/Request">
    <page title="SQL Search Results">
    <sql:execute-query>
    <sql:driver>oracle.jdbc.driver.OracleDriver</sql:driver>
    <sql:dburl>jdbc:oracle:thin:@IP_Address:1521:cta</sql:dburl>
    <sql:username>User</sql:username>
    <sql:password>Password</sql:password>
    <sql:doc-element>My_table</sql:doc-element>
    <sql:row-element>record</sql:row-element>
    <sql:query>select * from My_table</sql:query>
    </sql:execute-query>
    </page>
    </xsp:page>
    Thanks a lot for your help !
    Gustavo Mejia
    INFOTEC

Maybe you are looking for

  • Application stops when tab is inactive, or application is minimized

    I have an application running in browser and as air(flex3/flex4.1 + air 2.6). Now we noticed the problem that our application upload stops when the tab, in which the application is running during a browser session, becomes inactive. In the air  versi

  • Unable to edit PDF created by Word 2011 on Lion.

    Two weeks ago I upgrade my 24-inch iMac from Snow Leopard to Lion on which I am running Adone Acrobat 9 Pro (with all the latest updates). My challenge is that I am trying to edit a PDF file created using Microsoft Word 2011 for Mac.  When I print th

  • REP-56092 WHEN RUN REPORT IN WEB LAYOUT

    I have installed report 9iDS and can run report in paper layout without any problem. However , when I press "Run Web Layout" button , I get message rep-56092 NO CLASS DEFINED FOR DESTINATION TYPE SCREEN WHEN RUN WEBLAYOUT. Do anybody has idea why thi

  • Finding location of selection in InCopy [AppleScript]

    This is a variation of my request from yesterday. I am able to select the last character of the last column of the story. I now want to know the location of that character. For example, I find the last character with this lin of code select text of l

  • BPEL in Weblogic Server

    Hi, I am trying to install BPEL in weblogic server but i am not succesful. 1. Intall BPEL PM 2. Path apllied for BPEL PM 3. IRCA - repository created 4.weblogic server installed 5.orabpel installed. after that i checked the logs. below is the log mes