Waveform invoke name

hi all
how to control invoke name 
export data to excel 
assign my file name
thanks
Attachments:
120.jpg ‏56 KB

sparkysquared 已寫:
You can't. It's going to ask for where you want to save it, and you'll have to do it manually. That invoke method is a lot like an express VI, handy for getting the quick functionality but not very customizable. For programmatically assigning a file location you'll need to use other file I/O functions.
--Ryan S.
thanks for your help

Similar Messages

  • Waveform Plot Name in Legend Reverts to default even if I change it with a Property node

    I have a waveform chart where I am trying to name the plots different titles, so that they appear in the plot legend with a meaningful name, rather than 'Plot 1', 'Plot 2', etc.
    However, no matter what I do, if I try to change plot 0's name to anything, the plot name changes for a split second, and then reverts to the name that it originally had.  I can succesfully control the names of the other plots, but not plot zero.  I have enclosed the VI with the graph control, which I cut and pasted from another VI. 
    It seems that the properties of this control (though it is not  a custom control) are set, and that these settings take precedence over the Propery Node Instructions.  Is this a bug, or am I missing something.
    Try it for yourself.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Attachments:
    Untitled 1.vi ‏14 KB

    Ignore attributes help says;
    If FALSE (default), the plot names in the plot legend automatically adapt to the plot names in the dynamic or waveform data attributes. If TRUE, the plot names do not adapt to the dynamic or waveform data attributes. Change this property to TRUE if you want to change the plot names. This property applies only to graphs and charts with dynamic or waveform data.
    Trying to help,
    Ben
    Message Edited by Ben on 11-28-2006 07:46 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    untitled.JPG ‏86 KB

  • Digital waveform channel names are incorrect

    I create a task at runtime where the user selects which physical digital input channels to use and the names for each.  I then sample these digital inputs and write the waveforms to a TDMS file.  The file has the correct data, but only the first channel has the correct name.  Attached is example code that shows the problem.  What am I doing wrong?  I do a similar setup for analog inputs and it works fine.
    Attachments:
    Digital Channel Names.vi ‏89 KB

    How are you entering the names?  Here is text straight from the LabVIEW Help
    name to assign specifies a name to assign to the virtual
    channel this VI creates. If you do not wire a value to this input, NI-DAQmx uses
    the physical channel name as the virtual channel name. If you use this input to
    provide your own names for the virtual channels, you must use the names when you
    refer to these channels in other NI-DAQmx VIs and Property Nodes, such as the
    source input of the DAQmx Trigger
    VI.
    If you create multiple virtual channels with one DAQmx Create
    Virtual Channel VI, you can specify a comma-separated list of names to assign to
    the virtual channels. If you provide fewer names than the number of virtual
    channels you create, NI-DAQmx automatically
    assigns names to the virtual channels. 
    Are you entering multiple names seperated by a comma?
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • Waveform Names to Menu Ring String Property Node

    Hi,
    I am extracting waveform data (names) to go into a menu ring as string data.
    It seems to work, apart from when you actually click on the menu there is no text (though you can successfully change it).  I am wondering if it is to do with the odd symbol in front of the name but not sure how to get rid of it.
    Hoping it is something simple but it is just knowing where to look with all the options available to you.
    Please see attached.
    Best Regards,
    James
    Solved!
    Go to Solution.
    Attachments:
    MenuRing.jpg ‏23 KB

    Hi James,
    You were 99% of the way there all you needed to do was to pull that weird character from the string, I used the “match pattern” function to allow me to isolate that character and pass the resultant string into the text ring property node. A good bit of advice if you find a character in LabVIEW that you do not recognise or if you are unsure about spacing, right click the output string and select “ ‘\’ codes display “ this will show what the code representation of the string is and you can just feed that directly into the “match  pattern” function. I have attached my code (LabVIEW 2010 if you need in previous version please just ask) for you to have a look at. I have used a producer consumer template and selected multiple input channels from a simulated PCI 6220.
    P.S. I’m not sure where that character comes from??
    Regards
    Andrew George @ NI UK
    Attachments:
    Forum James AC.vi ‏26 KB

  • Query Waveform Names

    Is there a way to query the waveform names that are loaded into an RFSG using Labview?  I didn't see it in the RFSG property node options, so I was wondering if there is a DLL that I can access.  I know that the API can do this, because I have received errors calling out specific waveform names.  Any ideas?
    Attachments:
    waveform error.jpg ‏26 KB

    Hi Joel,
    There is a pretty indepth example of how to write and generate multiple waveforms by name from ARB memory located in the LabVIEW Example Finder (Hardware I/O -> Modular Instruments ->NI-RFSG -> Arbitrary Waveforms -> RFSG Multiple Arbitrary Waveforms). 
    Regards,
    Travis Ann
    Customer Education Product Marketing Manager
    National Instruments

  • Exception on JaxRpc invoking a Siebel web service

    Hi,
    We've created a web service on Siebel 7.8, activated it, and generated a wsdl. I've imported that wsdl into my BPEL project (10.1.3.1), created a PartnerLink from it, but I'm getting an exception when I attempt to query Siebel. If anyone is familiar with this, I'd appreciate any assistance.
    <messages>
    <input>
    <InvokeSomething_SiebelSimpleProductQueryById_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PrimaryRowId">
    <PrimaryRowId>test
    </PrimaryRowId>
    </part>
    </InvokeSomething_SiebelSimpleProductQueryById_InputVariable>
    </input>
    <fault>
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    This is the Siebel generated wsdl:
    <?xml version="1.0" encoding="UTF-8"?>
    <?Siebel-Property-Set EscapeNames="false"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsdLocal0="http://www.siebel.com/xml/Simple%20Product%20Interface" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://siebel.com/asi/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://siebel.com/asi/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <types>
    <xsd:schema elementFormDefault="qualified" xmlns:xsdLocal0="http://www.siebel.com/xml/Simple%20Product%20Interface" attributeFormDefault="unqualified" targetNamespace="http://www.siebel.com/xml/Simple%20Product%20Interface"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:annotation>
    <xsd:documentation>Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation>
    </xsd:annotation>
    <xsd:element name="ListOfSimpleProductInterface" type="xsdLocal0:ListOfSimpleProductInterface"></xsd:element>
    <xsd:complexType name="ListOfSimpleProductInterfaceTopElmt">
    <xsd:sequence>
    <xsd:element name="ListOfSimpleProductInterface" maxOccurs="1" minOccurs="1" type="xsdLocal0:ListOfSimpleProductInterface"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfSimpleProductInterface">
    <xsd:sequence>
    <xsd:element name="InternalProduct" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfInternalProduct"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfInternalProduct">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:InternalProduct[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="InternalProduct">
    <xsd:sequence>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="AllocateBelowSafetyFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="AutoAllocateFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="AutoSubstituteFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Carrier" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="CompensableFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Description" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="EffectiveEndDate" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="FieldReplacable" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="GlobalAssemblyLevelCode" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="GlobalProductClassificationCode" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="GlobalProductIdentifier" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="GlobalProductLifecycleStatusCode" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="GlobalSupplyChainCode" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ImageName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ImagePrimaryOrganizationName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ImageFileName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IsAdminMode" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ItemSize" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="LeadTime" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="MTBF" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="MTTR" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="MaximumQuantity" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="MinimumQuantity" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ProductName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Orderable" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ParentInternalProductId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ParentInternalProductIntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ParentInternalProductName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ParentInternalProductPrimaryOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ParentInternalProductVendor" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ParentInternalProductVendorLocation" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ParentInternalProductVendorOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="PartNumber" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="PrimaryOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ProductImageId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ProductImageIntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ProductLevel" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ProductType" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ReturnifDefective" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="DivisionCode" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="SalesProduct" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ServiceProduct" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Serialized" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ShippingVia" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="EffectiveStartDate" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="TargetedCountry" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="TargetedIndustry" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="TargetedMaxAge" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="TargetedMinAge" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="TargetedPostalCode" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ToolFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="UnitofMeasure" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="UnitsInInventory" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="UnitsInInventoryAsOf" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="PrimaryVendor" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="VendorId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="VendorIntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="VendorSite" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="VendorPartNumber" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="VendorPrimaryOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Version" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Status" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ClassId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ClassIntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ClassName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ClassType" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ListOfRelatedOrganization" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfRelatedOrganization"></xsd:element>
    <xsd:element name="ListOfRelatedEquivalentProduct" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfRelatedEquivalentProduct"></xsd:element>
    <xsd:element name="ListOfRelatedInventoryLocation" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfRelatedInventoryLocation"></xsd:element>
    <xsd:element name="ListOfRelatedProductLine" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfRelatedProductLine"></xsd:element>
    <xsd:element name="ListOfInventoryOptions" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfInventoryOptions"></xsd:element>
    <xsd:element name="ListOfRelatedWarranty" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfRelatedWarranty"></xsd:element>
    <xsd:element name="ListOfRelatedProduct" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfRelatedProduct"></xsd:element>
    <xsd:element name="ListOfRelatedSalesToolByProduct" maxOccurs="1" minOccurs="0" type="xsdLocal0:ListOfRelatedSalesToolByProduct"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfRelatedOrganization">
    <xsd:sequence>
    <xsd:element name="RelatedOrganization" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfRelatedOrganization"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfRelatedOrganization">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:RelatedOrganization[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="RelatedOrganization">
    <xsd:sequence>
    <xsd:element name="Organization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfRelatedEquivalentProduct">
    <xsd:sequence>
    <xsd:element name="RelatedEquivalentProduct" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfRelatedEquivalentProduct"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfRelatedEquivalentProduct">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:RelatedEquivalentProduct[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="RelatedEquivalentProduct">
    <xsd:sequence>
    <xsd:element name="EquivalentProduct" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="EquivalentProductPrimaryOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="EquivalentProductVendor" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="EquivalentProductVendorLocation" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="EquivalentProductVendorOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfRelatedInventoryLocation">
    <xsd:sequence>
    <xsd:element name="RelatedInventoryLocation" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfRelatedInventoryLocation"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfRelatedInventoryLocation">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:RelatedInventoryLocation[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="RelatedInventoryLocation">
    <xsd:sequence>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="InventoryName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="PrimaryOrganizationName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfRelatedProductLine">
    <xsd:sequence>
    <xsd:element name="RelatedProductLine" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfRelatedProductLine"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfRelatedProductLine">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:RelatedProductLine[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="RelatedProductLine">
    <xsd:sequence>
    <xsd:element name="ProductLine" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfInventoryOptions">
    <xsd:sequence>
    <xsd:element name="InventoryOptions" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfInventoryOptions"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfInventoryOptions">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:InventoryOptions[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="InventoryOptions">
    <xsd:sequence>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="AllocateBelowSafetyFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="AutoAllocateFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="AutoSubstituteFlag" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ClassABC" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ClassXYZ" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="InventoryType" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ProductName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfRelatedWarranty">
    <xsd:sequence>
    <xsd:element name="RelatedWarranty" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfRelatedWarranty"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfRelatedWarranty">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:RelatedWarranty[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="RelatedWarranty">
    <xsd:sequence>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="WarrantyName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="WarrantyProviderName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="WarrantyProviderSite" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="WarrantyProviderPrimaryOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfRelatedProduct">
    <xsd:sequence>
    <xsd:element name="RelatedProduct" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfRelatedProduct"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfRelatedProduct">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:RelatedProduct[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="RelatedProduct">
    <xsd:sequence>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="ProductName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Vendor" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="VendorLocation" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Organization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ListOfRelatedSalesToolByProduct">
    <xsd:sequence>
    <xsd:element name="RelatedSalesToolByProduct" maxOccurs="1" minOccurs="0" type="xsdLocal0:ArrayOfRelatedSalesToolByProduct"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfRelatedSalesToolByProduct">
    <xsd:complexContent mixed="false">
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute aPrefix:arrayType="xsdLocal0:RelatedSalesToolByProduct[]" ref="soapenc:arrayType" xmlns:aPrefix="http://schemas.xmlsoap.org/wsdl/"></xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="RelatedSalesToolByProduct">
    <xsd:sequence>
    <xsd:element name="Id" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="LitFileName" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="Name" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    <xsd:element name="PrimaryOrganization" maxOccurs="1" minOccurs="0" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductSynchronize_Input">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    <part name="StatusObject" type="xsd:string"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductSynchronize_Output">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductInsertOrUpdate_Input">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    <part name="StatusObject" type="xsd:string"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductInsertOrUpdate_Output">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductUpdate_Input">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    <part name="StatusObject" type="xsd:string"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductUpdate_Output">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryByExample_Input">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryByExample_Output">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryById_Input">
    <part name="PrimaryRowId" type="xsd:string"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryById_Output">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductInsert_Input">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    <part name="StatusObject" type="xsd:string"></part>
    </message>
    <message name="Siebel_spcSimple_spcProduct_SiebelSimpleProductInsert_Output">
    <part name="SiebelMessage" type="xsdLocal0:ListOfSimpleProductInterfaceTopElmt"></part>
    </message>
    <portType name="Default">
    <operation name="SiebelSimpleProductSynchronize">
    <input message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductSynchronize_Input"></input>
    <output message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductSynchronize_Output"></output>
    </operation>
    <operation name="SiebelSimpleProductInsertOrUpdate">
    <input message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductInsertOrUpdate_Input"></input>
    <output message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductInsertOrUpdate_Output"></output>
    </operation>
    <operation name="SiebelSimpleProductUpdate">
    <input message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductUpdate_Input"></input>
    <output message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductUpdate_Output"></output>
    </operation>
    <operation name="SiebelSimpleProductQueryByExample">
    <input message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryByExample_Input"></input>
    <output message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryByExample_Output"></output>
    </operation>
    <operation name="SiebelSimpleProductQueryById">
    <input message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryById_Input"></input>
    <output message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryById_Output"></output>
    </operation>
    <operation name="SiebelSimpleProductInsert">
    <input message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductInsert_Input"></input>
    <output message="tns:Siebel_spcSimple_spcProduct_SiebelSimpleProductInsert_Output"></output>
    </operation>
    </portType>
    <binding name="Default" type="tns:Default">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"></soap:binding>
    <operation name="SiebelSimpleProductSynchronize">
    <soap:operation soapAction="rpc/http://siebel.com/asi/:SiebelSimpleProductSynchronize"></soap:operation>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </output>
    </operation>
    <operation name="SiebelSimpleProductInsertOrUpdate">
    <soap:operation soapAction="rpc/http://siebel.com/asi/:SiebelSimpleProductInsertOrUpdate"></soap:operation>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </output>
    </operation>
    <operation name="SiebelSimpleProductUpdate">
    <soap:operation soapAction="rpc/http://siebel.com/asi/:SiebelSimpleProductUpdate"></soap:operation>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </output>
    </operation>
    <operation name="SiebelSimpleProductQueryByExample">
    <soap:operation soapAction="rpc/http://siebel.com/asi/:SiebelSimpleProductQueryByExample"></soap:operation>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </output>
    </operation>
    <operation name="SiebelSimpleProductQueryById">
    <soap:operation soapAction="rpc/http://siebel.com/asi/:SiebelSimpleProductQueryById"
    style="rpc"></soap:operation>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </output>
    </operation>
    <operation name="SiebelSimpleProductInsert">
    <soap:operation soapAction="rpc/http://siebel.com/asi/:SiebelSimpleProductInsert"></soap:operation>
    <input>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </input>
    <output>
    <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" use="encoded"></soap:body>
    </output>
    </operation>
    </binding>
    <service name="Siebel_spcSimple_spcProduct">
    <port binding="tns:Default" name="Default">
    <soap:address location="http://crmdev/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=sadmin&Password=sadmin"></soap:address>
    </port>
    </service>
    <plnk:partnerLinkType name="Default_PL">
    <plnk:role name="Default_Role">
    <plnk:portType name="tns:Default"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    This is my BPEL flow:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="SiebelSoapHeaderTest"
    targetNamespace="http://xmlns.oracle.com/SiebelSoapHeaderTest"
    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://siebel.com/asi/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/SiebelSoapHeaderTest"
    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>
    <partnerLink name="client" partnerLinkType="client:SiebelSoapHeaderTest"
    myRole="SiebelSoapHeaderTestProvider"/>
    <partnerLink name="PartnerLinkSiebelTest" partnerRole="Default_Role"
    partnerLinkType="ns1:Default_PL"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable"
    messageType="client:SiebelSoapHeaderTestRequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable"
    messageType="client:SiebelSoapHeaderTestResponseMessage"/>
    <variable name="InvokeSomething_SiebelSimpleProductQueryById_InputVariable"
    messageType="ns1:Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryById_Input"/>
    <variable name="InvokeSomething_SiebelSimpleProductQueryById_OutputVariable"
    messageType="ns1:Siebel_spcSimple_spcProduct_SiebelSimpleProductQueryById_Output"/>
    </variables>
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in SiebelSoapHeaderTest.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:SiebelSoapHeaderTest" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <assign name="AssignRowId">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:SiebelSoapHeaderTestProcessRequest/client:input"/>
    <to variable="InvokeSomething_SiebelSimpleProductQueryById_InputVariable"
    part="PrimaryRowId"/>
    </copy>
    </assign>
    <invoke name="InvokeQueryByRowId" partnerLink="PartnerLinkSiebelTest"
    portType="ns1:Default" operation="SiebelSimpleProductQueryById"
    inputVariable="InvokeSomething_SiebelSimpleProductQueryById_InputVariable"
    outputVariable="InvokeSomething_SiebelSimpleProductQueryById_OutputVariable"/>
    <reply name="replyOutput" partnerLink="client"
    portType="client:SiebelSoapHeaderTest" operation="process"
    variable="outputVariable"/>
    </sequence>
    </process>
    Message was edited by:
    user532371

    I kinda found out what this error might be, after going through the Siebel Object Manager logs. We re-use a CRM OnDemand session to post all our Web Service Requests. The idle time out for the session, by default is 10mts. So, when I post the request exactly at the 10th minute, when the request is transferred to OM and the session is invalid, the CRM OnDemand server doesn't through a valid soap fault.
    To resolve this issue, we just need to make sure to re-login at 9th minute if there is an idle session available.
    Thanks.

  • Problem while invoking Bpel Process from Browser

    server WSDL
    <definitions
         name="getOpenInvoicesService"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
         xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
        >
        <types>
          <schema xmlns="http://www.w3.org/2001/XMLSchema" >
            <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService" schemaLocation="getOpenInvoicesService.xsd" />
          </schema>
        </types>
        <message name="getOpenInvoicesServiceInput_msg">
            <part name="getOpenInvoicesServiceInput_msg" element="db:getOpenInvoicesServiceInput"/>
        </message>
        <message name="getOpenInvoicesServiceOutputCollection_msg">
            <part name="getOpenInvoicesServiceOutputCollection" element="db:getOpenInvoicesServiceOutputCollection"/>
        </message>
        <portType name="getOpenInvoicesService_ptt">
            <operation name="getOpenInvoicesService">
                <input message="tns:getOpenInvoicesServiceInput_msg"/>
                <output message="tns:getOpenInvoicesServiceOutputCollection_msg"/>
            </operation>
        </portType>
        <binding name="getOpenInvoicesService_binding" type="tns:getOpenInvoicesService_ptt">
        <jca:binding  />
            <operation name="getOpenInvoicesService">
          <jca:operation
              SqlString=" SELECT distinct aps.trx_number TrxNumber,       ra.purchase_order PurchaseOrder,       rl.sales_order OrderNumber,       ra.interface_header_attribute2 OrderType,       hc.account_number CustomerNumber,        rt.name TrxType,       aps.acctd_amount_due_remaining AmmountDue,       aps.trx_date TrxDate,        aps.due_date TrxDueDate    FROM ra_customer_trx_all ra     ,   ra_customer_trx_lines_all rl     ,   ar_payment_schedules_all aps     ,   ra_cust_trx_types_all rt         ,   hz_cust_accounts hc              ,   hz_parties hp                    ,   hz_cust_acct_sites_all hcasa_bill,   hz_cust_site_uses_all hcsua_bill ,   hz_party_sites hps_bill          ,   ra_cust_trx_line_gl_dist_all rct   WHERE 1                        = 1 AND ra.customer_trx_id           = rl.customer_trx_id AND ra.customer_trx_id           = aps.customer_trx_id AND ra.org_id                    = aps.org_id AND rct.customer_trx_id          = aps.customer_trx_id AND rct.customer_trx_id          = ra.customer_trx_id AND rct.customer_trx_id          = rl.customer_trx_id AND rct.customer_trx_line_id     = rl.customer_trx_line_id AND ra.complete_flag             = &apos;Y&apos; AND rl.line_type                IN (&apos;FREIGHT&apos;, &apos;LINE&apos;) AND ra.cust_trx_type_id          = rt.cust_trx_type_id AND ra.bill_to_customer_id       = hc.cust_account_id AND hc.status                    = &apos;A&apos; AND hp.party_id                  = hc.party_id AND hcasa_bill.cust_account_id   = ra.bill_to_customer_id AND hcasa_bill.cust_acct_site_id = hcsua_bill.cust_acct_site_id AND hcsua_bill.site_use_code     = &apos;BILL_TO&apos; AND hcsua_bill.site_use_id       = ra.bill_to_site_use_id AND hps_bill.party_site_id       = hcasa_bill.party_site_id AND hcasa_bill.status            = &apos;A&apos; AND hcsua_bill.status            = &apos;A&apos; AND aps.amount_due_remaining    &lt;&gt; 0 AND aps.status                   = &apos;OP&apos; AND hc.account_number= ?"
              InteractionSpec="oracle.tip.adapter.db.DBPureSQLInteractionSpec" >
          </jca:operation>
                <input/>
                <output/>
            </operation>
        </binding>
        <service name="getOpenInvoicesService">
            <port name="getOpenInvoicesService_pt" binding="tns:getOpenInvoicesService_binding">
    <!--Your runtime connection is declared in
    J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml
    These mcf properties here are from your design time connection and
    save you from having to edit that file and restart the application server
    if eis/DB/sfh is missing.
    These mcf properties are safe to remove.-->
          <jca:address location="eis/DB/sfh" UIConnectionName="sfh"
              ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
              mcf.DriverClassName="oracle.jdbc.OracleDriver"
              mcf.PlatformClassName="oracle.toplink.internal.databaseaccess.Oracle9Platform"
              mcf.ConnectionString="jdbc:oracle:thin:@localhost:1526:xxxx"
              mcf.UserName="apps"
              mcf.Password="53CB0F044A0D3DD2C063679F18F89870" />
            </port>
        </service>
      <plt:partnerLinkType name="getOpenInvoicesService_plt" >
        <plt:role name="getOpenInvoicesService_role" >
          <plt:portType name="tns:getOpenInvoicesService_ptt" />
        </plt:role>
      </plt:partnerLinkType>
    </definitions>
    client.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
         name="getOpenInvoices"
         targetNamespace="http://xmlns.oracle.com/getOpenInvoices"
         xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:client="http://xmlns.oracle.com/getOpenInvoices"
         xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
        >
        <types>
            <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/getOpenInvoices" xmlns="http://www.w3.org/2001/XMLSchema">
            <element name="getOpenInvoicesProcessResponse">
            <complexType>
            <sequence>
            <element name="result" type="string"/>
            </sequence>
            </complexType>
            </element>
            <element name="getOpenInvoicesProcessRequest">
            <complexType>
            <sequence>
            <element name="accountNumber" type="string"/>
            </sequence>
            </complexType>
            </element>
            </schema>
        </types>
        <message name="getOpenInvoicesRequestMessage">
            <part name="payload" element="client:getOpenInvoicesProcessRequest"/>
        </message>
        <message name="getOpenInvoicesResponseMessage">
            <part name="payload" element="client:getOpenInvoicesProcessResponse"/>
        </message>
        <portType name="getOpenInvoices">
            <operation name="OpenInvoices">
                <input message="client:getOpenInvoicesRequestMessage"/>
                <output message="client:getOpenInvoicesResponseMessage"/>
            </operation>
        </portType>
        <binding name="OpenInvoicebindings" type="client:getOpenInvoices">
        <http:binding verb="GET"/>
        <operation name="OpenInvoices">
        <http:operation location="/OpenInvoices"/>
        <input>
        <http:urlEncoded/>
        </input>
        <output>
        <mime:mimeXml part="Body"/>
        </output>
        </operation>
        </binding>
        <service name="OpenInvoiceService">
        <port binding="client:OpenInvoicebindings" name="OpenInvoicesport">
        <http:address location="http://sys0004:8889/httpbinding/default/getOpenInvoices"/>
        </port>
        </service>
        <plnk:partnerLinkType name="getOpenInvoices">
            <plnk:role name="getOpenInvoicesProvider">
                <plnk:portType name="client:getOpenInvoices"/>
            </plnk:role>
        </plnk:partnerLinkType>
    </definitions>
    bpel process
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
      Oracle JDeveloper BPEL Designer
      Created: Tue Jul 13 11:05:51 IST 2010
      Author: 
      Purpose: Synchronous BPEL Process
    -->
    <process name="getOpenInvoices"
             targetNamespace="http://xmlns.oracle.com/getOpenInvoices"
             xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:bpws="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:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService/"
             xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
             xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/getOpenInvoicesService"
             xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
             xmlns:client="http://xmlns.oracle.com/getOpenInvoices"
             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:getOpenInvoices"
                     myRole="getOpenInvoicesProvider"/>
        <partnerLink name="getOpenInvoicesService"
                     partnerRole="getOpenInvoicesService_role"
                     partnerLinkType="ns1:getOpenInvoicesService_plt"/>
      </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:getOpenInvoicesRequestMessage"/>
        <!-- Reference to the message that will be returned to the requester-->
        <variable name="outputVariable"
                  messageType="client:getOpenInvoicesResponseMessage"/>
        <variable name="Invoke_1_getOpenInvoicesService_InputVariable"
                  messageType="ns1:getOpenInvoicesServiceInput_msg"/>
        <variable name="Invoke_1_getOpenInvoicesService_OutputVariable"
                  messageType="ns1:getOpenInvoicesServiceOutputCollection_msg"/>
      </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 getOpenInvoices.wsdl) -->
        <receive name="receiveInput" partnerLink="client"
                 portType="client:getOpenInvoices" operation="OpenInvoices"
                 variable="inputVariable" createInstance="yes"/>
        <!-- Generate reply to synchronous request -->
        <assign name="Assign_1">
          <copy>
            <from variable="inputVariable" part="payload"/>
            <to variable="Invoke_1_getOpenInvoicesService_InputVariable"
                part="getOpenInvoicesServiceInput_msg"/>
          </copy>
        </assign>
        <invoke name="Invoke_1" partnerLink="getOpenInvoicesService"
                portType="ns1:getOpenInvoicesService_ptt"
                operation="getOpenInvoicesService"
                inputVariable="Invoke_1_getOpenInvoicesService_InputVariable"
                outputVariable="Invoke_1_getOpenInvoicesService_OutputVariable"/>
        <assign name="Assign_2">
          <copy>
            <from variable="Invoke_1_getOpenInvoicesService_OutputVariable"
                  part="getOpenInvoicesServiceOutputCollection"/>
            <to variable="outputVariable" part="payload"/>
          </copy>
        </assign>
        <reply name="replyOutput" partnerLink="client"
               portType="client:getOpenInvoices" operation="OpenInvoices"
               variable="outputVariable"/>
      </sequence>
    </process>the above is the server and client wsdls and Bpel process. i have created the wsdl so as to call from HTTP calling, means process is been called from Browser .... but i can't see the result ...
    http://sys0004:8889/httpbinding/default/getOpenInvoices/OpenInvoices?accountNumber=1608
    above is the link called from browser
    output in the browser ::: <getOpenInvoicesProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/getOpenInvoices" />
    actually it has to fetch data from DB and show in xml format can anyone assist me where i am going wrong

    Hi Rajesh,
    Please refer \bpel\samples\tutorials\102.InvokingProcesses\jsp.
    BPEL Tutorial 7: Invoking BPEL Processes through SOAP and Java : Reference: 2004/06/14/orabpel/d5/1.0
    Hope this helps!
    Regards
    Anirudh Pucha

  • Invoking a BPEL process from a WS

    Errors occurred when I tried to invoke a BPEL process from a WS. The BPEL process was deployed in Local PM server and the WS was deployed in local OC4J server of JDeveloper 10g.
    &#22312;Java class &#21457;&#24067;&#25104;WS,&#37096;&#32626;&#22312;JDeveloper 10g&#20013;&#30340;oc4j&#26381;&#21153;&#22120;&#37324;&#65292;&#35843;&#29992;&#26412;&#26426;&#30340;BPEL&#27969;&#31243;&#20986;&#38169;&#65292;
    WS coding as below:
    WS&#20195;&#30721;&#22914;&#19979;:
    package zbht.com;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage ;
    import com.oracle.bpel.client.dispatch.IDeliveryService ;
    import java.util.Date;
    import com.oracle.services.bpel.task.IWorklistService;
    import com.oracle.services.bpel.task.ITask;
    public class test
    public test()
    * @webmethod
    public void getBPEL(String str1,String str2)
    try{
    String xml = "<BPELProcess xmlns=\"http://xmlns.oracle.com/BPELProcess\">"
    + "<input>"+str1+"</input>"
    + "<input1>"+str2+"</input1>"
    + "</BPELProcess>";
    System.out.println(xml);
    // String xml="<OrgName xmlns=\"http://sse.org.cn/poc\">"+OrgName+"</OrgName>";
    Locator locator = new Locator("default","bpel");
    System.out.println("123");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    System.out.println("1234");
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    System.out.println("12345");
    nm.addPart("payload" , xml );
    deliveryService.post("BPELProcess", "initiate", nm);
    }catch(Exception e)
    e.printStackTrace();
    Process source coding as below:
    &#27969;&#31243;&#20195;&#30721;:
    <process name="BPELProcess" targetNamespace="http://xmlns.oracle.com/BPELProcess" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="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:ns1="http://zbht/com/test.wsdl" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/BPELProcess" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:BPELProcess" myRole="BPELProcessProvider"/>
    <partnerLink myRole="testPortType_Role" name="PartnerLink_1" partnerRole="testPortType_Role" partnerLinkType="ns1:testPortType_PL"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:BPELProcessRequestMessage"/>
    <variable name="outputVariable" messageType="client:BPELProcessResponseMessage"/>
    <variable name="Invoke_1_test_InputVariable" messageType="ns1:test0Request"/>
    <variable name="Invoke_1_test_OutputVariable" messageType="ns1:test0Response"/>
    </variables>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:BPELProcess" operation="process" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:BPELProcessProcessRequest/client:input"/>
    <to variable="Invoke_1_test_InputVariable" part="str1"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload" query="/client:BPELProcessProcessRequest/client:input1"/>
    <to variable="Invoke_1_test_InputVariable" part="str2"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="PartnerLink_1" portType="ns1:testPortType" operation="test" inputVariable="Invoke_1_test_InputVariable" outputVariable="Invoke_1_test_OutputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_1_test_OutputVariable" part="return"/>
    <to variable="outputVariable" part="payload" query="/client:BPELProcessProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:BPELProcess" operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    Error messages:
    &#38169;&#35823;&#20449;&#24687;:
    05/10/08 17:06:06 java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DomainManagerBean not found at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:164) at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:333) at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:120) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218) at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83) at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47) at com.oracle.bpel.client.Locator.<init>(Locator.java:65) at zbht.com.test.getBPEL(test.java:29) at zbht.com.__testStatelessWrapper.invokeMethod(__testStatelessWrapper.java:101) at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:380) at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:642) at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1173) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)".05/10/08 17:06:06 at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)05/10/08 17:06:06 at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)05/10/08 17:06:06 at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47)05/10/08 17:06:06 at com.oracle.bpel.client.Locator.<init>(Locator.java:65)05/10/08 17:06:06 at zbht.com.test.getBPEL(test.java:29)05/10/08 17:06:06 at zbht.com.__testStatelessWrapper.invokeMethod(__testStatelessWrapper.java:101)05/10/08 17:06:06 at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:380)05/10/08 17:06:06 at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:642)05/10/08 17:06:06 at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1173)05/10/08 17:06:06 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)05/10/08 17:06:06 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)05/10/08 17:06:06 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)05/10/08 17:06:06 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)05/10/08 17:06:06 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)05/10/08 17:06:06 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)05/10/08 17:06:06 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)05/10/08 17:06:06 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)05/10/08 17:06:06 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)05/10/08 17:06:06 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)05/10/08 17:06:06 at java.lang.Thread.run(Thread.java:534)
    Thanks

    Hey,
    no big deal, this is because the Locator you use, runs in, say local mode,
    use the other API constructor in locator, which gets a hashtable.
    Tutorial is available in samples\tutorials\102.InvokingProcesses\rmi
    Locator locator = new Locator("default","bpel",props);
    The reason why you get that "notFoundEx" is because you are not in the same rmi.context bel runs in.

  • Strange about invoking web service method declared “string  method(void)”;

    Dear forum readers
    I’m experimenting with OpenESB and web services. I’ve create a simple web service using NetBeans 6.1. The method consists of a single method, getTime, that is declared:
    String getTime()
    My current experiment is to invoke this method from a BPEL-process using the “Invoke” process object. The strange thing is that it seems like I have to provide a “dummy” inbound variable from the BPEL-designer even though the method doesn’t take any parameters. I include a snippet from the BPEL process below which includes the section where I set the dummy GetTimeIn-variable and then invokes the WS method getTime().
    <assign name="Assign2">
    <copy>
    <from>'DummyValue'</from>
    <to variable="GetTimeIn" part="parameters"/>
    </copy>
    </assign>
    <invoke name="Invoke1" partnerLink="PartnerLink1" operation="getTime" xmlns:tns="http://ws/" portType="tns:MyWebService" outputVariable="GetTimeOut" inputVariable="GetTimeIn"/>
    If I don’t initiate the dummy variable or remove it altogether, I can’t successfully call the method. If I include the dummy in-parameter the call works just fine and I get back the current time as a string.
    I must admit that I’m still a rookie to web services, especially when calling them from a BPEL-process, so it may be a very trivial reason for this behaviour. Anyway, any help on this matter would be greatly appreciated.
    Regards, Ola

    Thank you both for the response. Regarding Rennay’s posting I have an additional question. When I create a new web service I don't have the "Document Literal" option nor a "Concrete Configuration" tab. I've created the web service using the "Web Application" project type and then adding a web service using the "Web Service..." wizard. This wizard doesn't have the configuration properties you mention, but if I add a WSDL-file to a BPEL-project the wizard has the properties you mention.
    Is it possible to create a web service, programmed as an ordinary Java-class, from an existing WSDL-file? In that case it may solve the problem with the “Document Literal” property. Currently I don’t know any other way to create such a web-service other than the through the web service wizard in a web application project. Of course, it’s possible to craft it from scratch but that’s to much work to be practical.
    Regards, Ola

  • Problem in invoking a BPEL process with complex input

    Hi,
    I have an asynchronous BPEL process which has a complex request schema. When I try to invoke the process through BPEL Console, it works properly. But when invoking it through Java API, it seems that the input soap message is not well received by the process. Here are relevant files:
    *==============-BPEL file==================*
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="MapCopyProject"
    targetNamespace="http://mapcopyservices/"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:taskservice="http://xmlns.oracle.com/bpel/workflow/taskService"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:task="http://xmlns.oracle.com/bpel/workflow/task"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:wfcommon="http://xmlns.oracle.com/bpel/workflow/common"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns4="http://mapcopyservices/"
    xmlns:ns3="http://mapcopyservices/types/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:wf="http://schemas.oracle.com/bpel/extension/workflow">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <partnerLink name="MapCheckService" partnerLinkType="ns4:MapCheckService_PL"
    partnerRole="MapCheckService_Role"/>
    <partnerLink myRole="TotalBPELProcessProvider" name="TotalBPELProcess"
    partnerRole="TotalBPELProcessRequester"
    partnerLinkType="ns4:TotalBPELProcess"/>
    <partnerLink name="MapActionService" partnerRole="MapActionService_Role"
    partnerLinkType="ns4:MapActionService_PL"/>
    </partnerLinks>
    <variables>
    <variable name="ClientInput"
    messageType="ns4:TotalBPELProcessRequestMessage"/>
    <variable name="ClientOutput"
    messageType="ns4:TotalBPELProcessResponseMessage"/>
    <variable name="CheckSourceExistance_Output"
    messageType="ns4:MapCheckService_checkSourceExistanceResponse"/>
    <variable name="CheckSourceExistance_Input"
    messageType="ns4:MapCheckService_checkSourceExistance"/>
    <variable name="GetCoordinateSystemType_Output"
    messageType="ns4:MapCheckService_getCoordinateSystemTypeResponse"/>
    <variable name="GetCoordinateSystemType_Input"
    messageType="ns4:MapCheckService_getCoordinateSystemType"/>
    <variable name="CheckSourceExistance2_Input"
    messageType="ns4:MapCheckService_checkSourceExistance"/>
    <variable name="CheckSourceExistance2_Output"
    messageType="ns4:MapCheckService_checkSourceExistanceResponse"/>
    <variable name="InvokeMapAction_Input"
    messageType="ns4:MapActionService_CopyAndTransform"/>
    <variable name="InvokeMapAction_Output"
    messageType="ns4:MapActionService_CopyAndTransformResponse"/>
    </variables>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="ReceiveInput" partnerLink="TotalBPELProcess"
    portType="ns4:TotalBPELProcessInvoke" operation="initiate"
    variable="ClientInput" createInstance="yes"/>
    <flow name="Flow_1">
    <sequence name="Sequence_1">
    <assign name="Assign_3">
    <copy>
    <from variable="ClientInput" part="parameters"
    query="/ns3:TotalBPELProcessRequest/ns3:destConn"/>
    <to variable="CheckSourceExistance2_Input" part="parameters"
    query="/ns3:checkSourceExistanceElement/ns3:MapConnection_1"/>
    </copy>
    </assign>
    <invoke name="Invoke_CheckSource2" partnerLink="MapCheckService"
    portType="ns4:MapCheckService" operation="checkSourceExistance"
    inputVariable="CheckSourceExistance2_Input"
    outputVariable="CheckSourceExistance2_Output"/>
    </sequence>
    <sequence name="Sequence_1">
    <assign name="Assign_1">
    <copy>
    <from variable="ClientInput" part="parameters"
    query="/ns3:TotalBPELProcessRequest/ns3:sourceConn"/>
    <to variable="CheckSourceExistance_Input" part="parameters"
    query="/ns3:checkSourceExistanceElement/ns3:MapConnection_1"/>
    </copy>
    </assign>
    <invoke name="Invoke_CheckSource" partnerLink="MapCheckService"
    portType="ns4:MapCheckService" operation="checkSourceExistance"
    inputVariable="CheckSourceExistance_Input"
    outputVariable="CheckSourceExistance_Output"/>
    </sequence>
    </flow>
    <switch name="CheckSourceAndDest">
    <case condition="string(bpws:getVariableData('CheckSourceExistance_Output','parameters','/ns3:checkSourceExistanceResponseElement/ns3:result'))='true' and string(bpws:getVariableData('CheckSourceExistance2_Output','parameters','/ns3:checkSourceExistanceResponseElement/ns3:result'))='true'">
    <empty name="Empty_1"/>
    </case>
    <otherwise>
    <terminate name="Terminate_1"/>
    </otherwise>
    </switch>
    <assign name="Assign_4">
    <copy>
    <from variable="ClientInput" part="parameters"
    query="/ns3:TotalBPELProcessRequest/ns3:sourceConn"/>
    <to variable="GetCoordinateSystemType_Input" part="parameters"
    query="/ns3:getCoordinateSystemTypeElement/ns3:MapConnection_1"/>
    </copy>
    </assign>
    <invoke name="Invoke_GetCoSysType" partnerLink="MapCheckService"
    portType="ns4:MapCheckService" operation="getCoordinateSystemType"
    inputVariable="GetCoordinateSystemType_Input"
    outputVariable="GetCoordinateSystemType_Output"/>
    <switch name="CheckPossibility">
    <case condition="number(bpws:getVariableData('GetCoordinateSystemType_Output','parameters','/ns3:getCoordinateSystemTypeResponseElement/ns3:result'))=number(bpws:getVariableData('ClientInput','parameters','/ns3:TotalBPELProcessRequest/ns3:transformMapType'))">
    <empty name="Empty_2"/>
    </case>
    <otherwise>
    <terminate name="Terminate_2"/>
    </otherwise>
    </switch>
    <assign name="Assign_7">
    <copy>
    <from variable="ClientInput" part="parameters"
    query="/ns3:TotalBPELProcessRequest/ns3:sourceConn"/>
    <to variable="InvokeMapAction_Input" part="parameters"
    query="/ns3:CopyAndTransformElement/ns3:sourceConn"/>
    </copy>
    <copy>
    <from variable="ClientInput" part="parameters"
    query="/ns3:TotalBPELProcessRequest/ns3:destConn"/>
    <to variable="InvokeMapAction_Input" part="parameters"
    query="/ns3:CopyAndTransformElement/ns3:destConn"/>
    </copy>
    <copy>
    <from variable="ClientInput" part="parameters"
    query="/ns3:TotalBPELProcessRequest/ns3:transformMapType"/>
    <to variable="InvokeMapAction_Input" part="parameters"
    query="/ns3:CopyAndTransformElement/ns3:transformMapType"/>
    </copy>
    </assign>
    <invoke name="Invoke_MapAction" partnerLink="MapActionService"
    portType="ns4:MapActionService" operation="CopyAndTransform"
    inputVariable="InvokeMapAction_Input"
    outputVariable="InvokeMapAction_Output"/>
    <assign name="Assign_6">
    <copy>
    <from variable="InvokeMapAction_Output" part="parameters"
    query="/ns3:CopyAndTransformResponseElement/ns3:result"/>
    <to variable="ClientOutput" part="parameters"
    query="/ns3:TotalBPELProcessResponse/ns3:result"/>
    </copy>
    </assign>
    <invoke name="Invoke_CallBack" partnerLink="TotalBPELProcess"
    portType="ns4:TotalBPELProcessCallback" operation="onResult"
    inputVariable="ClientOutput"/>
    </sequence>
    </process>
    *==================WSDL file of process invoke port================*
    <definitions
    name="TotalBPELProcess"
    targetNamespace="http://mapcopyservices/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://mapcopyservices/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:tns0="http://mapcopyservices/types/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mapcopyservices/types/"
    elementFormDefault="qualified" xmlns:tns="http://mapcopyservices/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="MapConnection">
    <sequence>
    <element name="layerName" type="string" nillable="true"/>
    <element name="connString" type="string" nillable="true"/>
    <element name="mapType" type="int"/>
    </sequence>
    </complexType>
    <element name="TotalBPELProcessRequest">
    <complexType>
    <sequence>
    <element name="sourceConn" type="tns:MapConnection" nillable="true"/>
    <element name="destConn" type="tns:MapConnection" nillable="true"/>
    <element name="transformMapType" type="int"/>
    </sequence>
    </complexType>
    </element>
    <element name="TotalBPELProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="int"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="TotalBPELProcessRequestMessage">
    <part name="parameters" element="tns0:TotalBPELProcessRequest"/>
    </message>
    <message name="TotalBPELProcessResponseMessage">
    <part name="parameters" element="tns0:TotalBPELProcessResponse"/>
    </message>
         <portType name="TotalBPELProcessInvoke">
              <operation name="initiate">
                   <input message="tns:TotalBPELProcessRequestMessage"/>
              </operation>
         </portType>
         <!-- portType implemented by the requester of BPELProcess1 BPEL process
         for asynchronous callback purposes
         -->
         <portType name="TotalBPELProcessCallback">
              <operation name="onResult">
                   <input message="tns:TotalBPELProcessResponseMessage"/>
              </operation>
         </portType>
         <plnk:partnerLinkType name="TotalBPELProcess">
              <plnk:role name="TotalBPELProcessProvider">
                   <plnk:portType name="tns:TotalBPELProcessInvoke"/>
              </plnk:role>
              <plnk:role name="TotalBPELProcessRequester">
                   <plnk:portType name="tns:TotalBPELProcessCallback"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    *===================JSP invoking file=====================*
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@page import="java.util.Map" %>
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <%@page import="java.util.*" %>
    <%@ page import="javax.naming.Context" %>
    <%@ page import="javax.naming.InitialContext" %>
    <%@ page import="javax.naming.NamingException" %>
    <%@ page import="javax.rmi.PortableRemoteObject" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>CopyMap</title>
    </head>
    <body>
         <%
    try{
         String xml =
    "<ns100:TotalBPELProcessRequest xmlns:ns100=\"http://mapcopyservices/types/\">"+
    "<ns100:sourceConn>"+
    "<ns100:layerName>1</ns100:layerName>"+
    "<ns100:connString>1</ns100:connString>"+
    "<ns100:mapType>1</ns100:mapType>"+
    "</ns100:sourceConn>"+
    "<ns100:destConn>"+
    "<ns100:layerName>1</ns100:layerName>"+
    "<ns100:connString>1</ns100:connString>"+
    "<ns100:mapType>1</ns100:mapType>"+
    "</ns100:destConn>"+
    "<ns100:transformMapType>1</ns100:transformMapType>"+
    "</ns100:TotalBPELProcessRequest>";
    Hashtable jndi = new Hashtable();
    jndi.put(Context.PROVIDER_URL, "opmn:ormi://amir:6003:oc4j_soa/orabpel");
    jndi.put(Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory");
    jndi.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
    jndi.put(Context.SECURITY_CREDENTIALS, "as123456");
    Locator locator = new Locator("default","as123456",jndi);
         IDeliveryService deliveryService =
              (IDeliveryService)locator.lookupService
              (IDeliveryService.SERVICE_NAME );
         NormalizedMessage nm = new NormalizedMessage( );
         nm.addPart("payload", xml );
    deliveryService.post("MapCopyProject", "initiate", nm);
         out.println( "BPELProcess MapCopyProject initiated!<br>" );
    catch(Exception ex){
    out.println(ex.getMessage());
    ex.printStackTrace();
         %>
    </body>
    </html>
    *===================================*
    Error occurs in first assign activity like this:
    *=========*
    Error in evaluate <from> expression at line "97". The result is empty for the XPath expression : "/ns3:TotalBPELProcessRequest/ns3:sourceConn".
    *=========*
    Please tell me if you know how to solve it. Thanks

    It sounds very much like a namespace issue.
    As it works from the BPELConsole, fill in the values in the BPELConsole initiate page and switch from the HTML to the XML view. Copy the XML to Notepad or another suitable editor; then insert it as fixed values into the Java/JSP code and try to call the server with the hardcoded payload instead of the one you are generating.
    You can also save the payload in the JSP (write it to a file or standard output) before the call; then open it in jDeveloper or Eclipse and validate it against the schema. That way you will find if the XML is invalid.
    Also, check the flow in the BPELConsole. As it fails on an XPath expression you must have a process. If you click on the receive activity you can see the received payload. Again, copy that to jDeveloper or Eclipse and validate it. Also compare it to the XML you get if you initiate the process manuallly. There must be some difference.
    If you still can't get it to work, post the XML from the initiate operation and from the JSP operation (as they are seen in the receive activity) and we can help you check them out!

  • Error while invoke ADF BC Service component

    I have an ADF Service component, which I'm trying to call from BPEL. A process can be sucessfuly build and deployed, but at run time I'm getting error: Could not determine WSDL port.
    A error stack trace from server is below:
    2008-12-04 21:02:33.003 WS Binding: exception durign SOAP invocation: javax.xml.ws.WebServiceException: Could not determine WSDL ports
    2008-12-04 21:02:33.003 oracle.fabric.common.FabricInvocationException
    2008-12-04 21:02:33.004      at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.sendSOAPMessage(WebServiceExternalBindingComponent.java:569)
    2008-12-04 21:02:33.004      at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:475)
    2008-12-04 21:02:33.004      at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:136)
    2008-12-04 21:02:33.004      at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    2008-12-04 21:02:33.004      at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:111)
    2008-12-04 21:02:33.004      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2008-12-04 21:02:33.004      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2008-12-04 21:02:33.004      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2008-12-04 21:02:33.004      at java.lang.reflect.Method.invoke(Method.java:585)
    2008-12-04 21:02:33.004      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    2008-12-04 21:02:33.004      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    2008-12-04 21:02:33.004      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    2008-12-04 21:02:33.005      at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
    2008-12-04 21:02:33.005      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    2008-12-04 21:02:33.005      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    2008-12-04 21:02:33.005      at $Proxy102.request(Unknown Source)
    2008-12-04 21:02:33.005      at oracle.fabric.BPELServiceEngine.requestToMesh(BPELServiceEngine.java:501)
    2008-12-04 21:02:33.005      at com.collaxa.cube.ws.FabricInvocationHandler.invoke(FabricInvocationHandler.java:230)
    2008-12-04 21:02:33.005      at com.collaxa.cube.ws.FabricInvocationHandler.invoke(FabricInvocationHandler.java:67)
    2008-12-04 21:02:33.005      at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:263)
    2008-12-04 21:02:33.005      at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:162)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:864)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:381)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:107)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2954)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2868)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1437)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:188)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:280)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4895)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:859)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:163)
    2008-12-04 21:02:33.005      at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:199)
    2008-12-04 21:02:33.005      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2008-12-04 21:02:33.005      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2008-12-04 21:02:33.005      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2008-12-04 21:02:33.005      at java.lang.reflect.Method.invoke(Method.java:585)
    2008-12-04 21:02:33.005      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
    2008-12-04 21:02:33.005      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.005      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    2008-12-04 21:02:33.005      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.005      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    2008-12-04 21:02:33.005      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:54)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
    2008-12-04 21:02:33.006      at java.security.AccessController.doPrivileged(Native Method)
    2008-12-04 21:02:33.006      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:187)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:516)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:289)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.JaasModeImpl$BasicExecutor.execute(JaasModeImpl.java:158)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
    2008-12-04 21:02:33.006      at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
    2008-12-04 21:02:33.006      at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:475)
    2008-12-04 21:02:33.006      at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:431)
    2008-12-04 21:02:33.006      at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:139)
    2008-12-04 21:02:33.006      at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:126)
    2008-12-04 21:02:33.006      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2008-12-04 21:02:33.006      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2008-12-04 21:02:33.006      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2008-12-04 21:02:33.006      at java.lang.reflect.Method.invoke(Method.java:585)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.006      at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
    2008-12-04 21:02:33.006      at java.security.AccessController.doPrivileged(Native Method)
    2008-12-04 21:02:33.006      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:187)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:516)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:289)
    2008-12-04 21:02:33.006      at oracle.oc4j.security.JaasModeImpl$BasicExecutor.execute(JaasModeImpl.java:158)
    2008-12-04 21:02:33.007      at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
    2008-12-04 21:02:33.007      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.007      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    2008-12-04 21:02:33.007      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    2008-12-04 21:02:33.007      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
    2008-12-04 21:02:33.007      at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
    2008-12-04 21:02:33.007      at DeliveryBean_LocalProxy_4bin6i8.request(Unknown Source)
    2008-12-04 21:02:33.007      at oracle.fabric.BPELServiceEngine.request(BPELServiceEngine.java:277)
    2008-12-04 21:02:33.007      at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:136)
    2008-12-04 21:02:33.007      at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    2008-12-04 21:02:33.007      at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:111)
    2008-12-04 21:02:33.007      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2008-12-04 21:02:33.007      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2008-12-04 21:02:33.007      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    2008-12-04 21:02:33.007      at java.lang.reflect.Method.invoke(Method.java:585)
    2008-12-04 21:02:33.007      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
    2008-12-04 21:02:33.007      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
    2008-12-04 21:02:33.007      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
    2008-12-04 21:02:33.007      at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    2008-12-04 21:02:33.007      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
    2008-12-04 21:02:33.007      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    2008-12-04 21:02:33.007      at $Proxy102.request(Unknown Source)
    2008-12-04 21:02:33.007      at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:911)
    2008-12-04 21:02:33.007      at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:630)
    2008-12-04 21:02:33.007      at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:96)
    2008-12-04 21:02:33.007      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1055)
    2008-12-04 21:02:33.007      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:763)
    2008-12-04 21:02:33.007      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:528)
    2008-12-04 21:02:33.007      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:212)
    2008-12-04 21:02:33.007      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:176)
    2008-12-04 21:02:33.007      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:311)
    2008-12-04 21:02:33.007      at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:207)
    2008-12-04 21:02:33.007      at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    2008-12-04 21:02:33.007      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    2008-12-04 21:02:33.007      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:692)
    2008-12-04 21:02:33.007      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:351)
    2008-12-04 21:02:33.007      at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:977)
    2008-12-04 21:02:33.007      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:878)
    2008-12-04 21:02:33.007      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:676)
    2008-12-04 21:02:33.008      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:644)
    2008-12-04 21:02:33.008      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:436)
    2008-12-04 21:02:33.008      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:185)
    2008-12-04 21:02:33.008      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:153)
    2008-12-04 21:02:33.008      at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:276)
    2008-12-04 21:02:33.008      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:223)
    2008-12-04 21:02:33.008      at oracle.oc4j.network.ServerSocketAcceptHandler.access$900(ServerSocketAcceptHandler.java:39)
    2008-12-04 21:02:33.008      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:841)
    2008-12-04 21:02:33.008      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    2008-12-04 21:02:33.008      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    2008-12-04 21:02:33.008      at java.lang.Thread.run(Thread.java:595)
    2008-12-04 21:02:33.008 Caused by: javax.xml.ws.WebServiceException: Could not determine WSDL ports
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:143)
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.jaxws.WSDLMetadata.getPort(WSDLMetadata.java:380)
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:262)
    2008-12-04 21:02:33.008      at javax.xml.ws.Service.createDispatch(Service.java:325)
    2008-12-04 21:02:33.008      at oracle.integration.platform.blocks.soap.AbstractWebServiceBindingComponent.dispatchRequest(AbstractWebServiceBindingComponent.java:365)
    2008-12-04 21:02:33.008      at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.processOutboundMessage(WebServiceExternalBindingComponent.java:159)
    2008-12-04 21:02:33.008      at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.sendSOAPMessage(WebServiceExternalBindingComponent.java:551)
    2008-12-04 21:02:33.008      ... 132 more
    2008-12-04 21:02:33.008 Caused by: java.io.IOException: Could not find schema from URL source, file source, classpath or application context at this lcoation: "file:SimilarOpportunityPredictionService.wsdl"
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.schema.SchemaLocator.getDocument(SchemaLocator.java:66)
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.schema.SchemaHelper.getDocument(SchemaHelper.java:178)
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.schema.SchemaHelper.getDocument(SchemaHelper.java:163)
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.jaxws.WSDLMetadata.readWsdlDefinition(WSDLMetadata.java:329)
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPortsFromWsdl(WSDLMetadata.java:170)
    2008-12-04 21:02:33.008      at oracle.j2ee.ws.common.jaxws.WSDLMetadata.initPorts(WSDLMetadata.java:141)
    2008-12-04 21:02:33.008      ... 138 more
    2008-12-04 21:02:33.067 Error during handle work item ORABPEL-02025
    Block cannot handle exception.
    failure of the block "BpPrc0" to handle a business exception for the instance "1203"; exception reported is: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{code=<code>null</code>
    ,summary=<summary>Could not determine WSDL ports</summary>
    ,detail=<detail>null</detail>
    This error contained the exceptions thrown by the underlying routing system.
    Contact Oracle Support Services. Provide the error message, the composite source and the exception trace in the log files (with logging level set to debug mode).
                                                                                                                                                                                                                                                                                                                2008-12-04 21:02:33.076 Message Type is normalized, exiting agent.processFault()
    2008-12-04 21:02:33.131 An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException.

    BPEL process:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Thu Dec 04 20:03:30 EST 2008
    Author: alpavlov
    Purpose: Synchronous BPEL Process
    -->
    <process name="RealTimePrediction"
    targetNamespace="http://xmlns.oracle.com/SOA-WSIF/RTPrediction/RealTimePrediction"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:client="http://xmlns.oracle.com/SOA-WSIF/RTPrediction/RealTimePrediction"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns1="http://xmlns.oracle.com/oracle/apps/spe/prediction/rt/common/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns2="http://xmlns.oracle.com/oracle/apps/spe/prediction/rt/common/types/">
    <!--
    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="bpelprocess1_client" partnerLinkType="client:RealTimePrediction" myRole="RealTimePredictionProvider"/>
    <partnerLink name="SimilarOpportunityPredictionService"
    partnerRole="SimilarOpportunityPredictionService_Role"
    partnerLinkType="ns1:SimilarOpportunityPredictionService_PL"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="inputVariable"
    messageType="client:RealTimePredictionRequestMessage"/>
    <variable name="outputVariable"
    messageType="client:RealTimePredictionResponseMessage"/>
    <variable name="CustomerId" type="xsd:string"/>
    <variable name="OpptyId" type="xsd:string"/>
    <variable name="RevnueId" type="xsd:string"/>
    <variable name="Invoke_1_input"
    messageType="ns1:SimilarOpportunityPredictionService_getSimilarOpportunityInfo"/>
    <variable name="Invoke_1_output"
    messageType="ns1:SimilarOpportunityPredictionService_getSimilarOpportunityInfoResponse"/>
    </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 RealTimePrediction.wsdl) -->
    <receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:RealTimePrediction" operation="process" variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <assign name="Assign_WS_Call_Parameters">
    <copy>
    <from variable="CustomerId"/>
    <to part="parameters"
    query="/ns2:getSimilarOpportunityInfo/ns2:customerId"
    variable="Invoke_1_input"/>
    </copy>
    <copy>
    <from variable="OpptyId"/>
    <to part="parameters" query="/ns2:getSimilarOpportunityInfo/ns2:opptyId"
    variable="Invoke_1_input"/>
    </copy>
    <copy>
    <from variable="RevnueId"/>
    <to part="parameters" query="/ns2:getSimilarOpportunityInfo/ns2:revnId"
    variable="Invoke_1_input"/>
    </copy>
    </assign>
    <invoke name="Invoke_1"
    inputVariable="Invoke_1_input"
    outputVariable="Invoke_1_output"
    partnerLink="SimilarOpportunityPredictionService"
    portType="ns1:SimilarOpportunityPredictionService"
    operation="getSimilarOpportunityInfo"/>
    <!-- Generate reply to synchronous request -->
    <reply name="replyOutput" partnerLink="bpelprocess1_client" portType="client:RealTimePrediction" operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    Edited by: user553152 on Dec 4, 2008 6:14 PM

  • Synchronous File Read on Invoke Problem

    I am trying to invoke file adapter to read the file once(Synchronous File Read) as described in Bpeltechadapter guide.
    Read about Synchronous File Reading Capability here download.oracle.com/otndocs/products/bpel/bpeltechadp.pdf
    Also read this: Re: Help! Three questions about FileAdapater. .
    I get this process generation failed when i try to build it. The Empty_msg in inputvariable of invoke works but problem is with Charges_msg in output variable.
    I am sure its something to do with ns but not getting it to work.
    PL_FileInbound.WSDL code*********************
    <definitions
    name="PL_FileInbound"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/PL_FileInbound/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/PL_FileInbound/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:imp1="http://TargetNamespace.com/FA_ReadFile"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    >
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/file/" location="fileAdapterOutboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/PL_FileInbound/">
    <import namespace="http://TargetNamespace.com/FA_ReadFile" schemaLocation="PipeDelimitedNIX_Charges.xsd" />
    <element name="empty"><complexType/></element>
    </schema>
    </types>
    <message name="Chargesheet_msg">
    <part name="Chargesheet" element="impl:Chargesheet"/>
    </message>
    <message name="Empty_msg">
    <part name="Empty" element="tns:empty"/>
    </message>
    <portType name="SynchronousRead_ptt">
    <operation name="SynchronousRead">
    <input message="tns:Empty_msg"/>
    <output message="tns:Chargesheet_msg"/>
    </operation>
    </portType>
    <binding name="SynchronousRead_binding" type="tns:SynchronousRead_ptt">
    <jca:binding />
    <operation name="SynchronousRead">
    <jca:operation
    PhysicalDirectory="C:\Incoming"
    InteractionSpec="oracle.tip.adapter.file.outbound.FileReadInteractionSpec"
    FileName="abcl.txt"
    DeleteFile="false"
    OpaqueSchema="false">
    </jca:operation>
    <input>
    <jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="PL_FileInbound">
    <port name="SynchronousRead_pt" binding="tns:SynchronousRead_binding">
    <jca:address location="eis/FileAdapter" />
    </port>
    </service>
    <plt:partnerLinkType name="Read_plt" >
    <plt:role name="Read_role" >
    <plt:portType name="tns:SynchronousRead_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    BPEL Source ******************************************
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Sat Apr 29 16:52:43 CDT 2006
    // Author: dpatel
    // Purpose: Synchronous BPEL Process
    -->
    <process name="SynchronousFileRead"
    targetNamespace="http://xmlns.oracle.com/SynchronousFileRead"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpws="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:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/PL_FileInbound/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/SynchronousFileRead"
    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:SynchronousFileRead"
    myRole="SynchronousFileReadProvider"/>
    <partnerLink myRole="Read_role" name="PL_FileInbound"
    partnerRole="Read_role" partnerLinkType="ns1:Read_plt"/>
    </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:SynchronousFileReadRequestMessage"/>
    <!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="outputVariable"
    messageType="client:SynchronousFileReadResponseMessage"/>
    <variable name="Invoke_1_SynchronousRead_InputVariable"
    messageType="ns1:Empty_msg"/>
    <variable name="Invoke_1_SynchronousRead_OutputVariable"
    messageType="ns1:Chargesheet_msg"/>
    </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 SynchronousFileRead.wsdl
    -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:SynchronousFileRead" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <invoke name="Invoke_1" partnerLink="PL_FileInbound"
    portType="ns1:SynchronousRead_ptt" operation="SynchronousRead"
    inputVariable="Invoke_1_SynchronousRead_InputVariable"
    outputVariable="Invoke_1_SynchronousRead_OutputVariable"/>
    <!--outputVariable="Invoke_1_SynchronousRead_OutputVariable"-->
    <reply name="replyOutput" partnerLink="client"
    portType="client:SynchronousFileRead" operation="process"
    variable="outputVariable"/>
    </sequence>
    </process>
    I would really appreciate your help here.

    I face the same issue and I have given all permissions to the folder for OS user.
    Because of this error my server is not starting up . Is there any way I can undeploy this composite to get my server running.
    I cant do this from EM because SOA server is failing to start up.
    I have tried removing it from $DOMAIN_HOME/deployed-composites but still when i try restarting the soa server the composite comes up there. Do we need to delete the entry some where else too. Kindly help.
    Thanks,
    Sri.

  • FTP adapter should take file path and name at runtime..

    Hello All,
    I have requirement of getting the file from remote machine into local machine..thinking FTP adapter should help me to do this..
    I dont need to poll the remote directory. rather I will pass the exact path and name of the file to be fetched during runtime as an input to the bpel process.
    How to configure the FTP Adapter to receive the file path runtiime and gets it to local machine.
    Is it doable using ftp adapter..?
    Thanks
    Saikrishna

    Hello Anne,
    Thank you for the help.
    I am not able to call a adapter partner link using invoke activity..I am facing variable type conflicts.
    modified the
    OutboundFtpHeaderType wsdl to take file name and directory as:
    <complexType>
    <sequence>
    <element name="*fileName*" type="string"/>
    <element name="*directory*" type="string"/>
    </sequence>
    </complexType>
    Using Adapters tab of Invoke activity created a variable:
    <variable name="outputVariable"
    messageType="client:FTPadapterResponseMessage"/>
    <variable name="*filePath*" messageType="ns2:OutboundHeader_msg"/>
    Using Assign Activity, assigned the input varibales to the ftp outboundHeader variable:
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:FTPadapterProcessRequest/client:*directory*"/>
    <to variable="*filePath*" part="outboundHeader"
    query="/ns2:OutboundFTPHeaderType/ns2:directory"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:FTPadapterProcessRequest/client:*filename*"/>
    <to variable="*filePath*" part="outboundHeader"
    query="/ns2:OutboundFTPHeaderType/ns2:fileName"/>
    </copy>
    </assign>
    Used the created variable in the invoke activity as a input paramater to the partner link:
    <invoke name="Invoke_1" partnerLink="ftpAdapterTest"
    portType="ns1:SynchRead_ptt" operation="SynchRead"
    inputVariable="*filePath*" bpelx:inputHeaderVariable="filePath"/>
    <reply name="replyOutput" partnerLink="client" portType="client:FTPadapter"
    operation="process" variable="outputVariable"/>
    I am getting an error in invoke activity:
    Variable type does not match the input type.
    Thanks
    Saikrishna

  • How to pass header values as a part of a Message in BPEL Invoke

    Hi,
    I am not able to add my session id in to the header of the request of an invoke activity in a BPEL process.
    Please help.
    Regards,
    En

    I hope you are following the below steps
    Create a variable of xsd type based on what data needs to be send as part of headers and assign the required values to the created variable.
    Assign the created variable to bpelx:inputHeaderVariable property of invoke activity(manually add the property from source view).
    bpelx:inputHeaderVariable="header request variable"
    <invoke name="InvAccountManagement"
    portType="ns6:AccountManagementPortType"
    inputVariable="InvAccountManagementIV"
    outputVariable="InvAccountManagementOV"
    partnerLink="AccountManagement"
    operation="publishAccount"
    bpelx:inputHeaderVariable="headerRequest"/>
    Mark the posting appropriately as "helpful" or "correct answer", if your issue is solved.
    Regards
    Albin I
    [http://www.albinsblog.com/]

  • Problem while using receive after invoke activity

    Hi,i have got a problem while using a receive activity,after a invoke activity.The invoke acivity seems that does not work and also the debugger runs forever....But if i remove the receive activity,the invoke activity works fine.
    <h2>The output of GlassfishV2 is:<h2>
    This is from the exception block.
    com.sun.bpel.model.meta.impl.RInvokeImpl@f590c6={<?xml version="1.0" encoding="utf-8" ?>
    *<invoke name="Invoke1"*
    partnerLink="PartnerLink2"
    portType="tns:test_service3"
    operation="luizao"
    inputVariable="LuizaoIn"
    outputVariable="LuizaoOut"
    xmlns:tns="http://dim.test.org/"></invoke>}
    *[Fatal Error] :1:1: Content is not allowed in prolog.*
    System exception occured while executing a business process instance.
    java.lang.NullPointerException: WSDL message model is null
    at com.sun.jbi.engine.bpel.core.bpel.debug.WSDLMessageImpl.<init>(WSDLMessageImpl.java:56)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CallFrame.onFault(CallFrame.java:380)
    at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:91)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
    at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:401)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:240)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
    This is from the exception block.
    I think correlation sets are ok(i have two receive activities).
    I use Netbeans6.0 IDE.
    Can anyone help me?
    Sorry,but i don't speak English fluently

    I can't debug it more,because the bpel variables window disappears when the proccess comes to invoke activity.
    The bpel code is simple:I have got a sequence with follow activities:
    receive
    assign
    invoke
    receive
    assign
    reply
    The code is:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
        name="Testfile2"
        targetNamespace="http://enterprise.netbeans.org/bpel/Test2/Testfile2"
        xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:tns="http://enterprise.netbeans.org/bpel/Test2/Testfile2" xmlns:ns0="http://xml.netbeans.org/schema/Testfile2" xmlns:ns1="http://j2ee.netbeans.org/wsdl/Testfile2">
       <import namespace="http://j2ee.netbeans.org/wsdl/Testfile2" location="Testfile2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service3Wrapper" location="Partners/test_service3/test_service3Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service3/test_service3.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service2Wrapper" location="Partners/test_service2/test_service2Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service2/test_service2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <partnerLinks>
          <partnerLink name="PartnerLink3" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service2Wrapper" partnerLinkType="tns:test_service2LinkType" myRole="test_service2Role"/>
          <partnerLink name="PartnerLink2" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service3Wrapper" partnerLinkType="tns:test_service3LinkType" partnerRole="test_service3Role"/>
          <partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" partnerLinkType="tns:Testfile21" myRole="Testfile2PortTypeRole"/>
       </partnerLinks>
       <variables>
          <variable name="Testfile2OperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationReply"/>
          <variable name="Operation1In" xmlns:tns="http://dim.test.org/" messageType="tns:operation1"/>
          <variable name="LuizaoOut" xmlns:tns="http://dim.test.org/" messageType="tns:luizaoResponse"/>
          <variable name="LuizaoIn" xmlns:tns="http://dim.test.org/" messageType="tns:luizao"/>
          <variable name="Testfile2OperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationRequest"/>
       </variables>
       <correlationSets>
          <correlationSet name="CorrelationSet1" properties="ns1:My_Property"/>
       </correlationSets>
       <sequence>
          <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationIn">
             <correlations>
                <correlation set="CorrelationSet1" initiate="yes"/>
             </correlations>
          </receive>
          <assign name="Assign1">
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:ena</from>
                <to>$LuizaoIn.parameters/ena</to>
             </copy>
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:id</from>
                <to>$LuizaoIn.parameters/id</to>
             </copy>
          </assign>
          <invoke name="Invoke1" partnerLink="PartnerLink2" operation="luizao" xmlns:tns="http://dim.test.org/" portType="tns:test_service3" inputVariable="LuizaoIn" outputVariable="LuizaoOut"/>
          <receive name="Receive2" createInstance="no" partnerLink="PartnerLink3" operation="operation1" xmlns:tns="http://dim.test.org/" portType="tns:test_service2" variable="Operation1In">
             <correlations>
                <correlation set="CorrelationSet1" initiate="no"/>
             </correlations>
          </receive>
          <assign name="Assign2">
             <copy>
                <from>$Operation1In.parameters/hik</from>
                <to>$Testfile2OperationOut.part1/ns0:hik</to>
             </copy>
          </assign>
          <reply name="Reply1" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationOut"/>
       </sequence>
    </process>If it's a bug,that means that i can't use second receive after invoke any more?

