[BPEL 10.1.3.3] href attribute in SOAP body

Hi,
An interesting issue appeared for one of my clients.
Whenever there is a "href" attribute in the xml contents of the soap call to the BPEL process, following error occurs:
<faultstring>ORABPEL-04110Cannot insert attachment.The process domain was unable to insert attachent into the datastore. The exception reported is: 0Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid.sql statement: BEGIN INSERT INTO attachment( key, bin ) VALUES ( ?, '0' ) RETURNING bin INTO ?; END; </faultstring>
The thing is - href has a special meaning in SOAP and is related to binary attachments, but here it's just a plain attribute which happens to be named "href".
My Questions:
1) is there a way to disable this special treatment of "href" in xmlparser or bpel engine/process?
2) is this an error on the part of the caller to use "href" and expect it to not be treated in any special way?
Thanks and regards,
Bartek

Hi
I saw this behaviour in 10.1.3.1 as well. We have just patched up 10.1.3.3.1 and was hoping this will be addressed. It was not. :-(
You should be able to work-around the not-found error by just correcting the URL in your browser. You will notice that all that went wrong is that it now has the domain name in all lower-case and since this is case sensitive it fails.
We have stopped using mixed-case/uppercase domain names for now.
It seems like a console only issue as the deployed BPEL process was working fine and callable on the mixed-case URL.
Hope this helps.

Similar Messages

  • How to Apply a Graphic Element's "href" Attribute Value on a Graphic Frame

    I have a graphic frame, which I wish to fill with a graphic image. The graphic frame appears as an element in the Structure, as it has a tag attached, and that element has a legitimate "href" as a full path to a graphic file. In UI mode, I have to drag that element onto the graphic frame in order for the graphic frame to be filled with the graphic file. How do I perform the same action in JavaScript?
    TIA
    mlavie

    I thought I should provide an explanation for what I meant:
    I am aware, of course, of how to use "Place". The issue here is that I have a Page that is a template, which includes a Graphic Frame. I want to open the page, and then update the Graphic Frame element's "href" tag with the path of a graphic file, and have that file then appear in the Graphics Frame. By default, InDesign does not redraw the Graphics Frame when you change the value for the "href" attribute - you need to drag the parent element onto the Graphics Frame.
    TIA
    mlavie

  • HTML a href Attribute in Safari

    I have set up my personal homepage using a number of HTML a href attributes inside a table, so that when I click on one of these, it will take me down to the appropriate anchor defined by HTML a name. This works fine in Firefox, but does not seem to work in Safari 3.2.1. In Safari, it simply stays put and does not take me down to the appropriate anchor.
    Example of my HTML:
    <tr>
    <td>Favourites</td>
    <td>Airlines</td>
    <td>Architecture</td>
    <td>Art, Images, Pictures, Photography & Posters</td>
    <td>Books, Book Stores, Literature, Literary Societies</td>
    <td>Cars</td>
    <td>CCCV</td>
    </tr>
    Airlines
    Cathay Pacific
    Qantas
    Frequent Flyer
    Singapore Airlines
    Virgin Blue Australia
    <hr>
    Architecture
    Monument Environments
    <hr>

    Hi Alex,
    Have you tried dropping the <base> tag in the header? That should make the named anchors load quicker as well as the browser won't attempt to re-download the page all over again.
    Also, your DOCTYPE declaration seems a bit out of date. I don't think it's affecting anything as such but you might want to update it. I only mention it as the W3C validator check [marks it as being problematic|http://validator.w3.org/check?uri=http%3A%2F%2Fmembers.optusnet.com .au%2Falexcywong%2F&charset=(detect+automatically)&doctype=Inline&group=0].
    I should note that I can't actually test that recommended change above in Safari as I'm not on a Mac at the moment, but it does help with a browser that uses WebKit on my current machine.
    Hope that helps.

  • Xsl:include, dynamic href attribute

    Is it possible to use a xsl parameter or variable for the href attribute of xsl:include ?
    I tried
    <xsl:param name="xxx" />
    and then <xsl:include href="{$xxx}"/>
    or even
    <xsl:include>
    <xsl:attribute name="href">
    <xsl:value-of select="$xxx" />
    </xsl:attribute>
    </xsl:include>
    None of this works (I haven't tried with other xslt processors than Oracle).
    Any suggestions ?
    null

    I have attempted the same thing before as well. The only way I was able to dynamically build the xsl:include was to declare a new namespace e.g xmlns:out="output.xsl" in my XSL file and do something like the following:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:out="output.xsl">
    <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
    <xsl:varible name="xxx" select=" 'myFile.xsl' "/>
    <xsl:template match="/">
    <out:stylesheet version="1.0">
    <out:template match="/">
    <out:include>
    <xsl:attribute name="href">
    <xsl:value-of select="$xxx" />
    </xsl:attribute>
    </out:include>
    </out:template>
    </out:stylesheet>
    </xsl:template>
    </xsl:stylesheet>
    When applied to any valid XML document this produces the XSL file you are after as the output.
    To use this output against your intended XML source consider the following: A Java program can very quickly apply the above stylesheet to any XML source to get the output you want... then apply that XSL result to the actual XML document you are wanting to transform. From here you can do what you want with the transformed result.

  • Firefox removes href attribute from anchor tag on copy paste

    Hi Support,
    I have a text along with the image used as a hyperlink as follows.
    "Sample Text.<a href="javascript:myfunction()"><img title="sample image" src="sample.gif" /></a>"
    When i copy the above text and paste it inside a HTML Control (for e.g. iframe), the control removes the href attribute of 'anchor' tag. It happens only with firefox and safari. It is working correctly in internet explorer.
    "Sample Text.<a ><img title="sample image" src="sample.gif" /></a>"
    Is there any solution for this.? Awaiting for sooner response
    Try clicking on the below link
    http://screencast.com/t/sXq6BcZvJB

    I tested this in Gmail compose, and what I see is: regular links (href="url") are preserved during copy/paste, but javascript links (href="javascript:") are dropped/cleared.
    I don't know whether this is by design. One place to research that would be [https://bugzilla.mozilla.org/].

  • Can I get Href attributes in HTML page ?

    Can I get Href attributes in HTML page ?
    I want to get HTML's table include href.
    I want to get columns "item", "item href", "value" from below table in a HTML web page.
    <table>
    <thead>
    <th>item</th>
    <th>value</th>
    </thead>
    <tbody>
    <tr>
    <td><a href="http://xxx.com/blue">item blue</a></td>
    <td>10</td>
    </tr>
    <tr>
    <td><a href="http://xxx.com/red">item red</a></td>
    <td>20</td>
    </tr>
    </tbody>
    </table>
    Regards,
    Yoshihiro Kawabata

    Hello Ben, I'm using some methos Web.Contents+Text.FromBinary+Text.Replace+Web.Page for href on HTML.
    source1 = Web.Page(
    Text.Replace(
    Text.Replace(
    Text.FromBinary(
    Web.Contents(url)),
    "href=""",
    ">"),
    "q=xx"">", "q=xx,")),
    This query transform href attribute to text in specific HTML.
    Original:
    <table>
    <thead>
    <th>item</th>
    <th>value</th>
    </thead>
    <tbody>
    <tr>
    <td><a href=http://xxx.com/blue?q=xx>item blue</a></td>
    <td>10</td>
    </tr>
    <tr>
    <td><a href="http://xxx.com/red?=q=xx">item red</a></td>
    <td>20</td>
    </tr>
    </tbody>
    </table>
    Result:
    <table>
    <thead>
    <th>item</th>
    <th>value</th>
    </thead>
    <tbody>
    <tr>
    <td><a>http://xxx.com/blue?q=xx, item blue</a></td>
    <td>10</td>
    </tr>
    <tr>
    <td><a>http://xxx.com/red?q=xx, item red</a></td>
    <td>20</td>
    </tr>
    </tbody>
    </table>
    Regards,
    Yoshihiro Kawabata

  • Parsing XML Node with href attribute

    Hi,
    I have the following XML that has to be parsed using JSP DOM. All fine except for one. The only problem that i have is when to parsing the Node with href attribute.
    I am using the following method, and it returned with weird result
    currNode.getAttributes() ====> the result is com.sun.org.apache.xerces.internal.dom.AttributeMap@111ae04
    currNode.getNodeValue() ====> the result is null
    currNode.TextNode ===> it returned *2*
    Can anyone please let me know what did I miss here? What should I do to parse the href attribute into the jsp page?
    The below is the xml.
    <MovieList>
    <Movie href="DarkKnight.xml">
       <head>
             <Title>Batman Dark Knight</Title>
             <Genres>
                   <Genre>Action</Genre>
                   <Genre>Sci-Fi</Genre>
             </Genres>
             <Description>Movie Details here</Description>
       </head>
    </Movie>
    </MovieList>Thanks

    I am not sure what "JSP DOM" is exactly. In the W3C DOM supported since SUN Java 1.4 if you have an element node and want to access an attribute value you can simply use String href = movieElement.getAttribute("href"); You might need to cast your Node to Element first e.g.Element movieElement = (Element)currNode;

  • How to put SOAP body in BPEL variable

    Hi everybody,
    I have a BPEL process which needs to pick up a SOAP-message from a queue, transform the body and send the result to a webservice.
    The process is running deployed and picks up the soap message. In the receive action I see the SOAP message - envolope, header and body - as expected (shown below).
    - <businessEventBody>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="body">
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    - <SOAP-ENV:Header>
    <wsa:To>
    http://testhost/CCS/Service_Endpoint
    </wsa:To>
    - <wsa:From>
    <wsa:Address>
    http://localhost/CCS/Service_Endpoint
    </wsa:Address>
    - <wsa:Metadata>
    - <device xmlns:hl7="urn:hl7-org:v3" xmlns="urn:hl7-org:v3">
    <id root="1.3.6.1.4.1.25208.20.100.50" extension="CCSMESSAGING"/>
    </device>
    </wsa:Metadata>
    </wsa:From>
    <wsa:Action>
    urn:hl7-org:v3:CCS_POCD_IN009010CS14
    </wsa:Action>
    <wsa:MessageID>
    MSG_ID1208340800216
    </wsa:MessageID>
    </wsse:Security>
    </SOAP-ENV:Header>
    - <SOAP-ENV:Body>
    - <CCS_POCD_IN009010CS14 xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <id xsi:type="II" root="1.3.6.1.4.1.25208.20.100.30" extension="com.scandihealth.ccs.NoteInformerCS14com.csc.hat.collaboration.Collaboration@127.0.0.1:1208340800190:0.9747211212965656"/>
    <employerCCS_IdentifiedOrganization classCode="ORG" determinerCode="INSTANCE">
    <id xsi:type="II" root="1.2.2.1" extension="18573" displayable="false"/>
    <id xsi:type="II" root="1.3.6.1.4.1.25208.20.20" extension="5234102" displayable="false"/>
    <code xsi:type="CE" code="ENTERPRISE" codeSystem="1.3.6.1.4.1.25208.20.10.20" codeSystemName="CcsOrgUnitType" displayName="Enterprise"/>
    - <name xsi:type="EN" use="L">
    <given>88</given></name>
    - <name xsi:type="EN" use="AL">
    <given>mnemo-88</given>
    </name>
    - <name xsi:type="EN" use="C">
    <given>Enterprise 88</given>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    </part>
    </businessEventBody>
    Now what I want to do is simply assign the body to a variable as a string (using a copy operation), however all I get is a few scattered excerpts from the body of the message (as shown here).
    <javaInput>
    http://testhost/CCS/Service_Endpoint
    http://localhost/CCS/Service_Endpoint
    urn:hl7-org:v3:CCS_POCD_IN009010CS14
    MSG_ID1208340800216
    88
    mnemo-88
    Enterprise 88
    81.1
    mnemo-81.1
    Unit 81.1
    88
    mnemo-88
    Enterprise 88
    </javaInput>
    My FormatMessageToGS.bpel file is as shown here:
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="FormatMessageToGS"
    targetNamespace="http://xmlns.ccs.scandihealth.com/FormatMessageToGS"
    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:ns4="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns7="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bees="http://xmlns.oracle.com/pcbpel/adapter/jms/BusinessEventErrorService/"
    xmlns:ns5="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ns6="http://com.scandihealth.ccs.webservices.messaging.common/CCSMessageServiceRemote.wsdl"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns1="http://com.scandihealth.ccs.webservices.task.common/CCSBPELTaskServiceRemote.wsdl"
    xmlns:ccstypes="http://ccs.scandihealth.com/workflow/types/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns3="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns2="http://com.scandihealth.ccs.webservices.security.common/CCSSecurityServiceRemote.wsdl"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:jms="http://xmlns.oracle.com/pcbpel/adapter/jms/"
    xmlns:bes="http://xmlns.oracle.com/pcbpel/adapter/jms/BusinessEventService/">
    <bpelx:exec import="javax.xml.transform.*"/>
    <bpelx:exec import="javax.xml.transform.stream.*"/>
    <bpelx:exec import="java.io.*"/>
    <bpelx:exec import="java.util.*"/>
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <partnerLink name="BusinessEventService"
    partnerLinkType="bes:Consume_Message_plt"
    myRole="Consume_Message_role"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <variable name="businessEventBody" messageType="ccstypes:body_msg"/>
    <variable name="businessEventInboundHeader"
    messageType="jms:InboundHeader_msg"/>
    <variable name="javaInput" type="xsd:string"/>
    <variable name="javaOutput" type="xsd:string"/>
    <variable name="FirstXSL" type="xsd:string"/>
    <variable name="SecondXSL" type="xsd:string"/>
    <variable name="SimplerXML" type="xsd:string"/>
    <variable name="OutputToGS" type="xsd:string"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="ReceiveBusinessEvent" partnerLink="BusinessEventService"
    portType="bes:Consume_Message_ptt" operation="Consume_Message"
    variable="businessEventBody" createInstance="yes"
    bpelx:headerVariable="businessEventInboundHeader"/>
    <!-- <throw faultName="deliberateFault" /> -->
    <scope name="XSLT">
    <sequence name="Sequence_1">
    </scope>
    </sequence>
    </process>
    And my types.wsdl is like this:
    <definitions targetNamespace="http://ccs.scandihealth.com/workflow/types/"
    xmlns:tns="http://ccs.scandihealth.com/workflow/types/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema targetNamespace="http://ccs.scandihealth.com/workflow/types/"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="stringElement" type="string"/>
    <complexType name="ccsExceptionType">
    <sequence>
    <element name="faultString" type="string"/>
    <element name="detail" type="string"/>
              </sequence>
    </complexType>
    </schema>
    </types>
    <message name="body_msg">
    <part name="body" element="tns:stringElement"/>
    </message>
    <message name="createTaskResponseMessage"/>
    <message name="ccsExceptionMessage">
    <part name="ccsException" type="tns:ccsExceptionType"/>
    </message>
    </definitions>
    Does anybody have any idea as to what I am doing wrong, and more interesting how I can make it right?
    Any help is truly appreciated.
    Kind regards
    Aagaard

    How did you define headerID?
    You can also see an example here:
    http://java.net/projects/oraclesoasuite11g/pages/BPEL
    Arik

  • Modify SOAP body attribute

    Hi!
    I meet problem with invoke service with message, which contain WS-Security header. i get complete security header from external service and paste it to invoke service (with bpelx:inputHeaderVariable). But there is a problem - WS Security header require reference to SOAP body (like <env:Body wsu:Id="body">), but when i loot to message, which SOA Suite send to the service, i don't see "wsu:Id" in SOAP body.
    So, my question - how can i add attribute wsu:id with value to SOAP body?
    Thanks.

    try this...
    SOAPBody body = envelope.getBody();
    body.addAttribute(new QName(NAMESPACEURI_WSSECURITY_WSU, "Id", "wsu"), ID);

  • XML/XSLT: Setting xsl:include href attribute with a variable

    I have a main layout stylesheet and depending on which page the user selects I want to use xsl:include to display the selected information in the 'content' DIV. The process works fine if hardcode it like this:
    <xsl:include href="welcome.xsl"/>
    <div id="content"
    <xsl:call-template name="welcome"/>
    </div>
    but, what I would like to do is have the name of the included template pulled from the xml file depending on which page was selected by the user. Something similar to this:
    <xsl:variable name="ss">
    <xsl:text><xsl:value-of select="root/stylesheet"/></xsl:text>
    </xsl:variable>
    <xsl:include href="{$ss}.xsl"/>
    <div id="content">
    <xsl:apply-template name="{$ss}"/>
    </div>
    So far I have tried using many different forms of code and have been unable to get this to work. Any ideas?
    EDIT: Okay, I have it partly figured out, at least why it isn't working. As far as I can tell, the 'xsl:include' tag must be a child of the 'xsl:stylesheet' tag, and is thus declared before the <xsl:template match="/"> which means it can't read the xml element to even store it in the variable. I have an idea of how to accomplish what I need, though.
    Last edited by munkyeetr (2009-01-28 03:29:58)

    I have attempted the same thing before as well. The only way I was able to dynamically build the xsl:include was to declare a new namespace e.g xmlns:out="output.xsl" in my XSL file and do something like the following:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:out="output.xsl">
    <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
    <xsl:varible name="xxx" select=" 'myFile.xsl' "/>
    <xsl:template match="/">
    <out:stylesheet version="1.0">
    <out:template match="/">
    <out:include>
    <xsl:attribute name="href">
    <xsl:value-of select="$xxx" />
    </xsl:attribute>
    </out:include>
    </out:template>
    </out:stylesheet>
    </xsl:template>
    </xsl:stylesheet>
    When applied to any valid XML document this produces the XSL file you are after as the output.
    To use this output against your intended XML source consider the following: A Java program can very quickly apply the above stylesheet to any XML source to get the output you want... then apply that XSL result to the actual XML document you are wanting to transform. From here you can do what you want with the transformed result.

  • Change all spaces to underscores in href attribute

    Hello,
    I've just realised all my linked documents are referenced incorrectly in my HTML code: I've used spaces in the file names and didn't replace the spaces by %20 in the URLs in the code. After reflexion, I decided to rename all my files so they contain "_" instead of spaces (done now) and hence now need to update my links (<a href="...">) in the code.
    I've tried various combinations of specific tag/attribute, of regular expressions in the Find/Replace tool of Dreamweaver but I can't get it to do what I want. And I really don't want to do this manually.
    Is there way to search for href="(anything)(a space)(anything)" where (anything) can be a letter, a word or several words (with/without digit characters)? To replace the spaces, I'd then use something along the lines of $1_$2 where $1 = href="(anything) and $2 = (anything)".
    Emilie

    I answered the same question from someone else yesterday. In the Find & Replace dialog box, make sure you select Use regular expression.

  • Cfgrid and href attribute issue

    HI Gang-
    I'm building a relatively simple query driven cfgrid, read-only for the most part but I need one of the columns to be a href value that will serve as a drilldown. Everything working fine except that the name/value pair I need appended to the url is being persnickety.
    The url I'd like to build and have effected in the cfgrid is something like "index.cfm?action=drilldown&orderid=#dynamicValue#"
    I finally got it to work, but not as I would like. Turns out both cfgrid and cfgridcolumn tags each have the "href" and the "hrefkey" attributes, which made for a confusing 45 minutes of trial and error.  The closest I could eventually come to my target url of:
    index.cfm?action=drilldown&orderid=#dynamicValue#
    is actually
    index.cfm?action=drilldown&CFGRIDKEY=#dynamicValue#
    Not what I wanted but I can deal for now.
    Has anyone gotten a hold of building out hrefs in cfgrid using custom name/value pairs dynamically? Would love to know how you did it. Code postings would be even better!
    Many thanks,
    Rich

    Quite a challenge, that one. You can run the following example directly. Have a look at my use of the lastName column. You could also have a look at the ext library.
    <html> 
    <head> 
         <title>Grid URL Demo</title> 
         <script type="text/javascript"> 
         function init(){ 
             var grid = ColdFusion.Grid.getGridObject("ArtistGrid"); 
             grid.addListener("rowclick",onRowClick); 
         function onRowClick(g,rowIndex,e){
           var lastName = ColdFusion.getElementValue("ArtistGrid", "artistGridForm", "lastName");
           var url = "index.cfm?action=drilldown&lastName="+lastName;
           ColdFusion.navigate(url);    
         </script>     
    </head> 
    <body> 
         <cfquery name="getArtists" datasource="cfartgallery"> 
         SELECT artistId, firstname, lastname, address, city, state, postalcode, email 
         FROM Artists 
         </cfquery> 
         <cfset args = structNew()> 
         <cfset args.name = "ArtistGrid"> 
         <cfset args.format = "html"> 
         <cfset args.query = "getArtists"> 
         <cfset args.stripeRows = true> 
         <cfset args.selectColor = "##D9E8FB"> 
         <cfset args.width = 600> 
         <h1>Artists Grid</h1>       
         <cfform name="artistGridForm" id="artistGridForm"> 
            <cfgrid attributeCollection="#args#"> 
               <cfgridcolumn name="artistid" display="false"> 
               <cfgridcolumn name="firstname" header="First Name"> 
               <cfgridcolumn name="lastname" header="Last Name"> 
               <cfgridcolumn name="email" header="Email Address"> 
               <cfgridcolumn name="address" header="Address"> 
               <cfgridcolumn name="city" header="City"> 
               <cfgridcolumn name="state" header="State"> 
               <cfgridcolumn name="postalcode" header="Zip"> 
            </cfgrid> 
         </cfform>  
         <cfset ajaxOnLoad("init")>      
    </body> 
    </html>

  • BPEL has problems parsing XSD with attributes

    Hi,
    When I create a BPEL process with below output XSD, everything works fine.
    +<xsd:element name="WorkflowOutputData">+
    +<xsd:annotation>+
    +<xsd:documentation>+
    This element defines an XML output element
    which is used by all the BPEL workflow services,
    to send output to the calling program
    +</xsd:documentation>+
    +</xsd:annotation>+
    +<xsd:complexType>+
    +<xsd:sequence>+
    +<xsd:element name="Status" type="xsd:string" minOccurs="1" maxOccurs="1" />+
    +<xsd:element name="Errors" minOccurs="0" maxOccurs="1" >+
    +<xsd:complexType>+
    +<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
    +<xsd:element name="Error" type="LogMessage"/>+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +<xsd:element name="Warnings" minOccurs="0" maxOccurs="1">+
    +<xsd:complexType>+
    +<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
    +<xsd:element name="Warning" type="LogMessage"/>+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +<xsd:complexType name="LogMessage">+
    +<xsd:sequence>+
    +<xsd:element name="Code" type="xsd:string" minOccurs="1" maxOccurs="1" />+
    +<xsd:element name="Description" type="xsd:string" minOccurs="1" maxOccurs="1" />+
    +<xsd:element name="FlexField1" type="xsd:string" />+
    +<xsd:element name="FlexField2" type="xsd:string" />+
    +<xsd:element name="FlexField3" type="xsd:string" />+
    +</xsd:sequence>+
    +</xsd:complexType>+
    As soon as I add below approvers element as shown below to the BPEL process output XSD, I'm not able to test the BPEL process in BPEL console.
    "Initiating a test instance" screen in BPEL console doesn't show any html or xml form to enter data.
    +<xsd:element name="WorkflowOutputData">+
    +<xsd:annotation>+
    +<xsd:documentation>+
    This element defines an XML output element
    which is used by all the BPEL workflow services,
    to send output to the calling program
    +</xsd:documentation>+
    +</xsd:annotation>+
    +<xsd:complexType>+
    +<xsd:sequence>+
    +<xsd:element name="Status" type="xsd:string" minOccurs="1" maxOccurs="1" />+
    +<xsd:element name="Errors" minOccurs="0" maxOccurs="1" >+
    +<xsd:complexType>+
    +<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
    +<xsd:element name="Error" type="LogMessage"/>+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +<xsd:element name="Warnings" minOccurs="0" maxOccurs="1">+
    +<xsd:complexType>+
    +<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
    +<xsd:element name="Warning" type="LogMessage"/>+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +<xsd:element name="Approvers" minOccurs="0" maxOccurs="1">+
    +<xsd:complexType>+
    +<xsd:sequence maxOccurs="unbounded">+
    +<xsd:element name="Approver" type="Actor" />+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +</xsd:element>+
    +<xsd:complexType name="LogMessage">+
    +<xsd:sequence>+
    +<xsd:element name="Code" type="xsd:string" minOccurs="1" maxOccurs="1" />+
    +<xsd:element name="Description" type="xsd:string" minOccurs="1" maxOccurs="1" />+
    +<xsd:element name="FlexField1" type="xsd:string" />+
    +<xsd:element name="FlexField2" type="xsd:string" />+
    +<xsd:element name="FlexField3" type="xsd:string" />+
    +</xsd:sequence>+
    +</xsd:complexType>+
    +<xsd:complexType name="Actor">+
    +<xsd:attribute name="Name"/>+
    +<xsd:attribute name="Email"/>+
    +<xsd:attribute name="Designation"/>+
    +<xsd:attribute name="ApprovalSequence"/>+
    +<xsd:attribute name="FlexField1"/>+
    +<xsd:attribute name="FlexField2"/>+
    +<xsd:attribute name="FlexField3"/>+
    +<xsd:attribute name="FlexField4"/>+
    +<xsd:attribute name="FlexField5"/>+
    +</xsd:complexType>+
    1) approvers element is added to output xsd and not to input xsd.
    2) I see a javascript error "Object expected" iin "Initiating a test instance" BPEL screen.
    3) The new approver element contains only attributes.
    Could someone help me understand the issue with the XSD. Your help is highly appreciated.
    Thanks & Regards
    Leena

    Main issue was I was using an element
    <xsd:element name="DataElements" minOccurs="0" maxOccurs="1">
    <xsd:annotation>
    <xsd:documentation>
    Most of the worflow services return status, errors and warnings
    and doesn't return any DataElements.
    In current implementation, only one of the workflow services returns approver list.
    To take care of future scenarios
    where a data element might be required to return some data,
    an extra 'DataElement' field is added to the XSD.
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="DataElement" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:attribute name="Name"/>
    <xsd:attribute name="Value"/>
    <xsd:attribute name="FlexField1"/>
    <xsd:attribute name="FlexField2"/>
    <xsd:attribute name="FlexField3"/>
    <xsd:attribute name="FlexField4"/>
    <xsd:attribute name="FlexField5"/>
    </xsd:complexType>
    </xsd:element>
         </xsd:sequence>
              </xsd:complexType>     
              </xsd:element>
    which I had to change to
    <xsd:element name="DataElements" minOccurs="0" maxOccurs="1">
    <xsd:complexType>
    <xsd:sequence minOccurs="0" maxOccurs="unbounded">
    <xsd:element name="DataElement" type="DataElementType" />
    </xsd:sequence>
    </xsd:complexType>     
         </xsd:element>
    <xsd:complexType name="DataElementType">
    <xsd:attribute name="Name" type="xsd:string"/>
    <xsd:attribute name="Value" type="xsd:string"/>
    <xsd:attribute name="FlexField1" type="xsd:string"/>
    <xsd:attribute name="FlexField2" type="xsd:string"/>
    <xsd:attribute name="FlexField3" type="xsd:string"/>
    <xsd:attribute name="FlexField4" type="xsd:string"/>
    <xsd:attribute name="FlexField5" type="xsd:string"/>
    </xsd:complexType>

  • Change href Attribute

    I'm currently working on a website in DW8. This site has both
    English and Spanish pages. The document names are the same but are
    in separate folders ("en/home.htm" for English and "es/home.htm"
    for Spanish). I put a link on the top right of each page for
    toggling between the English and Spanish pages.
    I created the pages using a DW template. Is there a simple
    way to change the link sitewide? Maybe using Find and Replace? Is
    it possible, using Find and Replace, to change "href=#" to
    "href=['name of current document'.html]"?
    Any comments would help. Thank you

    I'm a little confused, too. Which link are you wanting to
    change?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "CoolD78" <[email protected]> wrote in
    message
    news:f2kklg$jmp$[email protected]..
    > I'm currently working on a website in DW8. This site has
    both English and
    > Spanish pages. The document names are the same but are
    in separate folders
    > ("en/home.htm" for English and "es/home.htm" for
    Spanish). I put a link on
    > the
    > top right of each page for toggling between the English
    and Spanish pages.
    >
    > I created the pages using a DW template. Is there a
    simple way to change
    > the
    > link sitewide? Maybe using Find and Replace? Is it
    possible, using Find
    > and
    > Replace, to change "href=#" to "href=['name of current
    document'.html]"?
    >
    > Any comments would help. Thank you
    >

  • Use of A tag's href attribute vs. onClick event handler

    See
    http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/4d2e99b2a8bdbbd2/2d588fb34191a654
    The general consensus among all the gurus out there is that using the href=javascript: pseudo-protocol is baaaaad. Bad, bad, bad. It is proprietary, unreliable, undocumented and supported only for backward compatibility.
    HTML DB uses that all over the place. In fact, buttons and tabs use only href= "javascript:doSubmit(...)" to do their thing.
    I know that HTML DB makes no attempt to "degrade gracefully" on browsers which are not Javascript enabled. In other words, Javascript is a "minimum requirement" for running HTML DB, thats fine.
    But I know that Carl, Scott and the rest of the HTML DB team take "correctness" and standards-compliance very seriously.
    So, why was the decision made to use href=javascript: vs. onClick="..."?
    Thanks

    Hello,
    I never thought it was such a big deal either, you learn something new everyday.
    I don't know the particular reason that this was chosen in the first place. I do know it was chosen before 1.4 because it was already in there when I started on working on it, probably just evolved in this way overtime.
    It's always worked other than the few times I was trying to get the function someFunction(this) object and then I just move it to the onclick, after seeing that long and sometimes vicious thread on your googlegroups link you can guarantee it will be put on the list of things to look at for future fix's.
    Seem like it would make a good Tips and Tricks for the studio about moving it to the onclick in templates.
    Carl

Maybe you are looking for

  • How do I convert an m4a video file to anything else?

    I need to edit out some video from an iPod converted video file. How do I do this?

  • BPEL tutorial or Jdeveloper 11g ?

    Hi all, I have just installed SOA suite 11g.I am trying to create a sample BPEL process,I am unable to find create new BPEL project in Jdev 11g. Can anyone kindly post the link for bepl development tutorial in j developer 11g ? Thank You

  • 15" MacBook Pro C2D won't boot

    Hey folks, I'm in dire straights here.  My MBP C2D won't boot.  In fact, it won't do anything.  The only light that does come on is the charger cable, I get a green light there.  Beyong that, absolutely nothing.  Except for crickets. I tried just pre

  • ATT e-mail on the iPad 3

    On the first iPad I had the ability to set up folders in mail for my AT&T email (i.e. [email protected]).  I now have an iPad 3 and when I migrated my information continued to have the folders.  Then I had an issue which I mistakenly tried to correct

  • Problems adding songs to libraries, ipod, etc.

    My ipod recently stopped downloading files. I assumed it was the ipod. I followed all of the steps to restoring it. That did not work. I sent it to have it repaired. They could not find a problem with it. They still have it. Today, I tried to downloa