XML message as input for webservice gives deserialization error

Hi,
jDeveloper 10.1.3
BPEL PM 10.1.2.0.2
Carrental example
Problem:
For the Business Rule Engine I did the Carrental XML example. Based on the java application that connects to the BR engine, I created a webservice in jDeveloper and deployed it to my localhost AS 10.1.3. The webservice has a testRule method that accepts a String buf as input. For now, the only thing the webservice does is return a 'do nothing' string. This works fine:
When deployed the testpage generates the following SOAP message:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://carrental/types/">
<ns1:testRuleElement>
<ns1:buf>my xml message</ns1:buf>
</ns1:testRuleElement>
</soap:Body>
</soap:Envelope>
The SOAP response is:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://carrental/types/"><env:Body><ns0:testRuleResponseElement><ns0:result>do nothing...</ns0:result></ns0:testRuleResponseElement></env:Body></env:Envelope>
In BPEL Designer I create a new asynchronous process ValidateBR, with a partnerlink for the webservice, based on the following WSDL file:
<definitions
name="Rent"
targetNamespace="http://carrental/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://carrental/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns0="http://carrental/types/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://carrental/types/"
elementFormDefault="qualified" xmlns:tns="http://carrental/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<complexType name="testRule">
<sequence>
<element name="buf" type="string" nillable="true"/>
</sequence>
</complexType>
<complexType name="testRuleResponse">
<sequence>
<element name="result" type="string" nillable="true"/>
</sequence>
</complexType>
<complexType name="version">
<sequence/>
</complexType>
<complexType name="versionResponse">
<sequence>
<element name="result" type="string" nillable="true"/>
</sequence>
</complexType>
<element name="testRuleElement" type="tns:testRule"/>
<element name="testRuleResponseElement" type="tns:testRuleResponse"/>
<element name="versionElement" type="tns:version"/>
<element name="versionResponseElement" type="tns:versionResponse"/>
</schema>
</types>
<message name="Rent_testRule">
<part name="parameters" element="tns0:testRuleElement"/>
</message>
<message name="Rent_testRuleResponse">
<part name="parameters" element="tns0:testRuleResponseElement"/>
</message>
<message name="Rent_version">
<part name="parameters" element="tns0:versionElement"/>
</message>
<message name="Rent_versionResponse">
<part name="parameters" element="tns0:versionResponseElement"/>
</message>
<portType name="Rent">
<operation name="testRule">
<input message="tns:Rent_testRule"/>
<output message="tns:Rent_testRuleResponse"/>
</operation>
<operation name="version">
<input message="tns:Rent_version"/>
<output message="tns:Rent_versionResponse"/>
</operation>
</portType>
<binding name="RentSoapHttp" type="tns:Rent">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="testRule">
<soap:operation soapAction="http://carrental//testRule"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal" parts="parameters"/>
</output>
</operation>
<operation name="version">
<soap:operation soapAction="http://carrental//version"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal" parts="parameters"/>
</output>
</operation>
</binding>
<service name="Rent">
<port name="RentSoapHttpPort" binding="tns:RentSoapHttp">
<soap:address location="http://localhost:7780/Rules-rent-context-root/RentSoapHttpPort"/>
</port>
</service>
</definitions>
I defined the process variable inputVariable to be defined based on the carrental.xsd schema. I assign the inputVariable to the 'buf' parameter of the webservice as shown below in the ValidateBR.bpel
<!--
// Oracle JDeveloper BPEL Designer
// Created: Mon Mar 27 16:02:22 CEST 2006
// Author: haanrw
// Purpose: Asynchronous BPEL Process
-->
<process name="ValidateBR" targetNamespace="http://xmlns.oracle.com/ValidateBR" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://rules.oracle.com/carrental" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns3="http://carrental/types/" xmlns:ns2="http://carrental/" xmlns:client="http://xmlns.oracle.com/ValidateBR" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
<partnerLinks><!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:ValidateBR" myRole="ValidateBRProvider" partnerRole="ValidateBRRequester"/>
<partnerLink name="CheckBR" partnerRole="Rent_Role" partnerLinkType="ns2:Rent_PL"/>
</partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
<variables><!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable" messageType="client:ValidateBRRequestMessage"/><!-- Reference to the message that will be sent back to the
requester during callback
-->
<variable name="outputVariable" messageType="client:ValidateBRResponseMessage"/>
<variable name="InvokeValidateBR_testRule_InputVariable" messageType="ns2:Rent_testRule"/>
<variable name="InvokeValidateBR_testRule_OutputVariable" messageType="ns2:Rent_testRuleResponse"/>
</variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
<sequence name="main"><!-- Receive input from requestor.
Note: This maps to operation defined in ValidateBR.wsdl
-->
<receive name="receiveInput" partnerLink="client" portType="client:ValidateBR" operation="initiate" variable="inputVariable" createInstance="yes"/><!-- Asynchronous callback to the requester.
Note: the callback location and correlation id is transparently handled
using WS-addressing.
-->
<assign name="Assign_1">
<copy>
<from variable="inputVariable" part="payload" query="/ns1:repository"/>
<to variable="InvokeValidateBR_testRule_InputVariable" part="parameters" query="/ns3:testRuleElement/ns3:buf"/>
</copy>
</assign>
<invoke name="InvokeValidateBR" partnerLink="CheckBR" portType="ns2:Rent" operation="testRule" inputVariable="InvokeValidateBR_testRule_InputVariable" outputVariable="InvokeValidateBR_testRule_OutputVariable"/>
<invoke name="callbackClient" partnerLink="client" portType="client:ValidateBRCallback" operation="onResult" inputVariable="outputVariable"/>
</sequence>
</process>
When I deploy the process and initiate a testinstance from the BPEL console, the assign looks as follows:
<InvokeValidateBR_testRule_InputVariable>
<part name="parameters" >
<testRuleElement>
<buf>
<driver>
<driver-license-number>15-PS-FZ</driver-license-number>
<name>Rob de Haan</name>
<age>39</age>
<vehicle-type>Saab</vehicle-type>
<license-type>B</license-type>
<pre-convictions>0</pre-convictions>
<pre-accidents>0</pre-accidents>
<able-to-drive>true</able-to-drive>
</driver>
</buf>
</testRuleElement>
</part>
</InvokeValidateBR_testRule_InputVariable>
The InvokeValidateBR shows the following error:
<remoteFault>
<part name="code" >
<code>Client</code>
</part>
<part name="summary" >
<summary>when invoking endpointAddress 'http://localhost:7780/Rules-rent-context-root/RentSoapHttpPort', caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: {http://rules.oracle.com/carrental}driver</summary>
</part>
<part name="detail" >
<detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: {http://rules.oracle.com/carrental}driver faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: START: {http://rules.oracle.com/carrental}driver at org.collaxa.thirdparty.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.collaxa.thirdparty.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.collaxa.thirdparty.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.collaxa.thirdparty.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226) at org.collaxa.thirdparty.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645) at org.collaxa.thirdparty.apache.axis.Message.getSOAPEnvelope(Message.java:424) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2754) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NL-GRH-L120981 </detail>
</part>
</remoteFault>
FYI: the webservice only contains a return "do nothing"
Question:
What is the proper way to assign an XML message to the web service?
Any help would be appreciated.
Rob
Message was edited by:
[email protected]

Hi,
Reading only is not possible..
I will be still more clear in my question this time..
I have deployed my bpel. My receiveInputVariable is of type xsd:string.
So when i run the bpel in my console, i will be asked to give input as string data.
So when i go to the XMLView, it will be like this.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body xmlns:ns1="http://xmlns.oracle.com/Sabari_POC_Appln/DOM_Parser/ConvertToBLOB">
          <ns1:process>
               <ns1:input></ns1:input>
</ns1:process>
</soap:Body>
</soap:Envelope>
Now, i am going to give my input like this. --- which leads to error.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body xmlns:ns1="http://xmlns.oracle.com/Sabari_POC_Appln/DOM_Parser/ConvertToBLOB">
          <ns1:process>
               <ns1:input>
*<?xml version="1.0" encoding="UTF-8"?>*
*<projects>*
*<project id = "BP001">*
*<name>Banking Project</name>*
*<start-date>Jan 10 1999</start-date>*
*<end-date>Jan 10 2003</end-date>*
*</project>*
*<project id = "TP001">*
*<name>Telecommunication Project</name>*
*<start-date>March 20 1999</start-date>*
*<end-date>July 30 2004</end-date>*
*</project>*
*<project id = "PP001">*
*<name>Portal Project</name>*
*<start-date>Dec 10 1998</start-date>*
*<end-date>March 10 2006</end-date>*
*</project>*
*</projects>*
</ns1:input>
</ns1:process>
</soap:Body>
</soap:Envelope>
This xml is not accepted as string input.. so kindly suggest me some other solution.
I also tried.. like.. making my receiveInputVariable of type xsd:anyType, it also dint help. same error occurred.
Thanks,
Sabarisri. N
Edited by: Sabarisri N on Jul 20, 2011 1:03 PM

Similar Messages

  • When accessing Intranet sites that use SSL Certificates issued by our internal PKI, FF for Windows give an error of "improperly formatted DER-encoded message"

    When accessing Intranet sites with that have SSL Certificates issued by our internal PKI, FF for Windows gives an error messsage - An error occurred during a connection to myshaw. security library: improperly formatted DER-encoded message. (Error code: sec_error_bad_der)
    Chrome and IE work fine. This is a new PKI using the SHA-2 signature algorithm.

    Hi Guigs2,
    From the other post you link too, I can confirm that both the Root and Subordinate CA have been commissioned with the:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CertSvc\Configuration\IssuingCA\CSP\AlternateSignatureAlgorithm = 1
    registry key set. As can be seen above, the Signature algorithm on an issued certificate is RSASSA-PSS. This is been Microsoft suggested deployment IF you do not wish to support either XP or Windows 2003 machine and lower. In fact, I believe the option has been around since Windows 2008, however, there were of course, a lot more XP machines back then.
    The obvious answer is that we would like to maintain the updated algorithm, AND see support for it added for Firefox. I think you will see a LOT more posts like this as people deploy more 2012 PKI infrastructure supporting only Windows 7 and up. Heavens, we may well be forced to Chrome or even back to IE!!! Whilst I do not what to necessary open up other potential vulnerabilities, for the sake of testing, what do you mean by disabling mozilla:pkix?

  • My creative CC for teams gives an error code (-60) download corrupted when trying to install any app from the CC on my desktop. Any help?

    My creative CC for teams gives an error code (-60) download corrupted when trying to install any app from the CC on my desktop. Any help?

    Rasco1 it sounds like your managed network needs to be configured to allow you to download successfully.  You can find more details in Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html.

  • Good night, do not know what is happening can not buy gold with my visa card for itunes gives me error, but I have money on the card, always worked but this time not accepted!!

    good night, do not know what is happening can not buy gold with my visa card for itunes gives me error, but I have money on the card, always worked but this time not accepted!!

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Handling multiple XML message types in a webservice

    My below scenario is
    I have a webservice that receives XML messages from third party. The webservice populates 3 database tables through Mediator and DBAdapter from these XML files. Data for each table comes in a single XML file. How will I design the single werbservice to receive all the three different types of messages. eg: Customer, Order, OrderItem.
    My WSDL is given below:
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions
    name="receiveData"
    targetNamespace="http://xmlns.oracle.com/sca/soapservice/receiveData"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:inp1="http://xmlns.oracle.com/pcbpel/adapter/db/top/Order"
    xmlns:tns="http://xmlns.oracle.com/sca/soapservice/ESTAProcessing/receiveData" >
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Order" schemaLocation="xsd/Order.xsd" />
    </schema>
    </wsdl:types>
    <wsdl:message name="requestMessage">
    <wsdl:part name="request" element="inp1:Order"/>
    </wsdl:message>
    <wsdl:portType name="execute_ptt">
    <wsdl:operation name="execute">
    <wsdl:input message="tns:requestMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    Any similar example will be really good. Let me know if it does make sense. Here what I am looking for is whether a single operation can handle all three types of XML schema defintions and if yes how to put that in the WSDL

    Technically you can do with XSD switch option however you should rethink towards your design of accepting three different message in single web service. specially the case you have taken customer and order.

  • Error deleting source system with error message: "incorrect input for....."

    Hi,
    I'm trying to delete the source system using tcode RSA1 => Source systems => select the 'source system' and delete, but I got an error message as follows:
    "incorrect input for activating transported shadow IPacks"
    Fyi, I have opened up the client configuration (SCC4) prior to delete this source system but the source system still cannot be deleted and I receive the above error message.
    Please let me know what is the caused of the error and how to solve the problem.
    Thanks for your kind help.
    Regards,
    Mark

    Hi Mark,
    Which version of BW are you in?
    check this thread and also the note 709581
    Error Deleting Source system connection
    Thanks,
    Raj

  • Software update for iTunes gives an error. Please help.

    It gives an error while performing a software update to iTunes 12.0.1
    Error as seen below:
    The update “iTunes” can’t be installed.
    An unexpected error occurred.
    My current iTunes version from About iTunes is 11.4(18) 64 bit
    I saw few of them posting their install.log from console which I am putting for reference. Please help to update the version.
    Marker - Dec 17, 2014 11:43:08 AM
    Dec 17 11:45:36 Mihirs-MacBook-Pro Software Update[754]: JS: 10.7.5
    Dec 17 11:45:37 Mihirs-MacBook-Pro diskmanagementd[769]: DM ->T-[DMToolBootPreference recoveryPartitionInfoForVolume:what:dict:]: inHostDiskUDS=0x107a39c20=disk0s2=Macintosh HD inWhatStr=RecoveryInfoBaseSystemVersion
    Dec 17 11:45:38 Mihirs-MacBook-Pro diskmanagementd[769]: DM ..T-[DMToolBootPreference recoveryPartitionInfoForVolume:what:dict:]: did get booterRecoveryUDS=0x107a39ae0=disk0s3=Recovery HD
    Dec 17 11:45:39 Mihirs-MacBook-Pro diskmanagementd[769]: DM ..T-[DMToolBootPreference recoveryPartitionInfoForVolume:what:dict:]: did mount nobrowse; MP=/Volumes/Recovery HD OMS=0x7f9903006430
    Dec 17 11:45:39 Mihirs-MacBook-Pro diskmanagementd[769]: DM ..T-[DMToolBootPreference recoveryPartitionInfoForVolume:what:dict:]: getting dict from file=/Volumes/Recovery HD/com.apple.recovery.boot/SystemVersion.plist
    Dec 17 11:45:39 Mihirs-MacBook-Pro diskmanagementd[769]: DM ..T-[DMToolBootPreference recoveryPartitionInfoForVolume:what:dict:]: got dict (or NULL=will return err): oooInfoDict=0x7f9901419cb0
    Dec 17 11:45:40 Mihirs-MacBook-Pro diskmanagementd[769]: DM ..T-[DMToolBootPreference recoveryPartitionInfoForVolume:what:dict:]: did if-needed-best-effort unmount
    Dec 17 11:45:40 Mihirs-MacBook-Pro diskmanagementd[769]: DM <-T-[DMToolBootPreference recoveryPartitionInfoForVolume:what:dict:]: retErr=0 outInfoDict={
         ProductBuildVersion = 11D2001;
         ProductCopyright = "1983-2012 Apple Inc.";
         ProductName = "Mac OS X";
         ProductUserVisibleVersion = "10.7.3";
         ProductVersion = "10.7.3";
    Dec 17 11:45:48 Mihirs-MacBook-Pro Software Update[754]: JS: 10.7.5
    Dec 17 11:45:51: --- last message repeated 1 time ---
    Dec 17 11:45:51 Mihirs-MacBook-Pro Software Update[754]: JS: Firmware is up to date.
    Dec 17 11:45:51: --- last message repeated 1 time ---
    Dec 17 11:45:51 Mihirs-MacBook-Pro Software Update[754]: JS: model = MacBookPro8,1
    Dec 17 11:45:52 Mihirs-MacBook-Pro Software Update[754]: JS: 10.7.5
    Dec 17 11:46:01: --- last message repeated 4 times ---
    Dec 17 11:46:01 Mihirs-MacBook-Pro Software Update[764]: Acquired Lock: 501, 754, 0
    Dec 17 11:46:01 Mihirs-MacBook-Pro Software Update[764]: Releasing Lock: 501, 754, 0
    Dec 17 11:46:27 Mihirs-MacBook-Pro Software Update[754]: Calculated need 1870.195 MB; 317806.137 MB free; 317806.137 MB available with MTM reclaim
    Dec 17 11:46:27 Mihirs-MacBook-Pro Software Update[764]: Acquired Lock: 501, 754, 0
    Dec 17 11:47:58 Mihirs-MacBook-Pro installd[760]: PackageKit: ----- Begin install -----
    Dec 17 11:47:58 Mihirs-MacBook-Pro installd[760]: PackageKit: request=PKInstallRequest <5 packages, destination=/>
    Dec 17 11:47:58 Mihirs-MacBook-Pro installd[760]: PackageKit: packages=(
         "PKLeopardPackage <file://localhost/Library/Updates/zzzz031-08056/iTunesX.pkg>",
         "PKLeopardPackage <file://localhost/Library/Updates/zzzz031-08056/iTunesAccess.pkg>",
         "PKLeopardPackage <file://localhost/Library/Updates/zzzz031-08056/CoreFP.pkg>",
         "PKLeopardPackage <file://localhost/Library/Updates/zzzz031-08056/CoreADI.pkg>",
         "PKLeopardPackage <file://localhost/Library/Updates/zzzz031-08056/MobileDevice.pkg>"
    Dec 17 11:48:00 Mihirs-MacBook-Pro installd[760]: PackageKit: Will do receipt-based obsoleting for package identifier com.apple.pkg.iTunesX (prefix path=/)
    Dec 17 11:48:01 Mihirs-MacBook-Pro installd[760]: PackageKit: Will do receipt-based obsoleting for package identifier com.apple.pkg.iTunesAccess (prefix path=/)
    Dec 17 11:48:01 Mihirs-MacBook-Pro installd[760]: PackageKit: Will do receipt-based obsoleting for package identifier com.apple.pkg.CoreFP (prefix path=/)
    Dec 17 11:48:01 Mihirs-MacBook-Pro installd[760]: PackageKit: Will do receipt-based obsoleting for package identifier com.apple.pkg.CoreADI (prefix path=/)
    Dec 17 11:48:01 Mihirs-MacBook-Pro installd[760]: PackageKit: Will do receipt-based obsoleting for package identifier com.apple.pkg.MobileDevice (prefix path=/)
    Dec 17 11:48:05 Mihirs-MacBook-Pro installd[760]: PackageKit: Extracting file://localhost/Library/Updates/zzzz031-08056/iTunesX.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
    Dec 17 11:48:25 Mihirs-MacBook-Pro installd[760]: PackageKit: Extracting file://localhost/Library/Updates/zzzz031-08056/iTunesAccess.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
    Dec 17 11:48:25 Mihirs-MacBook-Pro installd[760]: PackageKit: Extracting file://localhost/Library/Updates/zzzz031-08056/CoreFP.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
    Dec 17 11:48:28 Mihirs-MacBook-Pro installd[760]: PackageKit: Extracting file://localhost/Library/Updates/zzzz031-08056/CoreADI.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
    Dec 17 11:48:29 Mihirs-MacBook-Pro installd[760]: PackageKit: Extracting file://localhost/Library/Updates/zzzz031-08056/MobileDevice.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
    Dec 17 11:48:30 Mihirs-MacBook-Pro installd[760]: PackageKit: update_dyld_shared_cache -overlay /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root
    Dec 17 11:49:16 Mihirs-MacBook-Pro installd[760]: PackageKit: xpchelper --rebuild-cache --overlay /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root
    Dec 17 11:49:26 Mihirs-MacBook-Pro installd[760]: PackageKit: Executing script "preinstall" in /private/tmp/PKInstallSandbox.3wcfFc/Scripts/com.apple.pkg.iTunesX.ClCbhl
    Dec 17 11:49:37 Mihirs-MacBook-Pro installd[760]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “iTunesX.pkg”." UserInfo=0x7f9a026b5130 {NSFilePath=preinstall, NSURL=file://localhost/Library/Updates/zzzz031-08056/iTunesX.pkg, PKInstallPackageIdentifier=com.apple.pkg.iTunesX, NSLocalizedDescription=An error occurred while running scripts from the package “iTunesX.pkg”.} {
         NSFilePath = preinstall;
         NSLocalizedDescription = "An error occurred while running scripts from the package \U201ciTunesX.pkg\U201d.";
         NSURL = "file://localhost/Library/Updates/zzzz031-08056/iTunesX.pkg";
         PKInstallPackageIdentifier = "com.apple.pkg.iTunesX";
    Dec 17 11:49:38 Mihirs-MacBook-Pro Software Update[764]: Releasing Lock: 501, 754, 0
    Dec 17 11:49:38 Mihirs-MacBook-Pro Software Update[754]: Error: An error occurred while running scripts from the package “iTunesX.pkg”. (PKInstallErrorDomain code 112)
    I also tried suggestions provided in other forum: Troubleshooting iTunes installation on Mac OS X - Apple Support
    I downloaded dmg file from thelink provided and followed the steps. It still gives an error.
    Error as below:
    The installation failed.
    The install encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    Please help.
    Please help to get iTunes install.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Difference in Fault message types & exceptions for Webservice in ABAP

    Hello all,
    I am relatively new to the web service framework in SAP. My problem scenario is as follows.
    I have a WSDL file of a webservice from 3rd party non-SAP s/w  and I want to replicate the same webservice into SAP by creating FM in SE37 with same imp/exp parameters and functionality.
    So I first created a consumer proxy using the external WSDL file of non-SAP webservice. This generated imp/exp DDIC structures in SAP. Now I created a RFC FM in SE37 with similar Imp/exp parameters and relesed this FM as a webservice.  I then created another consumer proxy using WSDL of this newly created webservice in SAP.
    In the old consumer proxy I see a structure as SOAPFault as a Fault message type which has 3 fields ERRORCODE, TEXT, DETAILS but in the newly created consumer proxy I don't see Fault message types but i see exceptions which i mentioned in exception tabs while creating the FM. The imp/exp parameters are identical.
    So my question is while creating a web service in SAP using a FM in SE37, what needs to be done in order to get the Fault message types getting created automatically when we create a consumer proxy for this webserivice?
    Also based on the WSDL of 3rd party system , can i replicate the same web service in SAP ?
    Appreciate your expert advice on this.
    BR
    Nilesh Puranik

    Hi Krishna,
    I've read the SAP description about Fault Message Types but I'm still struggling on how to use them correctly.
    Why do we need them if I can't do nothing with it on the BPM side? After the mapping of the FMT, I'd like to acess it so that I can send a description back to the original system...The thing is, in BPM you can't acess the FMT, you can only create a new BRANCH (on a block step) for it...
    I've tried to acess the description text on trace which comes with the message, but it seems that the trace only serves for posting info, and not for getting any...
    The Mapping Runtime Constants have some information where you can read some descriptions, but nothing related to the errors....You can read the Receiver service, sender, interface_namespace, but nothing from the ERROR tag...
    Is there a way to get the description? Or anything related to the error tag?
    Thanks in advance

  • Use XML as data input for Crystal Report for Eclipse

    Hi,
    I am completely new to crystal report and please kindly forgive me if I ask some stupid questions.
    Actually, I have searched the forum for the topic and found some related threads, but I still want to
    have some responses from crystal report experts on this issue.
    Our developer tool is IBM RAD 7.0 and it has crystal reports tools installed in it. I want to use
    crystal report to solve one of our business solutions. I have the following questions about the
    feasbility of this solution:
    (1). I need to specify data at runtime during report generation. I think using fixed data source
         (for example, SQL query or Stored Procedure) may not fit our needs. I think if crystal report
         can accept XML as input to generate reports at runtime, then it will be perfect. Can CR
         use XML as data source as input?
    (2). Actually, one of our business requirements is to generate a letter. Can CR do a report
          layout such that a letter format can be achieved? If yes, would you let me know the
          report layout name?
    (3). We need to export the report into PDF format, I know CR can do PDF output. But can
          CR be controlled to export this into bytes stream? Or the PDF must be saved into a
          physical file?
    (4) If I need to learn more about CR, which book will you recommend?
    Thanks in advance for your advice,
    Raymond

    Thanks for the help Ted
    Works like a charm now.
    Or atleast my very very simple XML report works.
    Now I just need to play around and see what I can do and what I cant.
    I just want to make sure I understand how this works.
    1) I start of with a XML file (or URL or other data source as explained in your BLOG)
    2) I then have to create blank report which will have its data source set to my XML file.
        This report (rpt file) will always have its data source set to the original XML location
    Can this be dynamically changed, or does a new rpt file need to be created each time
        (or atleast I will have to re-run "CreateXMLInlineSchemaReport" from your BLOG)
    3) I can now use this rpt file as I would any other rpt file but its data source will be the original XML file
       - If I update or change the XML file, the report will dynamically reflect these changes.
    4) To change the data source, I need to recreate a new rpt file as per point 2. Which will now be blank.
    5) Filtering.... if I want to filter the XML data do I use normal parameters. If I want to filter the data before
        I pull it do I need to change anything. In otherwords if I have a XML file with 1000 records, but I only want say
    5 of them, how do I only pull those 5 without first pulling the whole 1000 records. Hope that makes sense.
    As I said I am very new to this so some things still fly over my head, but I do play around abit so hopefully
    will find what I am looking for.
    Cheers
    Darren
    PS any other links to info on creating and running reports of XML data sources would be greatly appriciated

  • Bonjour for windows gives this error - You do not have sufficient access...

    I installed Bonjour for windows on a PC running XP. When I run the Bonjour app from windows I can see the printer I wish to connect to. It is shared off of my G3 server. When I try to connect I get the following error,
    "You do not have sufficient access to your computer to connect to the selected printer"
    I have done some research through Apple's info database and found,
    http://docs.info.apple.com/article.html?artnum=302408
    I followed the instructions and still I get the same error. I have rebooted the PC deleted all the printers under the printer window. But no luck. I found a similar request by another apple forum user. His issue was the same but he was using 'Parallels' emulator. But no solution was provided.
    Any suggestions?

    Well this is what I've done to date to try to resolve this issue.
    I uninstalled Bonjour for Windows from my PC. I checked Apples support pages dealing with Bonjour for Windows (BfW). As suggested I deleted all printers in my printer window, (to delete all possible print Queues). I updated my Windows to the latest patch for XP. I reinstalled BfW, with the XP Firewall turned on. It is suggested that BfW will make the necessary changes to the XP firewall to allow traffic going through port 5353. I have tried more than one printer off of my G3 and I double checked my external router port restrictions, and I turned off the firewall on my G3, shared mt printers in OS X, and even turned on windows file sharing. I even updated my G3 to 10.4.8
    I pinged my G3 from my XP machine it's there. Also I can see the G3 with it's printers when I browse the network from the XP box. Also I'm on the same local subnet 192.168.2.x
    The only thing I have not done yet is see if it is possible to ping a bonjour host (my G3) from a bonjour client (XP box). That would at least verifiy the 5353ports.
    Anyone have a bonjour utility to do that? Probably have to run in a Windows enviroment. Or can a ping packet be directed to use a particular port?

  • Gunzip of ALL Oracle .gz files for linux gives crc error

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name - http://download.oracle.com/otn/linux/oracle9i/9201 and http://download.roacle.com/otn/linux/ias/9ias/902
    - Filename - lnx_920_disk1.cpio.gz to pick one. lnx_920_disk[123].cpio.gz, lnx_iasv20_disk[1234].cpio.gz, Oracle9iAS_Rel2_Interop_Patch_Linux.cpio.gz, and 9iAS_902_Integration_LINUX.cpio.gz to be complete
    - Date/Time - multple times - last attempt evening of 7/5/02 and morning of 7/6/02
    - Browser + Version - Mozilla 0.9.2.1
    - O/S + Version - Fresh install of Red Hat 7.2
    - Error Msg - gunzip: lnx_920_disk1.cpio.gz: invalid compressed data--crc error, gunzip: lnx_920_disk1.cpio.gz: invalid compressed data--length error
    gunzip continues to fail with "crc error" even after downloading all the files multiple times. Each time the size is correct to the other downloads and the the size stated on the web site. No error was received during the download process. The problem appears to be with the file on the server. I realize that Linux is not a big market for Oracle, but some assistance in trying to fix this would be appreciated.
    Problems also exist with 9.0.2iDS_LINUX.cpio
    cpio -icd < 9.0.2iDS_Linux.cpio results in cpio: premature end of file
    The .zip, .jar, and .sh files are fine.
    Thank you,
    Jeremy

    Kyle, try testing to see what type of files they really are. eg. file <file name>. I had a similar problem, it turns out that they are cpio format not gzip. You should be able to extract the cpio archive using "cpio -idmvI /mnt/cdrom/Linux9i_Disk1.cpio.gz"
    Good Luck

  • Xml messaging using jms code please

    hello friends
    presently i want to know how to send xml messaging using jms ..please
    give me answers in simple words. please give me code

    XML messages are text, so use a TextMessage. The JMS API Spec even notes that XML was a primary reason for having a TextMessage (They foresaw that XML "likely become popular").

  • Sequenced Sending of Inbound XML Messages

    We are using ABAP proxies which communicate through XML messages. The current problem that we are facing is that from one INVRPT EDI message, it has to be transformed to two different messages and be sent to the same receiver. The main obstacle is that the first type of message should be processed first before the second type should be sent. If the second message is received by the receiving SAP system, that message will be invalidated and raise an issue at the receiver side.
    The current solution we are looking at is for the receiving SAP system to send an acknowledgment message however, as I looked through BPM, it is only capable of having one sending step (we need to send two messages from one outbound message however at different time intervals).
    Any idea on how to circumvent the problem? Your help will be greatly appreciated.
    Many Thanks and Best Regards,
    Rommel Mendoza
    SAP XI Consultant
    HP GDAS GDPC

    Hi Udo,
    Basically, a customer sends an EDI ORDERS file via AS2. When XI receives the message, it will transform the message to 2 XML messages, one is for order promotion while the second is the actual order XML. The order promotion XML should be sent first to SAP SNC (Supply Network Collaboration) for it to be processed there. Now, once the promotion is in place in SNC, that is the only time the order XML should be sent. If the order XML comes first before the promotion, the message will be invalidated and SNC will raise an error. We are using XI Adapters and the ABAP proxies are SAP predevelivered content for XI (so that we don't need to configure or recreate the XML structures in XI).

  • Ticking the 'portal vendor' in SRM not triggering the XML message in SRM?

    Dear experts,
    I have ticked the 'portal vendor' in the supplier master data in SRM.
    I have maintained the output medium as 'XML\XI'.
    The 'permit surrogate bidding' button is unticked.
    Then, I have saved the supplier master data successfully.
    Still no XML message is generated for the supplier transfer to PI  in the transaction SXMB_MONI.
    Could you please comment what things I should look for?
    Thanks and regards,
    Ranjan

    Dear Nikhil/Soumyaprakash,
    The XML message was not generated from the SRM system due to missing config details in the 'define system landscape directory' in the SRM system.
    Now, The SRM system is generating the XML message for supplier transfer. The PI system is successfully processing the messages. On the receiver side, the SUS system is also successfully processing the message.
    However, no supplier is created under the root vendor organization in SUS system. No mail is also triggered. I have also maintained the vendor and porg details in the table 'BBP_MARKETP_INFO'.
    Could you please check if anything is needed to trigger the creation of vendor record in SUS?
    Thanks in advance,
    Ranjan
    Ranjan Sutradhar

  • Workflow XML R/3 can't parse XML answer, need help for syntax

    Hello all,
    i got a serious problem with workflow XML. I's a lot of text.
    What do we do:
    In worflow for PR's, there is a web activity, that sends out informations to a domino server. Sending out and receiving the acknowledgement works. The web activity than waits, until a answer comes in.
    Now, if the domino user releases or rejects the PR, domino sends a XML message to R/3. This message is the big problem!!
    R/3 documentation is not clear in this case. The R/3 example shows this syntax
    <?xml version="1.0" ?>
    <WfMessage Version="SAP.1.0">
    <WfMessageHeader>
      <Request>
       <ResponseRequired>Yes</ResponseRequired>
      </Request>
        <Key>http://www.xyz.com/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=000000111669</Key>
        <Operation>ProcessInstanceStateChanged</Operation>
    </WfMessageHeader>
    <WfMessageBody>
      <ProcessInstanceStateChanged>
        <Key>http://www.xyz.com/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=000000111669</Key>
        <ProcessInstanceKey>http://www.xyz.com/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=000000112625</ProcessInstanceKey>
       <State>closed.completed</State>
       <ResultData>
         <ANSWER>test successful</ANSWER>
       </ResultData>
      </ProcessInstanceStateChanged>
    </WfMessageBody>
    </WfMessage>
    Link to the example:
    http://help.sap.com/saphelp_47x200/helpdata/de/54/de9e3887d6174fe10000009b38f842/frameset.htm
    In that case, the "key" tag points to the external system, but has an "localkey" parameter, that holds the R/3 instance of the workflow task. "ProcessInstanceKey" seems to be the key for the external system. Completely confusing!!
    Whenever we build our XML message in that way, we got the error 104 which means, that a process state change from [blank] to [blank] is not foreseen.
    Can anybody help further?
    Is there any document, that describes clear, how to build up such answer messages in WF XML?
    Thanks in advance for the answers!!
    Cheers
    Jens

    Hi Martin,
    thank you for your reply!
    Unfortunately, there is no way, to generate the incoming answer, because it comes from a domino server, who has implemented it through raw coding&MS XML. The only way to generate would be, to implement a workflow call from
    Domino to R/3, but i think in this case, it will consume to much time and R/3 documentation seems to be definitely wrong.
    Just have a look: abc.com is the WF-Initiator, xyz.com the consumer, localkey from abc.com is a part of xyz.com and the target in that case must be abc.com with this localkey.
    I studied the Wf-XML specification and, allthough it uses a different dialect (1.1), it seems to be, that the Key-Tag and ProcessInstanceKey-Tag are wrong in R/3 documentation. The error codes thrown in our implementation are 104 in the XML response and 200 in HTTP response, so this indicates a wrong key-value.
    We just want to implement a short test scenario, to proof our thing working, but my customer and the Domino developer are houndreds of miles away and time becomes very short from all sides. Every change on side of Domino seems to be a very complicated task and the developer wants a exact example of how to implement the interface, which i can't deliver ad hoc. Trial&error is a very bad idea in this case..
    OSS call is opened now, hope, they respond quickly, because i only can set the call to middle priority, no production - but development stop.
    Cheers
    Jens

Maybe you are looking for