Maybe you are looking for

  • After upgrade resin no longer works with Apache!BIG ISSUE

    Hi Af! After the huge update - i ran into some big issue's !!! Normaly i have apache,php and resin running. but now with the "new" apache - it can no longer accept resin's mod_caucho.so? Running apachectl -t gives an error: configerror at line 428  -

  • The memory could not be read!  Safari on Windows

    The instruction at "0x121f377b" referenced memory at "0x00000000". The memory could not be "read". Click ok to terminate the program I get this error every time safari opens and every time you click a link from an exterior application like email or w

  • Cannot install Adobe Creative Suite 3

    Would need some more tips about how to get Adobe Creative Suite 3 design standard to at all install. The machines I want to install onto are PPC G5s dual core with 4 GB of RAM and Mac OS X 10.4.10 (we do not want 10.4.11 as we need Safari 2.0.4 to re

  • Is the N97 Mail for Exchange or MfE 'provisionable...

    Background info:  I used to carry two phones, the N95 and the E51.  Before MfE 2.0 came out, MfE was not installable on the N95 (or any N series phones).  So I bought the E51 so that I can use MfE to have my corporate mail pushed to me.  Today, I'm t

  • Excise Values not appearing in MIGO

    Dear All, We are using tax procedure TAXINN. When I tried to create a GR doc with ref to a PO the excise values are not getting flown from my PO. I tried both in MIGO as J1IEX, but the excise values are not getting flown. Also please note that for th