Error parsing enveloped data (Error Code: 101): Cannot decrypt request
When my player requests http://<server>:8080/flashaccessserver/<tenant>/flashaccess/license/v1 the following happens:
- HTTP 500 is returned
- in the log file, an ERROR is appended, copied below:
[#:10] 2011-01-14 12:19:37,381 DEBUG [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.engine.LicenseEngine ] Started processing request...
[#:10] 2011-01-14 12:19:37,385 ERROR [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.engine.LicenseEngine ]
Error occurred processing license acquisition request
com.adobe.flashaccess.sdk.protocol.HandlerParsingException: com.adobe.flashaccess.core.pkcs7.PKCS7Exception: Error parsing enveloped data (Error Code: 101):
Cannot decrypt request
at com.adobe.flashaccess.sdk.protocol.AbstractHandler.parseRequest(AbstractHandler.java:73)
at com.adobe.flashaccess.server.license.engine.LicenseEngine.parseRequest(LicenseEngine.java :193)
at com.adobe.flashaccess.server.license.engine.LicenseEngine.parseRequest(LicenseEngine.java :63)
at com.adobe.flashaccess.server.generic.engine.AbstractEngine.processLicenseRequest(Abstract Engine.java:70)
at com.adobe.flashaccess.server.license.servlet.LicenseEngineDelegatorServlet.doPost(License EngineDelegatorServlet.java:53)
etc...
The Validator says that the config is ok, but I can't get this /license/v1 url to work.
Can you help?
Thank you!
I have managed to get past that 101 error, but now there is another error... and I have no idea where to continue... can you help?
Thank you in advance!
This is my log file:
[#:3] 2011-01-14 16:38:53,623 INFO [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.context.SimpleContex tFactory] Creating class loader for partition 'flashaccessserver' with libraries '[file:/opt/adobe/flashaccess/tomcat/licenseserver/flashaccessserver/libs/, file:/opt/adobe/flashaccess/tomcat/licenseserver/flashaccessserver/libs/flashaccess-licen se-server-ext-sample.jar]'
[#:3] 2011-01-14 16:38:53,626 DEBUG [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.engine.LicenseEngine ] Started processing request...
[#:3] 2011-01-14 16:40:26,933 ERROR [[Partition(flashaccessserver)].com.adobe.flashaccess.server.license.engine.LicenseEngine ] Error occurred processing license acquisition request
java.lang.UnsatisfiedLinkError: com.rsa.Native.JN_SHA1.NativeDigestInit([B)[B
at com.rsa.Native.JN_SHA1.NativeDigestInit(Native Method)
at com.rsa.cryptoj.n.fN.a(Unknown Source)
at com.rsa.cryptoj.n.qE.a(Unknown Source)
at com.rsa.cryptoj.n.qE.f(Unknown Source)
at com.rsa.cryptoj.n.bA.a(Unknown Source)
at com.rsa.jsafe.JSAFE_Signature.verifyInit(Unknown Source)
at com.rsa.jsafe.JSAFE_Signature.verifyInit(Unknown Source)
at com.adobe.flashaccess.core.crypto.jsafe.RSASigVerifier_JSAFE.<init>(RSASigVerifier_JSAFE. java:46)
at com.adobe.flashaccess.core.crypto.RSASigVerifier.getInstance(RSASigVerifier.java:30)
at com.adobe.flashaccess.core.pkcs7.SignedDataVerifier.verify(SignedDataVerifier.java:82)
at com.adobe.flashaccess.core.pkcs7.SignedDataVerifier.verify(SignedDataVerifier.java:164)
at com.adobe.flashaccess.core.pkcs7.SignedData.verifySignature(SignedData.java:335)
at com.adobe.flashaccess.core.media.drm.keys.v2.V2ContentMetadataImpl.parseMetadata(V2Conten tMetadataImpl.java:189)
at com.adobe.flashaccess.core.media.drm.keys.v2.V2ContentMetadataImpl.<init>(V2ContentMetada taImpl.java:155)
at com.adobe.flashaccess.sdk.protocol.license.LicenseRequestMessage.parseLicenseMessage(Lice nseRequestMessage.java:565)
at com.adobe.flashaccess.sdk.protocol.license.LicenseRequestMessage.<init>(LicenseRequestMes sage.java:137)
at com.adobe.flashaccess.sdk.protocol.license.LicenseHandler.parseRequestMessages(LicenseHan dler.java:128)
at com.adobe.flashaccess.sdk.protocol.AbstractBatchHandler.parseRequestMessage(AbstractBatch Handler.java:124)
at com.adobe.flashaccess.sdk.protocol.AbstractHandler.parseRequest(AbstractHandler.java:75)
at com.adobe.flashaccess.server.license.engine.LicenseEngine.parseRequest(LicenseEngine.java :193)
at com.adobe.flashaccess.server.license.engine.LicenseEngine.parseRequest(LicenseEngine.java :63)
at com.adobe.flashaccess.server.generic.engine.AbstractEngine.processLicenseRequest(Abstract Engine.java:70)
at com.adobe.flashaccess.server.license.servlet.LicenseEngineDelegatorServlet.doPost(License EngineDelegatorServlet.java:53)
etc.
Similar Messages
-
Error in calling CLOB data.. Error parsing envelope:
Hi,
I have database table with some CLOB data type columns.
using DB adpater (simple select query using), I am selecting that talbe. I am getting the following error :
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: (1, 223) Invalid char in text. Please correct the input xml.
How to read the CLOB data from DB that and assigs back to output varaiable in BPEL.
Thanks,
BharathHi,
You want to upload file by TCP on RT target, but TCP/IP is not deterministic, so you have an timeout error.
Have a look on this :TCP/IP Communication Error -56 When Communicating to an RT System
Regards,
Aurélien J.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Du 30 juin au 25 août, embarquez pour 2 mois de vidéo-t'chat ! Prenez place pour un voyage au coe... -
Error parsing envelope: Header child element must be namespace qualified
Hey all,
I'm creating a BPEL process that invokes a web service. The web service has an authenticate method that returns a session ID that I attempt to invoke. However, the process fails when trying to parse the response when invoking that operation. I checked the server logs and it's reporting the following: javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Header child element 'ID' must be namespace qualified!
So I invoked the authenticate operation using SOAP UI, since it doesn't parse the response but merely displays it, and here's what was returned (slightly modified):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<ID>xxx</ID>
</soapenv:Header>
<soapenv:Body>
<ns1:SessionID xmlns:ns1="http://some-namespace">
<ns1:ID>xxx</ns1:ID>
</ns1:SessionID>
</soapenv:Body>
</soapenv:Envelope>
Indeed the ID tag in the header doesn't have a namespace prefix. Looking at the SOAP 1.1 spec it says, “A header entry is identified by its fully qualified element name, which consists of the namespace URI and the local name. All immediate child elements of the SOAP Header element MUST be namespace-qualified.”
I was told that the code for the web service is frozen and cannot be changed. Are there any ways around this problem? Is it possible for the BPEL process to not parse the SOAP header?
Thanks,
BillAll,
I think I might use a HeaderHandler to either strip the offending element from the header all together or modify it so that it's namespace qualified. The problem is, I can't find much documentation on it. The only thing I can find is this: Manipulating XML Data in BPEL section 3.19. It says to implement the HeaderHandler interface but doesn't give the fully qualified name of the interface. I'm guessing it's referring to com.collaxa.cube.ws.HeaderHandler. The invoke method that is defined in the interface is a little different than the one in the documentation. Mine has a signature of public void invoke(CXPartnerLink partnerLink, String operationName, Map payload, List list, Map map2)...what do these parameters represent and what key/value types do the maps have? It also says to register the handler in the bpel.xml deployment descriptor file but I can't find one - is it auto-generated? If so, where is it. If not, how do I generate it? I appreciate any information.
Thanks,
Bill -
Error parsing envelope: (1, 1) Start of root element expected.
Hello BI Publisher:
The issue has been resolved. I found the cause the problem. The following line in my WSDL was preventing BI Publisher from reading the WSDL, which will return the "Error parsing envelope" message:
<xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
Once I removed the above line, BI Publisher was able to read the WSDL without any issues, and run the report.
Benjamin
Hello BI Publisher:
I am trying to define a new dataset of type "Web Service", with a Complex Type configuration using WS-Security 2004. I get the following error when I try to "View" it:
**"javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected."**
This happens even if my Application Server (where the service is located) is not running, so I suspect that the error happens before the Publisher server tries to send the SOAP envevelop to the service server.
Publisher Version: Release 10.1.3.4
Complex Type: True
Username: User1
Password: ******
Time Out: 60
WSDL URL: http://localhost:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
Web Service: ZZ_BIP_XAI_ZFService
Method: ZZ_BIP_XAI_ZF
ResponseData XPath: <blank>
Here is the Publisher server log in debug mode:
[072909_110222553][][STATEMENT] Setting data definition:New DataSet 1 type:oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11
[072909_110222569][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
[072909_110228644][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
[072909_110228690][][STATEMENT] WebServiceBoundValue11::getValue m_xpath =
[072909_110228690][][STATEMENT] WSS Parameter = 2004
09/07/29 11:02:28 WebServiceCall::callComplexClient SOAP Message = null
[072909_110228706][][STATEMENT] SOAP Response XPATH =
[072909_110228706][][STATEMENT] http://localhost.us.oracle.com:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
[072909_110228706][][STATEMENT] ZZ_BIP_XAI_ZF
[072909_110228706][][STATEMENT] null
09/07/29 11:02:28 WebServiceCall::callComplexClient WS-Security Enabled - uid [SPLBPG], pwd [splbpg00], spec-2004 [true]
09/07/29 11:02:28 javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
09/07/29 11:02:28 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
09/07/29 11:02:28 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
09/07/29 11:02:28 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
09/07/29 11:02:28 at java.lang.Thread.run(Thread.java:595)
09/07/29 11:02:28 Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
09/07/29 11:02:28 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
09/07/29 11:02:28 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
09/07/29 11:02:28 ... 30 more
[072909_110228862][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
... 27 more
Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
... 30 more
[072909_110228878][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
... 27 moreCaused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
... 30 more
Here is my WSDL:
<?xml version="1.0"?>
<!-- root element wsdl:definitions defines set of related services -->
<wsdl:definitions name="ZZ_BIP_XAI_ZF"
targetNamespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
xmlns:xai="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
xmlns:xaixsd="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF.xsd"
xmlns:schemans1="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
xmlns:schemans2="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
xmlns:ouaf="urn:oracle:ouaf"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<!-- wsdl:types encapsulates schema definitions of communication types;
here using xsd -->
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
<xsd:element name="Fault">
<xsd:complexType>
<xsd:all>
<xsd:element name="ResponseStatus" type="xsd:string"/>
<xsd:element name="ResponseCode" type="xsd:int"/>
<xsd:element name="ResponseText" type="xsd:string"/>
<xsd:element name="ResponseData" minOccurs="0">
<xsd:complexType>
<xsd:attribute name="parm1" type="xsd:string"/>
<xsd:attribute name="parm2" type="xsd:string"/>
<xsd:attribute name="parm3" type="xsd:string"/>
<xsd:attribute name="parm4" type="xsd:string"/>
<xsd:attribute name="parm5" type="xsd:string"/>
<xsd:attribute name="text" type="xsd:string"/>
<xsd:attribute name="category" type="xsd:string"/>
<xsd:attribute name="numParm" type="xsd:int"/>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
<xsd:simpleType name="money">
<xsd:restriction base="xsd:decimal"/>
</xsd:simpleType>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ouaf="urn:oracle:ouaf" targetNamespace="http://oracle.com/ZZ_BIP_XAI_ZF.xsd" elementFormDefault="qualified">
<xsd:import namespace="urn:oracle:ouaf"/>
<xsd:element name="ZZ_BIP_XAI_ZF">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="crew" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
<xsd:element name="crewName" type="xsd:string"/>
<xsd:element name="task" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
<xsd:element name="taskId" type="xsd:string" minOccurs="0"/>
<xsd:element name="taskName" type="xsd:string"/>
<xsd:element name="status" type="xsd:string"/>
<xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<!-- wsdl:message elements describe potential transactions -->
<!-- request ZZ_BIP_XAI_ZFRequest is of type ZZ_BIP_XAI_ZF -->
<wsdl:message name="ZZ_BIP_XAI_ZFRequest">
<wsdl:part name="body" element="schemans1:ZZ_BIP_XAI_ZF"/>
</wsdl:message>
<!-- response ZZ_BIP_XAI_ZFResponse is of type ZZ_BIP_XAI_ZFResponse -->
<wsdl:message name="ZZ_BIP_XAI_ZFResponse">
<wsdl:part name="body" element="schemans2:ZZ_BIP_XAI_ZF"/>
</wsdl:message>
<!-- fault ZZ_BIP_XAI_ZFFault is of type ZZ_BIP_XAI_ZFFault -->
<wsdl:message name="ZZ_BIP_XAI_ZFFault">
<wsdl:part name="fault" element="ouaf:Fault"/>
</wsdl:message>
<!-- wsdl:portType describes messages in an operation -->
<wsdl:portType name="ZZ_BIP_XAI_ZFPortType">
<!-- the value of wsdl:operation eludes me -->
<wsdl:operation name="ZZ_BIP_XAI_ZF">
<wsdl:input message="xai:ZZ_BIP_XAI_ZFRequest"/>
<wsdl:output message="xai:ZZ_BIP_XAI_ZFResponse"/>
<wsdl:fault name="fault" message="xai:ZZ_BIP_XAI_ZFFault"/>
</wsdl:operation>
</wsdl:portType>
<!-- wsdl:binding states a serialization protocol for this service -->
<wsdl:binding name="ZZ_BIP_XAI_ZFSoapBinding"
type="xai:ZZ_BIP_XAI_ZFPortType">
<!-- leverage off soap:binding document style @@@(no wsdl:foo pointing at
the soap binding) -->
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<!-- semi-opaque container of network transport details classed by
soap:binding above @@@ -->
<wsdl:operation name="ZZ_BIP_XAI_ZF">
<!-- again bind to SOAP? @@@ -->
<soap:operation soapAction="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
<!-- furthur specify that the messages in the wsdl:operation
"ZZ_BIP_XAI_ZF" use SOAP? @@@ -->
<wsdl:input>
<soap:body use="literal"
namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"
namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:output>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"
namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<!-- wsdl:service names a new service "ZZ_BIP_XAI_ZFService" -->
<wsdl:service name="ZZ_BIP_XAI_ZFService">
<wsdl:documentation>ZZ_BIP_XAI_ZF version 3: Test XAI WS for BIP</wsdl:documentation>
<!-- connect it to the binding "ZZ_BIP_XAI_ZFSoapBinding" above -->
<wsdl:port name="ZZ_BIP_XAI_ZFPort"
binding="xai:ZZ_BIP_XAI_ZFSoapBinding">
<!-- give the binding an network address -->
<soap:address location="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Edited by: bperezg on Aug 12, 2009 2:49 PM
Edited by: bperezg on Aug 12, 2009 2:56 PMHello BI Publisher:
The issue has been resolved. I found the cause the problem. The following line in my WSDL was preventing BI Publisher from reading the WSDL, which will return the "Error parsing envelope" message:
<xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
Once I removed the above line, BI Publisher was able to read the WSDL without any issues, and run the report.
Benjamin
Hello BI Publisher:
I am trying to define a new dataset of type "Web Service", with a Complex Type configuration using WS-Security 2004. I get the following error when I try to "View" it:
**"javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected."**
This happens even if my Application Server (where the service is located) is not running, so I suspect that the error happens before the Publisher server tries to send the SOAP envevelop to the service server.
Publisher Version: Release 10.1.3.4
Complex Type: True
Username: User1
Password: ******
Time Out: 60
WSDL URL: http://localhost:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
Web Service: ZZ_BIP_XAI_ZFService
Method: ZZ_BIP_XAI_ZF
ResponseData XPath: <blank>
Here is the Publisher server log in debug mode:
[072909_110222553][][STATEMENT] Setting data definition:New DataSet 1 type:oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11
[072909_110222569][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
[072909_110228644][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
[072909_110228690][][STATEMENT] WebServiceBoundValue11::getValue m_xpath =
[072909_110228690][][STATEMENT] WSS Parameter = 2004
09/07/29 11:02:28 WebServiceCall::callComplexClient SOAP Message = null
[072909_110228706][][STATEMENT] SOAP Response XPATH =
[072909_110228706][][STATEMENT] http://localhost.us.oracle.com:4100/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF?WSDL
[072909_110228706][][STATEMENT] ZZ_BIP_XAI_ZF
[072909_110228706][][STATEMENT] null
09/07/29 11:02:28 WebServiceCall::callComplexClient WS-Security Enabled - uid [SPLBPG], pwd [splbpg00], spec-2004 [true]
09/07/29 11:02:28 javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
09/07/29 11:02:28 at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
09/07/29 11:02:28 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
09/07/29 11:02:28 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
09/07/29 11:02:28 at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
09/07/29 11:02:28 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
09/07/29 11:02:28 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
09/07/29 11:02:28 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
09/07/29 11:02:28 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
09/07/29 11:02:28 at java.lang.Thread.run(Thread.java:595)
09/07/29 11:02:28 Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
09/07/29 11:02:28 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
09/07/29 11:02:28 at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
09/07/29 11:02:28 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
09/07/29 11:02:28 at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
09/07/29 11:02:28 ... 30 more
[072909_110228862][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
... 27 more
Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
... 30 more
[072909_110228878][][EXCEPTION] oracle.apps.xdo.webservice.wsclient.WSClientException: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1406)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.callComplexClient(WebServiceCall.java:179)
at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:63)
at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:147)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:231)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:103)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1429)
at oracle.apps.xdo.webservice.wsclient.WSClient.insertSecurityHeaders(WSClient.java:1399)
... 27 moreCaused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:206)
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:77)
... 30 more
Here is my WSDL:
<?xml version="1.0"?>
<!-- root element wsdl:definitions defines set of related services -->
<wsdl:definitions name="ZZ_BIP_XAI_ZF"
targetNamespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
xmlns:xai="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"
xmlns:xaixsd="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF.xsd"
xmlns:schemans1="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
xmlns:schemans2="http://oracle.com/ZZ_BIP_XAI_ZF.xsd"
xmlns:ouaf="urn:oracle:ouaf"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<!-- wsdl:types encapsulates schema definitions of communication types;
here using xsd -->
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
<xsd:element name="Fault">
<xsd:complexType>
<xsd:all>
<xsd:element name="ResponseStatus" type="xsd:string"/>
<xsd:element name="ResponseCode" type="xsd:int"/>
<xsd:element name="ResponseText" type="xsd:string"/>
<xsd:element name="ResponseData" minOccurs="0">
<xsd:complexType>
<xsd:attribute name="parm1" type="xsd:string"/>
<xsd:attribute name="parm2" type="xsd:string"/>
<xsd:attribute name="parm3" type="xsd:string"/>
<xsd:attribute name="parm4" type="xsd:string"/>
<xsd:attribute name="parm5" type="xsd:string"/>
<xsd:attribute name="text" type="xsd:string"/>
<xsd:attribute name="category" type="xsd:string"/>
<xsd:attribute name="numParm" type="xsd:int"/>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
<xsd:simpleType name="money">
<xsd:restriction base="xsd:decimal"/>
</xsd:simpleType>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ouaf="urn:oracle:ouaf" targetNamespace="http://oracle.com/ZZ_BIP_XAI_ZF.xsd" elementFormDefault="qualified">
<xsd:import namespace="urn:oracle:ouaf"/>
<xsd:element name="ZZ_BIP_XAI_ZF">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="crew" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
<xsd:element name="crewName" type="xsd:string"/>
<xsd:element name="task" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="crewId" type="xsd:string" minOccurs="0"/>
<xsd:element name="taskId" type="xsd:string" minOccurs="0"/>
<xsd:element name="taskName" type="xsd:string"/>
<xsd:element name="status" type="xsd:string"/>
<xsd:element name="startDttm" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="endDttm" type="xsd:dateTime" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="dateTimeTagFormat" fixed="xsd" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<!-- wsdl:message elements describe potential transactions -->
<!-- request ZZ_BIP_XAI_ZFRequest is of type ZZ_BIP_XAI_ZF -->
<wsdl:message name="ZZ_BIP_XAI_ZFRequest">
<wsdl:part name="body" element="schemans1:ZZ_BIP_XAI_ZF"/>
</wsdl:message>
<!-- response ZZ_BIP_XAI_ZFResponse is of type ZZ_BIP_XAI_ZFResponse -->
<wsdl:message name="ZZ_BIP_XAI_ZFResponse">
<wsdl:part name="body" element="schemans2:ZZ_BIP_XAI_ZF"/>
</wsdl:message>
<!-- fault ZZ_BIP_XAI_ZFFault is of type ZZ_BIP_XAI_ZFFault -->
<wsdl:message name="ZZ_BIP_XAI_ZFFault">
<wsdl:part name="fault" element="ouaf:Fault"/>
</wsdl:message>
<!-- wsdl:portType describes messages in an operation -->
<wsdl:portType name="ZZ_BIP_XAI_ZFPortType">
<!-- the value of wsdl:operation eludes me -->
<wsdl:operation name="ZZ_BIP_XAI_ZF">
<wsdl:input message="xai:ZZ_BIP_XAI_ZFRequest"/>
<wsdl:output message="xai:ZZ_BIP_XAI_ZFResponse"/>
<wsdl:fault name="fault" message="xai:ZZ_BIP_XAI_ZFFault"/>
</wsdl:operation>
</wsdl:portType>
<!-- wsdl:binding states a serialization protocol for this service -->
<wsdl:binding name="ZZ_BIP_XAI_ZFSoapBinding"
type="xai:ZZ_BIP_XAI_ZFPortType">
<!-- leverage off soap:binding document style @@@(no wsdl:foo pointing at
the soap binding) -->
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<!-- semi-opaque container of network transport details classed by
soap:binding above @@@ -->
<wsdl:operation name="ZZ_BIP_XAI_ZF">
<!-- again bind to SOAP? @@@ -->
<soap:operation soapAction="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
<!-- furthur specify that the messages in the wsdl:operation
"ZZ_BIP_XAI_ZF" use SOAP? @@@ -->
<wsdl:input>
<soap:body use="literal"
namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"
namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:output>
<wsdl:fault name="fault">
<soap:fault name="fault" use="literal"
namespace="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<!-- wsdl:service names a new service "ZZ_BIP_XAI_ZFService" -->
<wsdl:service name="ZZ_BIP_XAI_ZFService">
<wsdl:documentation>ZZ_BIP_XAI_ZF version 3: Test XAI WS for BIP</wsdl:documentation>
<!-- connect it to the binding "ZZ_BIP_XAI_ZFSoapBinding" above -->
<wsdl:port name="ZZ_BIP_XAI_ZFPort"
binding="xai:ZZ_BIP_XAI_ZFSoapBinding">
<!-- give the binding an network address -->
<soap:address location="http://sf-fwwin-03.us.oracle.com:4400/spl/XAIApp/xaiserver/ZZ_BIP_XAI_ZF"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Edited by: bperezg on Aug 12, 2009 2:49 PM
Edited by: bperezg on Aug 12, 2009 2:56 PM -
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
dbws-callout-utility 10.1.3.1
JPublisher 10g Release 10.2
Generating command:
./jpub -u reklaam/pswd -proxywsdl=http://auster.mbp.ee:8082/Service.asmx?WSDL -endpoint=http://auster.mbp.ee:8082/Service.asmx -dir=tmp -plsqlpackage=adserver -omit_schema_names -proxyopts=jaxrpc,noload
loading:
loadjava -u reklaam/pswd -r -v -f -genmissing plsql_proxy.jar
executing script files and granting
dbms_java.grant_permission('REKLAAM', 'SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar', '' );
dbms_java.grant_permission('REKLAAM', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
dbms_java.grant_permission('REKLAAM', 'SYS:java.net.SocketPermission', '*', 'connect,resolve' );
dbms_java.grant_permission('REKLAAM', 'SYS:java.util.PropertyPermission', '*', 'read,write' );
dbms_java.grant_permission( 'REKLAAM', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
Now when I execute ws procedure I got exception:
ORA-29532: Java call terminated by uncaught Java exception: java.rmi.RemoteException: java.rmi.RemoteException:Error parsing envelope: most likely due to an invalid SOAP message.; nested exception is:
javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.
ORA-06512: at "REKLAAM.ADSERVER", line 29
ORA-06512: at line 13
udump trace file:
java.rmi.RemoteException: java.rmi.RemoteException:Error parsing envelope: most likely due to an invalid SOAP message.; nested exception is:
javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.
at genproxy.runtime.ServiceSoap12_Stub.createClientFromObject(genproxy.runtime.ServiceSoap12_Stub:270)
at genproxy.ServiceSoap12Client.createClientFromObject(ServiceSoap12Client.java:40)
at genproxy.ServiceSoap12ClientJPub.createClientFromObject(ServiceSoap12ClientJPub.java:144)
What's wrong?I have exactly the same issue, do anyone have some good suggestions ?
-
I have an ODSI Physical Service that is based on a Java Function. The Java Function builds a SQL statement and uses JDBC to query for a ResultSet. One of the columns that is queried is a Clob. Sometimes, the data in this column causes an XMLBeans validation exception in ODSI: {err}XQ0027: Validation failed: error: decimal: Invalid decimal value: unexpected char '114'
The issue is not consistently replicable with particular database record, the database records that present this issue at one point in time will be resolved after a restart of ODSI and replaced by another list of records that present the same error.
As can be seen from the stack trace, it looks like the issue is happening after the database query has returned and while the process is assembling the SOAP response.
Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:457)
at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
at weblogic.xml.query.parsers.BufferedParser.fetchNext(BufferedParser.java:79)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.navigation.ChildPath.fetchNext(ChildPath.java:308)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:133)
at weblogic.xml.query.schema.BestEffortValidatingIterator$OpenedIterator.hasNext(BestEffortValidatingIterator.java:224)
at weblogic.xml.query.schema.ValidatingIterator.fetchNext(ValidatingIterator.java:82)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
at weblogic.xml.query.schema.BestEffortValidatingIterator.fetchNext(BestEffortValidatingIterator.java:85)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
at weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:137)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at com.bea.dsp.wrappers.jf.JavaFunctionIterator.fetchNext(JavaFunctionIterator.java:273)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:247)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:88)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.hasNext(LegacyGenericIterator.java:130)
at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:251)
at com.bea.ld.server.ResultPusher$DSP25CompatibilityPusher.next(ResultPusher.java:236)
at com.bea.ld.server.ResultPusher.pushResults(ResultPusher.java:112)
at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:770)
at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:624)
at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:478)
at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:323)
at com.bea.ld.ServerWrapperBean.invoke(ServerWrapperBean.java:153)
at com.bea.ld.ServerWrapperBean.invokeOperation(ServerWrapperBean.java:80)
at com.bea.ld.ServerWrapper_s9smk0_ELOImpl.invokeOperation(ServerWrapper_s9smk0_ELOImpl.java:63)
at com.bea.dsp.ws.RoutingHandler$PriviledgedRunner.run(RoutingHandler.java:96)
at com.bea.dsp.ws.RoutingHandler.handleResponse(RoutingHandler.java:217)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:176)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<Apr 29, 2011 12:47:01 PM EDT> <Notice> <ODSI> <BEA-000000> <LabOrderDataServices> <Error occurred performing ODSI operation: {ld:LabOrder/logical/LabOrderReport}getLabOrderDetails:1
weblogic.xml.query.exceptions.XQueryDynamicException: ld:LabOrder/logical/LabOrderReport.ds, line 34, column 6: {err}FODC0002 [{bea-err}FODC0002a]: Error parsing input XML: Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:95)
at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:147)
at weblogic.xml.query.parsers.Parser.reportParseError(Parser.java:157)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:225)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
Truncated. see log file for complete stacktrace
javax.xml.stream.XMLStreamException: Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
Truncated. see log file for complete stacktrace
Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
Truncated. see log file for complete stacktrace
>
Can somebody shed some light on this issue?
Thanks
Edited by: user738507 on May 6, 2011 7:21 AMHere is the java function:
* Iterate through the search results and build out the XmlBean response
* @param helper A helper class used to simplify common JDBC commands
* @param doc The XmlBean document to populate
* @param isCollectionsIncluded True if Collection info should be included in results, False otherwise
* @param isFullDetailsIncluded True if Result data should be included in results, False otherwise
* @throws Exception
private static void addOrders(XmlBeansJDBCHelper helper, LabOrderReportDocument doc,
boolean isCollectionsIncluded, boolean isFullDetailsIncluded) throws Exception {
int rows = 0;
ResultSet rs = helper.getResultSet();
LabOrders labOrders = doc.getLabOrderReport().addNewLabOrders();
LabOrder record = null;
HashMap<Long, Collection> parentCollectionMap = null;
// initialize variable used to track when child elements of the XML should be created
long previousRowOrderId = 0;
long previousRowParentOrderCollectionId = 0;
long previousRowOrderCollectionId = 0;
long previousRowResultId = 0;
boolean isRootCollectionNode = false;
LabOrder.Collections lastParentOuterCollectionsAdded = null;
com.idexx.services.lde.laborder.Collection.Collections lastParentInnerCollectionsAdded = null;
com.idexx.services.lde.laborder.Collection lastCollectionAdded = null;
Result lastResultAdded = null;
// Loop through the results and build XmlBean nodes for each row
// Since the SQL is joining Orders to Collections (one-to-many) to Results (one-to-many),
// and returning a flat structure, there will be duplicate Order data on each row when
// multiple collections exist on the Order, and duplicate Collection data when multiple
// Results exist. We can use this fact to determine when to create a new Collection, or
// Result node.
while (helper.getResultSet().next())
rows++;
long currentRowParentOrderCollectionId = 0;
long currentRowOrderCollectionId = 0;
long currentRowResultId = 0;
long currentRowResultRemarkId = 0;
//int rowno = helper.getResultSet().getRow();
// Get the Order ID
logDebug("Getting the OrderId.....");
BigInteger dbOrderId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_ID);
logDebug("DONE getting the OrderId.");
long currentRowOrderId = dbOrderId.longValue();
// Determine the Order ID, Order Collection ID, and Result ID currently being processed.
// These will be used to determine whether to start a new LabOrder Bean, Collections Bean, or Results Bean
if (isCollectionsIncluded || isFullDetailsIncluded) {
// Get the ParentOrderCollectionID
logDebug("Getting the Parent Collection Order ID.....");
BigInteger dbParentOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.PARENT_ORDER_COLLECTION_ID);
if ( dbParentOrderCollectionId != null )
currentRowParentOrderCollectionId = dbParentOrderCollectionId.longValue();
else
currentRowParentOrderCollectionId = 0;
// Get the OrderCollectionID
logDebug("Getting the Order Collection ID.....");
BigInteger dbOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_COLLECTION_ID);
if ( dbOrderCollectionId != null )
currentRowOrderCollectionId = dbOrderCollectionId.longValue();
else
currentRowOrderCollectionId = 0;
if ( isFullDetailsIncluded ) {
// Get the ResultID
logDebug("Getting the Result Id.....");
BigInteger dbResultId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_ID);
if ( dbResultId != null )
currentRowResultId = dbResultId.longValue();
else
currentRowResultId = 0;
// Get the ResultRemarkID
BigInteger dbResultRemarkId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_REMARK_ID);
if ( dbResultRemarkId != null )
currentRowResultRemarkId = dbResultRemarkId.longValue();
else
currentRowResultRemarkId = 0;
isRootCollectionNode = (currentRowParentOrderCollectionId == 0);
logDebug("currentRowOrderId: " + currentRowOrderId);
logDebug("previousRowOrderId: " + previousRowOrderId);
logDebug("currentRowResultId: " + currentRowResultId);
logDebug("previousRowResultId: " + previousRowResultId);
logDebug("currentRowResultRemarkId: " + currentRowResultRemarkId);
logDebug("previousRowResultRemarkId: N/A");
logDebug("currentRowParentOrderCollectionId: " + currentRowParentOrderCollectionId);
logDebug("previousRowParentOrderCollectionId: " + previousRowParentOrderCollectionId);
logDebug("currentRowOrderCollectionId: " + currentRowOrderCollectionId);
logDebug("previousRowOrderCollectionId: " + previousRowOrderCollectionId);
if ( currentRowOrderId != previousRowOrderId ) {
parentCollectionMap = new HashMap<Long, Collection>();
lastParentOuterCollectionsAdded = null;
lastParentInnerCollectionsAdded = null;
lastCollectionAdded = null;
lastResultAdded = null;
// This is a new Order, generate a new Lab Order bean
record = addOrder(labOrders, helper, dbOrderId, isFullDetailsIncluded);
logDebug("Order Added!");
// If there is Parent Collection data and it should be included, build a Collections element,
// and populate the first one
if ( !isRootCollectionNode && (isCollectionsIncluded || isFullDetailsIncluded) ) {
lastParentOuterCollectionsAdded = record.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, true);
logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Collection data and it should be included, build a Collections element,
// and populate the first one
if ( currentRowOrderCollectionId > 0 && (isCollectionsIncluded || isFullDetailsIncluded) ) {
if ( isRootCollectionNode ) {
lastParentOuterCollectionsAdded = record.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
logDebug("parent collection added to map: " + currentRowOrderCollectionId);
else {
lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
logDebug("Adding result....");
lastResultAdded = addResult(record, helper, lastCollectionAdded);
logDebug("Result Added!");
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
logDebug("DONE getting first Collection and Result.");
else if ( currentRowParentOrderCollectionId != previousRowParentOrderCollectionId
&& (isCollectionsIncluded || isFullDetailsIncluded) ) {
// This is a new, top level, Order Collection to be included
lastParentOuterCollectionsAdded = null;
lastParentInnerCollectionsAdded = null;
lastCollectionAdded = null;
lastResultAdded = null;
logDebug("Getting next Order Collection...");
// If there is Parent Collection data and it should be included, build a Collections element,
// and populate the first one
if ( !isRootCollectionNode ) {
lastCollectionAdded = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
logDebug("A Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Collection data and it should be included, build a Collections element,
// and populate the first one
if ( currentRowOrderCollectionId > 0 ) {
if ( isRootCollectionNode ) {
//LabOrder.Collections collections = record.addNewCollections();
lastParentOuterCollectionsAdded = record.getCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
else {
lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
logDebug("B Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( currentRowOrderCollectionId != previousRowOrderCollectionId
&& (isCollectionsIncluded || isFullDetailsIncluded) ) {
// This is a new Order Collection to be included inside of a parent collection
logDebug("Getting next CHILD Order Collection...");
logDebug("isRootCollectionNode: " + isRootCollectionNode);
logDebug("Order ID: " + helper.getBigInteger(DataConstants.ORDER_ID));
logDebug("Order Collection ID: " + helper.getBigInteger(DataConstants.ORDER_COLLECTION_ID));
logDebug("Collection ID: " + helper.getBigInteger(DataConstants.COLLECTION_ID));
if ( isRootCollectionNode ) {
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
else {
com.idexx.services.lde.laborder.Collection parentCollection = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
if(parentCollection == null) {
log(LOG_LEVEL.WARN, "Parent Collection with id: " + currentRowParentOrderCollectionId + " is null for collection id: " + currentRowOrderCollectionId + " but isRootCollectionNode is " + isRootCollectionNode);
} else {
lastParentInnerCollectionsAdded = parentCollection.getCollections();
logDebug("Is lastParentInnerCollectionsAdded null? " + (lastParentInnerCollectionsAdded == null));
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( currentRowResultId != previousRowResultId
&& isFullDetailsIncluded ) {
// There is a new Result to be included
logDebug("Getting next Result...");
// This is a new result to be included
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( isFullDetailsIncluded ) {
// There is a new Result Remark to include
logDebug("Getting next Result Remark...");
// This is a new result remark to be included
addResultRemark(record, helper, lastResultAdded);
logDebug("Done building response.");
previousRowResultId = currentRowResultId;
previousRowParentOrderCollectionId = currentRowParentOrderCollectionId;
previousRowOrderCollectionId = currentRowOrderCollectionId;
previousRowOrderId = currentRowOrderId;
logDebug("Found " + rows + " rows of data.");
} -
U410 SSD Error- Found uncorrectable data error LBA
I have lenovo ideapad U410. Few weeks back it felt down from table. Since then it was running slow. I formatted my laptop twice. But after formatting whenever I tried to install other software it was slowing down again.
I have checked with lenovo service center. They run some error checking software and they got this error
Error Code : ID08E-VMI
Error : Found uncorrectable data error . LBA
Error: Failure accessing sector LBA
For this error they have suggested me replace SSD of laptop which costs very high.
Kindly suggest any other solution.
Regards,
Mangesh GuravI have lenovo ideapad U410. Few weeks back it felt down from table. Since then it was running slow. I formatted my laptop twice. But after formatting whenever I tried to install other software it was slowing down again.
I have checked with lenovo service center. They run some error checking software and they got this error
Error Code : ID08E-VMI
Error : Found uncorrectable data error . LBA
Error: Failure accessing sector LBA
For this error they have suggested me replace SSD of laptop which costs very high.
Kindly suggest any other solution.
Regards,
Mangesh Gurav -
Error: Account 900000 in company code 1302 cannot be directly posted to
Hi firends,
When I tried to release to accounting in VF02 tr.code, It gives me error message about "Account 900000 in company code 1302 cannot be directly posted to ". In G/L account settings, post automatically only is not checked in create /bank/interest tab. In type/description tab, account group is choosen by recon.account ready for input .
take your opinions...Is it recon account , if yes then,
It is clear what the system says: You can not make manual Journal Entries to a Reconciliation Account.
If you need to post manually to this account you need to change from from Reconciliation to a normal account. I would not recommend if this is a real reconciliation account, thought.
Have u set up revenue accounts (VKOA)?
And always try to mention the error message while posting.
Check and revert back.
Regards
Ashu -
Error message: internal data error
Dreamweaver CS5 worked perfectly until this morning, when I keep getting error message: An FTP error encountered, cannot link to host. Encountered an internal data error. What's happening?
The full error message reads: “An FTP error occurred - cannot make connection to host. Dreamweaver encountered an internal data error. Please try the operation again.”
I called Network Solutions, who is the host. I opened the Site/Manage site/hiddengardensteps/edit and found the material. I then clicked the “servers” which gave me a box with FTP server and password. The Network Solutions techies told me to change the password, which I did, and the second NS person told me to wait 15 min - 4 hours for the syncing to work.
I get the same error massage now for bikenfly.org which is hosted by Earthlink. What to do?
Thanks for the quick comeback.
Liz -
Uploading pages to FTP - Get error of internal data error
I had malware on my computer and had to redo the whole computer and reinstall Dreamweaver CS5. I have not had to redo this for 4 years and in the process ..none of my pages will upload with Dreamweaver as before. All I did was update my pictures like I do every month. I got some of the text updated on the web using Filezilla, but the Dreamweaver upload will not work..I get the Dreamweaver internal data error sign.
What am I doing wrong?
My web site is www.williamshomesteadranch.com
The index page, contact us page, well done page, and infor links pages uploaded ok with Filezilla, but the none will upload with Dreamweaver. Filezilla uploaded all but the new pictures on the other pages.
Please help!
Sue> I'd like to know if there is a fix out there
We haven't identified the source of the problem yet. I have
no trouble
uploading PDFs with any version of DW, so I would be
profoundly surprised if
this were a DW problem.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mustang151" <[email protected]> wrote in
message
news:eggkcj$gpt$[email protected]..
> I've just recently encountered a similar problem with
uploading PDF's
> through
> Dreamweaver. All other file types upload just fine, but
the PDF's give an
> 'internal data error'. I'd like to know if there is a
fix out there, or
> pending, as I really would like to avoid having to use a
different FTP
> client
> to upload one file type. I have the most recent
Dreamweaver MX2004 update,
> which doesn't seem to have fixed the problem. Any
further suggestions?
> -
Error Parsing Feed XML error and Item requested not available in US Store
Here is my feed:
http://www.fccetown.com/mp3/podcastfeed/podcast.xml
It validates with no errors through the Feed Validator, however when I submit the podcast I
receive the following error:
Error parsing feed: Invalid XML : Error on line 86: The element type "link" must be terminated by the matching end-tag "</link"
I defined the link like this so I do not understand:
<link>http://www.fccetown.com</link>
I also tested the feed by Subscribing to the podcast and when I click on the link to the podcast from our web page I get the following but the proper feed is displayed:
Item Not Displayed
The Item You Requested is not available in the US Store.
I set the language tag like this so I do not understand:
<language>en-us</language>
This is the link on our webpage to the podcast:
https://itunes.apple.com/us/podcast/first-christian-church-elizabethtown/id26114 0517
When I try to search from the Podcast Store with First Christian Church - Elizabethtown
it returns the following episode:
<item>
<title>A View from the Throne</title>
<description>
</description>
<pubDate>Sun, 05 Oct 2008 09:00:19 -0400</pubDate>
<enclosure url="http://fccetown.com/mp3/20081005StuartJonesTheViewfromtheThrone.mp3" length="14333072" type="audio/mpeg" />
<guid isPermaLink="false">a-view-from-the-throne</guid>
<itunes:author>Stuart Jones</itunes:author>
<itunes:explicit>no</itunes:explicit>
<itunes:duration>29:51</itunes:duration>
</item>
If you can explain that one please let me know.
I am confused by all of these errors.
Please let me know how to proceed.
Thanks,
Don HobbsYou give two feed URLs: in neither case is there a file present on the server. You say you changed the feed: did you place the 'itunes:new-feed-url' tag in the old feed to redirect iTunes? In any case since there is no file present in either case the Store would be unable to read the feed and your podcast appears to have been removed from the Store as a consequence.
You will now need to start again from scratch: once you have a working feed you will have to submit it as an entirely new podcast. You will need to change the title slightly or you will be told it has already been submitted.
Before submitting you should check that your feed works by subscribing to it manually in iTunes, from the File menu in v11 or the Advanced menu in earlier versions. -
Parsing a date error.help with small program
I would like to read from a file which the user can choose on start of program. I want to read line for line, checking if the format of each is ok. if it is , I add it to ArrayList of good books, if not I add it to ArrayList of error books. The date isnt parsing correctly.
import java.io.*;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
public class Book {
String isbn;
int copyNumber;
String title;
String author;
int statistics;
Date borrowDate = new Date();
Date returnDate = new Date();
int libraryCardNumber;
DateFormat formatter = new SimpleDateFormat("yy/mm/dd");
public Book(String newIsbn, int newCopyNumber, String newTitle, String newAuthor,
int newStatistics, Date newBorrowDate, Date newReturnDate, int newLibraryCardNumber)
isbn = newIsbn;
copyNumber = newCopyNumber;
title = newTitle;
author = newAuthor;
statistics = newStatistics;
borrowDate = newBorrowDate;
returnDate = newReturnDate;
libraryCardNumber = newLibraryCardNumber;
public Book(){
public Book(String newRow) throws ParseException
String[] token = newRow.split("#");
isbn = token[0];
copyNumber = Integer.parseInt(token[1]);
title = token[2];
author = token[3];
statistics = Integer.parseInt(token[4]);
borrowDate = (Date)formatter.parse(token[5]);
returnDate = (Date)formatter.parse(token[6]);
libraryCardNumber = Integer.parseInt(token[7]);
public String getIsbn()
return isbn;
public void setIsbn(String isbn)
this.isbn = isbn;
public int getCopyNumber()
return copyNumber;
public void setCopyNumber(int copyNumber)
this.copyNumber = copyNumber;
public String getTitle()
return title;
private void setTitle(String title)
this.title = title;
public String getAuthor()
return author;
private void setAuthor(String author)
this.author = author;
public int getStatistics()
return statistics;
public void setStatistics(int statistics)
this.statistics = statistics;
public Date setBorrowDate()
return borrowDate;
public void getBorrowDate(Date borrowDate)
this.borrowDate = borrowDate;
public Date getReturnDate()
return returnDate;
public void setReturnDate (Date returnDate)
this.returnDate = returnDate;
public int getLibraryCardNumber()
return libraryCardNumber;
public void setLibraryNumber(int libraryCardNumber)
this.libraryCardNumber = libraryCardNumber;
import java.io.*;
import java.text.ParseException;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JFileChooser;
public class WriteFromBookFile {
private static Pattern pattern;
public static void main(String[] args) throws FileNotFoundException, ParseException, IOException {
JFileChooser fileChooser = new JFileChooser();
if(fileChooser.showOpenDialog(null)
== JFileChooser.APPROVE_OPTION){
ArrayList<Book> newBooks = new ArrayList<Book>();
ArrayList<Book> errorBooks = new ArrayList<Book>();
java.io.File file = fileChooser.getSelectedFile();
// try{ BufferedReader reader = new BufferedReader(new FileReader("books.txt"));
Scanner input = new Scanner(file);
String line = input.nextLine();
while (line != null) {
Book newBook = new Book(line);
String[] newToken = line.split("#");
pattern = Pattern.compile("ISBN\\x20(?=.{13}$)\\d{1,5}([- ])\\d{1,7}\\1\\d{1,6}\\1(\\d|X)$");
Matcher matchIsbn = pattern.matcher(newToken[0]);
pattern = Pattern.compile("[\\d]+");
Matcher matchCopyNumber = pattern.matcher(newToken[1]);
pattern = Pattern.compile("[\\D&&\\w]+");
Matcher matchTitle = pattern.matcher(newToken[2]);
pattern = Pattern.compile("[\\D&&\\w]+");
Matcher matchAuthor = pattern.matcher(newToken[3]);
pattern = Pattern.compile("[\\d]+");
Matcher matchStatistics = pattern.matcher(newToken[4]);
pattern = Pattern.compile("YY/MM/DD");
Matcher matchBorrowDate = pattern.matcher(newToken[5]);
pattern = Pattern.compile("YY/MM/DD");
Matcher matchReturnDate = pattern.matcher(newToken[6]);
pattern = Pattern.compile("[\\d]+");
Matcher matchLibraryCardNumber = pattern.matcher(newToken[7]);
/* if(matchIsbn.matches(newBook.getIsbn()) && matchCopyNumber.matches(newBook.getCopyNumber())
&& matchTitle.matches(newBook.getTitle()) && matchAuthor.matches(newBook.getAuthor())
&& matchStatistics.matches(newBook.getStatistics()) && matchBorrowDate.matches(newBook.getBorrowDate())
&& matchReturnDate.matches(newBook.getReturnDate()) && matchLibraryCardNumber.matches(newBook.getLibraryCardNumber()));*/
if (matchIsbn.matches() && matchCopyNumber.matches() && matchTitle.matches() && matchAuthor.matches()
&& matchStatistics.matches() && matchBorrowDate.matches() && matchReturnDate.matches() && matchLibraryCardNumber.matches())
newBooks.add(newBook);
else
errorBooks.add(newBook);
line = input.nextLine();
input.close();
java.io.File newBookFile = new java.io.File("newBook.txt");
if(newBookFile.exists()){
System.out.println("File exists.");
System.exit(0);
java.io.PrintWriter output = new java.io.PrintWriter(newBookFile);
for(int i = 0; i < newBooks.size(); i++)
output.print(newBooks.get(i));
output.close();
}My program seems to work, the thing I cant work out is that because I try to match 8 fields using split
String[] newToken = line.split("#");
pattern = Pattern.compile("ISBN\\x20(?=.{13}$)\\d{1,5}([- ])\\d{1,7}\\1\\d{1,6}\\1(\\d|X)$");
Matcher matchIsbn = pattern.matcher(newToken[0]);
pattern = Pattern.compile("[\\d]+");
Matcher matchCopyNumber = pattern.matcher(newToken[1]);
pattern = Pattern.compile("[\\D&&\\w]+");
Matcher matchTitle = pattern.matcher(newToken[2]);
pattern = Pattern.compile("[\\D&&\\w]+");
Matcher matchAuthor = pattern.matcher(newToken[3]);
pattern = Pattern.compile("[\\d]+");
Matcher matchStatistics = pattern.matcher(newToken[4]);
pattern = Pattern.compile("YYMMDD");
Matcher matchBorrowDate = pattern.matcher(newToken[5]);
pattern = Pattern.compile("YYMMDD");
Matcher matchReturnDate = pattern.matcher(newToken[6]);
pattern = Pattern.compile("[\\d]+");
Matcher matchLibraryCardNumber = pattern.matcher(newToken[7]);because some lines dont have 8 tokens, there is an array out of bounds error.
How can it just move to the next token if there isnt a token to match or to the next line if there aren't enough tokens? -
FTP/File Adapter - Error parsing empty date field
I have an FTP Adapter and I defined a native schema using the JDeveloper FTP Adapter wizard (CSV file). One of the fields is a date specified in this format: "M/d/yyy". I have defined the coresponding element in the schema as follows:
*<xsd:element name="DOB" type="xsd:date" nxsd:dateFormat="M/d/yyyy" nxsd:style = "terminated" nxsd:terminatedBy="," nxsd:quotedBy=""">*
This seems to work correctly and read the date into an xml date variable. However if the date is empty, it just can't figure out what to do and throws an exception saying that it can't parse an empty field.
Is there any attribute that I can add to indicate that the field should be ignored if empty or non-parseable?
I know that I can get the data in as string and do the conversion myself later (which is not trivial either) but why complicate things. I can't believe that the creators of the FTP adapter did not accomodate for empty fields.
Thanks, I appreciate any suggestions.
BTW, I tried adding the "nillable=true" attribute but it didn't work either.
Edited by: user10770892 on Jun 21, 2011 10:38 AMYatan,
If I change the nillable true and minoccurs properties, BPEL is not working.
Is there any other way to handle blank lines ?
Thanks -
URGENT: XML-SQL: Error parsing different date formats in the same XML file.
Hi Everyone,
I have a big problem while using the XML-SQL utility. I have a XML file with different date formats. I get exception like the one below.
"oracle.xml.sql.OracleXMLSQLException: 'java.text.ParseException: Unparseable date:"
And the XML file is :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Info Key="ID">
<Insert>
<ID>1</ID>
<BookingDate>10.12.2001</BookingDate>
<OpeningTime>19:16</OpeningTime>
</Insert>
</Info>
I have tried using different setDateFormat which is contrary.
sav.setDateFormat("d.M.y");
sav.setDateFormat("H:m:s");
Can someone help me on the same.
Thanks in advance.
Subramanian.You might have to describe the columns as varchar then modify the table to the right format.
-
Error While fetching data error on line 2 at column 245:
This page contains the following errors:
error on line 2 at column 245: Opening and ending tag mismatch: img line 0 and span
Below is a rendering of the page up to the first error.
I'm not using date column in report.Hi,
at least, isn't this should be in double quotes: 'Stock Order'
i.e. 'Stock Order' change to "Stock Order"
seems you either using some customized RMS or you have couple errors in table names and columns names as well.
Eldar.A
Maybe you are looking for
-
I am going out of my mind here trying to figure this out. First my needs. I have two users on a 10.4 machine that need to be able to create, save and edit Photoshop files (their own and each others) in the same folder. Until now, the only way I could
-
How do I get started using Essbase?
Hi all, I'm a newbie to Essbase, and Business Intelligence. I went to a training/demo in March but have just done my first install to try it out for myself. (I'm a Java developer by training.) So, I've installed Hyperion EPM 11.1.1.1 on my Windows XP
-
Macbook Pro 3,1 upgrade RAM to 6GB any reference brand memory?
Hi, anyone had upgrade their Macbook Pro (3,1 - 2.4GHz) RAM's become 6GB (1x4GB & 1x2GB) ? Any complain so far about the performance? Any reference what branded is recommended? OWC? Kingston? I plan to upgrade to 4GB or 6GB(if there is no complain ab
-
K9A2 platnium sata connections
ok well i have a k9a2 platnium. i keep thinking that my cables are all wrong for the sata connections. ok well i have a : 2x 80gb sata drives 3.0gb/s HDD 1x 640gb sata drive 3.0 gb/s HDD 1x Samsung 22x DVD burner SATA where do i connect the 2x 80gb f
-
Changing JCheckBox default color when disabled
I am using JCheckBoxes to serve as a checklist providing feedback to the user on how far through a sequence of events the program has progressed. I do not want the user to be abel to check the boxes himself. I currently am using JCheckBox.setEnabled(