Breaking Apart a Multi-Part Key

Post Author: LauraStrud
CA Forum: General
Hello;
I need to break a multi part key in a table to accomplsih a join. For example Table 1 has Key (StudID *AcadLevel .  I need to just get the StudID to join to another table.  How can I accomplish that without having to create a new table/view?
Thanks

Post Author: LauraStrud
CA Forum: General
SKodidine
Thanks for your quick reply... Ok.. I apologize for the ignorance here... but CR is still a little 'new' to me.
I assume I add that as a formula or go to the Show SQL Query and update either of those fields???  I thought I might be able to go to the Database Expert' and add that field to the table there, but the Database Expert doesn't seem to let me add fields to the table there??  I really just need to know where to update the link field to the table so I can do the join???
Again, sorry for the ignorance.
Laura

Similar Messages

  • Multi Part Key broken Apart

    Post Author: LauraStrud
    CA Forum: Formula
    Hi
    I would like to take a multi part key and push both pieces to the same field.  For example, I would like the key: 123*456 to be placed in a new field, but both pieces in the same field (ID2 or something like that)  I am writing this in the Add command of Crystal..  I can also do it through SQL.and build a view.
    Thaks for any input.

    Post Author: V361
    CA Forum: Formula
    Can you post what your command looks like so far.  also field names for what you are trying to "Join" for lack of a better word.   In your report you could have 
    & " " & or
    & "" & if you don't want the space between, and forget about trying to do this in the command.

  • BAPI_REL_GETRELATIONS when objectid-objkey is multi-part ???

    BAPI_REL_GETRELATIONS takes an importing parm OBJECTID of type bapiborid.
    In the bapiborid structure, obkkey is a char 70 field:
    OBJKEY     SWO_TYPEID     CHAR     70
    So when my BO is "DRAW" with a complex multi-part key consisting of
    DOKAR     DOKAR     CHAR     3
    DOKNR     DOKNR     CHAR     25
    DOKVR     DOKVR     CHAR     2
    DOKTL     DOKTL_D     CHAR     3
    how do I specifiy objkey within objectid?
    Do I just concatenate dokar, doknr, dokvr, and doktl into objkey ?????
    Please advise.
    Thanks.

    hi use
    data: test(3) type c value 'test',
            test1(5) type c value 'test',
            test2(6) type c value 'test',
             test3(7) type c value 'test',
            test4(40) type c .
    concatenate test test1 test2 test3 into test4  .
           write:/ test4 .
    if zeros need use the conversion exits

  • Creating a cfhttp multi part form post for google docs upload

    Hey all,
    If you saw my last thread, you know I am working with google docs and uploading documents to it. Well I got basic document uploading working, but now I am trying to include meta data. Google requires you to include the metadata with the actual file data and seperate them by using a multi part form upload. I don't know exactly the process for doing so, but they have a handy code snippet of the desired results at
    http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#UploadingDoc s
    So I am basically trying to mimic that payload, however I am continually getting an error stating that there are no parts in a multi part form upload.
    <errors xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>InvalidEntryException</code><internalReason>No parts detected in multipart message</internalReason></error></errors>
    to be exact. I am not really sure what I am doing wrong here. I figure it is one of two things, either I am not including the actual data in the payload properly (I am currently using a body type param for the payload, but I have also tried a formfield named content to deliver it. Neither worked). So maybe I need to do something else tricky there? The other thing which I am not reallly sure about is the content-length attribute. I don't know exactly how to calculate that, and I read in another forum that a content length attribute was messing that guy up. Right now I am just taking the lenght of the payload string and multiplying by 8 (to get the number of bytes for the entire payload) but hell if I know if that is right. It could be I just don't know how to set up the parts for the message, it seems pretty straight forward though. Just define a boundary in the content-type, then put two dashes before it wherever you define a new part, and two dashes trailing the last part.
    Anyway, here is my code, any help is much appreciate. I'm a bit beyond my expertise here (not really used to trying to have to roll my own http requests, nevermind multipart post form data) so I'm kinda flailing around. Thanks again.
    <cffunction name="upload" access="public" returnType="any" hint="I upload the document." output="false">
        <cfargument name="filePath" type="string" required="false" hint="file to upload.">
        <cfargument name="docType" type="string" required="yes" hint="The document type to identify this document see google list api supported documents">
        <cfargument name="parentCollectionId" type="string" required="no" hint="the name of the collection/collection to create (include collection%3A)">
        <cfargument name="metaData" type="struct" required="no" hint="structure containing meta data. Keyname is attribute name, value is the value">
        <cfset var result = structnew()>
        <cfset result.success = true>
        <cftry>
            <cfif structkeyexists(arguments,"parentCollectionId")>
                      <cfset arguments.parentCollectionId = urlencodedformat(parentCollectionId)>             
                      <cfset result.theUrl = "https://docs.google.com/feeds/default/private/full/#arguments.parentCollectionId#/contents">
                <cfelse>
                        <cfset result.theUrl = "https://docs.google.com/feeds/default/private/full/">
            </cfif>
             <cfoutput>
                  <cffile action="read" file="#arguments.filePath#" variable="theFile">
                <cfsavecontent variable="atomXML">
                     Content-Type: application/atom+xml
                    <?xml version='1.0' encoding='UTF-8'?>
                    <entry xmlns="http://www.w3.org/2005/Atom" xmlns:docs="http://schemas.google.com/docs/2007">
                      <category scheme="http://schemas.google.com/g/2005##kind"
                          term="http://schemas.google.com/docs/2007###arguments.docType#"/>
                        <cfloop collection="#arguments.metaData#" item="key">
                            <#key#>#arguments.metadata[key]#</#key#>
                        </cfloop>
                    </entry>
                    --END_OF_PART
                    Content-Type: text/plain
                    #theFile#
                    --END_OF_PART--
                </cfsavecontent>       
            </cfoutput>      
            <cfset result.postData = atomXML>
            <cfhttp url="#result.theUrl#" method="post" result="httpRequest" charset="utf-8" multipart="yes">
                <cfhttpparam type="header" name="Authorization" value="GoogleLogin auth=#getAuth()#">
                <cfhttpparam type="header" name="GData-Version" value="3">
                <cfhttpparam type="header" name="Content-Length" value="#len(trim(atomXML))*8#">           
                <cfhttpparam type="header" name="Content-Type" value="multipart/related; boundary=END_OF_PART">
                <cfhttpparam type="header" name="Slug" value="test file --END_OF_PART">
                <cfhttpparam type="body" name="content" value="#trim(atomXML)#">
            </cfhttp>
            <cftry>
                   <cfset packet = xmlParse(httpRequest.fileContent)>
                <cfif httpRequest.statusCode neq "201 created">
                    <cfthrow message="HTTP Error" detail="#httpRequest.fileContent#" type="HTTP CODE #httpRequest.statusCode#">
                </cfif>
                <cfset result.data.resourceId = packet.entry['gd:resourceId'].xmlText>
                <cfset result.data.feedLink = packet.entry['gd:feedLink'].xmlText>
                <cfset result.data.title = packet.entry.title.xmlText>  
                <cfset result.data.link = packet.entry.title.xmlText>    
                <cfcatch>
                     <cfset result.data = httpRequest>
                </cfcatch>
            </cftry>       
            <cfcatch type="any">
                 <cfset result.error = cfcatch>
                <cfset result.success = false>
            </cfcatch>
        </cftry>   
        <cfreturn result>
    </cffunction>
    Also, this is what my atomXML data ended up looking like when it got sent to google. This isn't the WHOLE request (it doesn't include the headers, just the body).
    Content-Type: application/atom+xml
    <?xml version='1.0' encoding='UTF-8'?>
    <entry xmlns="http://www.w3.org/2005/Atom" xmlns:docs="http://schemas.google.com/docs/2007">
    <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/docs/2007#document"/>
    <TITLE>Woot Test</TITLE> </entry>
    --END_OF_PART
    Content-Type: text/plain
    I'm a test document lol!
    --END_OF_PART--

    Woot, I got it. I had to send the gData version number, and change the URL.
    Here is the working function.
    <cffunction name="upload" access="public" returnType="any" hint="I upload the document." output="false">
        <cfargument name="myFile" type="string" required="false" hint="file to upload.">
        <cfset var result = "">
        <cfset theUrl = "https://docs.google.com/feeds/default/private/full">
        <cffile action="read" file="C:\website\xerointeractive\testing\test.txt" variable="theFile">
        <cfset fileSize = createObject("java","java.io.File").init("C:\website\xerointeractive\testing\test.txt").length()>
        <cfhttp url="#theURL#" method="post" result="result" charset="utf-8" >
            <cfhttpparam type="header" name="Authorization" value="GoogleLogin auth=#getAuth()#">
            <cfhttpparam type="header" name="Content-Type" value="text/plain">
            <cfhttpparam type="header" name="Slug" value="test file">
            <cfhttpparam type="header" name="GData-Version" value="3">
            <cfhttpparam type="header" name="Content-Length" value="#fileSize#">
            <cfhttpparam type="body" value="#theFile#">
        </cfhttp>
        <cfreturn result>
    </cffunction>

  • SQL Server 2005: Multi-part identifier could not be bound

    Hello,
    I use IBM WebSphere Portal and am desperately trying to move data from the default Cloudspace Database to MS SQL Server 2005, of course following the official guidelines.
    What happens is that WebSphere's Configuration Wizard fails because of an error caused by the SQL Script. Trouble is, I can't bring it to work not even in the SQL Server Management Studio.
    What follows is the code generated by the script. The error is caused by the last "check"-constraint (colored in red).
    CREATE TABLE community.APP_DESC (
    OID BINARY(18) NOT NULL,
    TYPE INTEGER NOT NULL,
    APP_NAME NVARCHAR(255) NOT NULL,
    IS_ACTIVE INTEGER NOT NULL,
    JSR_VERSION NVARCHAR(255),
    GUID NVARCHAR(255),
    WEB_MOD_OID BINARY(18),
    WEB_MOD_SL BINARY(18),
    WSRP_PROD_OID BINARY(18),
    WSRP_PROD_SL BINARY(18),
    DEFAULT_LOCALE NVARCHAR(64),
    CREATED BIGINT NOT NULL,
    MODIFIED BIGINT NOT NULL,
    WSC_GROUP_ID NVARCHAR(255),
    CONSTRAINT PK20 PRIMARY KEY NONCLUSTERED (OID),
    CONSTRAINT FK20A FOREIGN KEY (WEB_MOD_OID) REFERENCES community.WEB_MOD (OID) ON DELETE CASCADE,
    constraint FK20B FOREIGN KEY (WSRP_PROD_OID) REFERENCES community.WSRP_PROD (OID) ON DELETE CASCADE,
    CONSTRAINT CC20A CHECK (((community.APP_DESC.WEB_MOD_OID IS NULL) AND (community.APP_DESC.WEB_MOD_SL IS NOT NULL)) OR ((community.APP_DESC.WEB_MOD_OID IS NOT NULL) AND (community.APP_DESC.WEB_MOD_SL IS NULL)))
    And that's what SQL Server 2005 told me:
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_OID" could not be bound.
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_SL" could not be bound.
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_OID" could not be bound.
    Msg 4104, Level 16, State 1, Line 1
    The multi-part identifier "community.APP_DESC.WEB_MOD_SL" could not be bound.
    BTW, as this is a generated script I do not have the possibility to change it. Because it has been released by IBM I am rather convinced that it is correct - therefore I was wondering whether SQL Server 2005 has a known bug that makes it refuse "check"-constraints.
    Any hint is very appreciated.
    Thanks in advance,
    adapter

    THe problem is that is was probably not made for SQL Server 2005. It should read:
    CONSTRAINT PK20 PRIMARY KEY NONCLUSTERED (OID),
    CONSTRAINT FK20A FOREIGN KEY (WEB_MOD_OID) REFERENCES community.WEB_MOD (OID) ON DELETE CASCADE,
    constraint FK20B FOREIGN KEY (WSRP_PROD_OID) REFERENCES community.WSRP_PROD (OID) ON DELETE CASCADE,
    CONSTRAINT CC20A CHECK (((APP_DESC.WEB_MOD_OID IS NULL) AND (APP_DESC.WEB_MOD_SL IS NOT NULL)) OR ((APP_DESC.WEB_MOD_OID IS NOT NULL) AND (APP_DESC.WEB_MOD_SL IS NULL)))
    The meaning of the first identifier changed in SQL Server 2005, as this is now the Schema and not the owner. DO you have a chance of using a SQL Server 2000 computer ? In terms of licences you will have a downgrade licence for the SQL Server, otherwise you should ping the IBM guys to provide a compatible script.
    HTH, Jens K. Suessmeyer.
    http://www.sqlserver2005.de

  • Breaking Apart Images and Bitmaps in Color Panel

    When I break apart a bitmap and use the eyedropper to sample
    it and then fill in a shape, I notice that the bitmap also stays in
    the color panel as a bitmap. Will this become a permanent part of
    my Flash installation or is it only accessible for this file? I
    opened a new file and it did not seem to appear for it. I just want
    to make sure I understand the purpose of it displaying in the color
    panel. What is the point of this?
    Thanks.

    Not sure I totally understand - the point is so you can pick
    this swatch "color" again in this
    document. If you delete the bitmap from the document's
    library it will go away. If you open a new
    doc it won't be there because the new doc doesn't contaqin
    any imported/broken apart/color-picked
    bitmaps.
    I have to ask, what were you expecting to happen with this
    particular swatch? Or rather, is there a
    better workflow solution for you perhaps? Just curious.
    Chris Georgenes
    Adobe Community Expert
    www.mudbubble.com
    www.keyframer.com
    www.howtocheatinflash.com
    StanWelks wrote:
    > When I break apart a bitmap and use the eyedropper to
    sample it and then fill
    > in a shape, I notice that the bitmap also stays in the
    color panel as a bitmap.
    > Will this become a permanent part of my Flash
    installation or is it only
    > accessible for this file? I opened a new file and it did
    not seem to appear for
    > it. I just want to make sure I understand the purpose of
    it displaying in the
    > color panel. What is the point of this?
    >
    > Thanks.
    >

  • Quality of Image after Break apart

    When breaking apart an image, there is sort of a 'residue'
    attached to some parts where the image has connected.
    Problem is explained with a picture below.
    Picture
    The image was imported from a Photoshop CS3 document which
    can be found here for you reference.
    Link
    As you can see in the PSD there is no 'residue'.
    Thanks in advance for any help anyone can offer.
    - Doc

    Hi,
    How did you import your image into Flash. Some times this
    happened in the crossed sections of the PDS layers, try to expert
    your layers from photoshop as PNGs.

  • How can I make biscuit and then break it to two parts and have some small pieces?

    Hello there,
    please tell me ..
    How can I make biscuit in AE and then break it to two parts and have some small pieces fall down ?
    any help would be so much appreciated ..

    Strictly inside AE you have two options. Shatter using custom shatter maps and masking + particle effects. Neither would be as conviceing as Dave's solution.
    If you have access to a 3D app (blender is free) you can do it there.
    Here's a 2 minute project in AE with a stock image:
    with a shot of the broken buscuit top animated to fit the split it might be kind of convincing.
    Here's the CS6 AEP project file for you to play with. Take a look at all of the elements to see how this worked by selecting all layers and then pressing the u key twice to see everything I changed.

  • HP Pavillion M6 1010tx Left hinge breaking apart

    Hey!
    So my dad bought me HP Pavillion M6 - 1010tx just over a year ago and I have been using it very very carefully. I just started noticing that the left hinge just under the screen is breaking apart. Initially I thought I might have banged it somewhere but I was sure I didn't. Upon researching a bit, I found out that it is a very common issue with these models. I have come across a lot of posts where the users have had the same issue. 
    I'm just wondering if it's such a common issue, is HP taking care of it? Or is there any replacement part available? I looked everywhere and the replacements parts are not available. 
    Any help would be really appreciated. 
    Thanks 

    03/11/14 - Jeff reached out to customer
    I work for HP

  • Breaking apart bitmaps

    Hi All,
    Not sure if this is the right forum for this question, but I don't see anywhere else. I'm trying to break apart the items on my timeline using code, however some of them have already been broken apart. My question is, how do I test if an object has been broken apart already in JSFL?
    Thanks in advance.
    Tom

    Not sure I totally understand - the point is so you can pick
    this swatch "color" again in this
    document. If you delete the bitmap from the document's
    library it will go away. If you open a new
    doc it won't be there because the new doc doesn't contaqin
    any imported/broken apart/color-picked
    bitmaps.
    I have to ask, what were you expecting to happen with this
    particular swatch? Or rather, is there a
    better workflow solution for you perhaps? Just curious.
    Chris Georgenes
    Adobe Community Expert
    www.mudbubble.com
    www.keyframer.com
    www.howtocheatinflash.com
    StanWelks wrote:
    > When I break apart a bitmap and use the eyedropper to
    sample it and then fill
    > in a shape, I notice that the bitmap also stays in the
    color panel as a bitmap.
    > Will this become a permanent part of my Flash
    installation or is it only
    > accessible for this file? I opened a new file and it did
    not seem to appear for
    > it. I just want to make sure I understand the purpose of
    it displaying in the
    > color panel. What is the point of this?
    >
    > Thanks.
    >

  • Premier 3.02 crashes when breaking apart transferred slide show

    Following the instructions in a reply on the PS Elements forum, when I right click on the scene transferred from PSE to Premier Elements and right click in the menu to break apart the slide show for additional editing, after receiving a "low system memory" warning Premier eventually crashes. The error message is "Sorry, a serious error has occurred that requires Adobe PE to shut down. We will attempt to save your current project."
    I'm running PE 3.02
    Vista Business
    3.00GB RAM
    Video card AT1 Radeon HD 3450
    54.3 GB free disc space
    No browser or Outlook is open and have even closed PS Elements before trying to break apart the Premier scene slide.
    I have had no problems, warnings, or crashes constructing a 30 minute slide show in PS Elements.

    Gina,
    >Open Premiere then try to begin my project in from Photoshop and get the same issue. The message from Windows says shut down due to serious error.
    It is not clear to me WHEN the failure occurs in this scenario. Does Premiere Elements start up OK? Can you open a new project in Premiere Elements? And does it then fail when you have do the Send of the Slideshow from Premiere Elements?
    Or like the original poster on this thread, does it fail only when you attempt to Break Apart the slide show?
    And also - have you deleted or moved or renamed any of the photo files or video files included within that slide show?
    A more general question - have you previously done any projects successfully in Premiere Elements?

  • Error calling BPEL from ESB  Multi-part simple type

    I am trying to define a soap service in ESB which is refering a BPEL service. I get the error
    The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type.The message RuntimeFaultMessage in operation process of port type exportCaCustomers is invalid. Please select another portype.
    Here is the wsdl for the BPEL service. exportCaCustomers.wsdl
    <definitions
    name="exportCaCustomers"
    targetNamespace="http://xmlns.oracle.com/exportCaCustomers"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns1="http://www.globalcompany.com/ns/order"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns3="http://usconcrete.com/v1/interfaces/common/InputMessage.xsd"
    xmlns:ns2="http://schemas.oracle.com/bpel/extension"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/exportCaCustomers"
    xmlns:ns10="http://usconcrete.com/v1/interfaces/common/InputMessage.xsd"
    >
    <import namespace="http://schemas.oracle.com/bpel/extension" location="RuntimeFault.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.globalcompany.com/ns/order"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:client="http://xmlns.oracle.com/exportCaCustomers">
    <import namespace="http://xmlns.oracle.com/exportCaCustomers" schemaLocation="exportCaCustomers.xsd"/>
    </schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.globalcompany.com/ns/order"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:client="http://xmlns.oracle.com/exportCaCustomers">
    <xsd:import namespace="http://www.globalcompany.com/ns/order" schemaLocation="sampleTax.xsd"/>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://usconcrete.com/v1/interfaces/common/InputMessage.xsd" schemaLocation="InputMessage.xsd"/>
    </xsd:schema>
    </types>
    <message name="exportCaCustomersRequestMessage">
    <part name="payload" element="ns10:CVInputMessage"/>
    </message>
    <message name="exportCaCustomersResponseMessage">
    <part name="payload" element="client:exportCaCustomersProcessResponse"/>
    </message>
    <portType name="exportCaCustomers">
    <operation name="process">
    <input message="client:exportCaCustomersRequestMessage"/>
    <output message="client:exportCaCustomersResponseMessage"/>
    <fault name="bindingFault" message="ns2:RuntimeFaultMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="exportCaCustomers">
    <plnk:role name="exportCaCustomersProvider">
    <plnk:portType name="client:exportCaCustomers"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    These are the contents of RuntimeFault.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="RuntimeFault"
    targetNamespace="http://schemas.oracle.com/bpel/extension"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <message name="RuntimeFaultMessage">
    <part name="code" type="xsd:string"/>
    <part name="summary" type="xsd:string"/>
    <part name="detail" type="xsd:string"/>
    </message>
    </definitions>
    This looks like a very basic thing to do. My BPEL process is working fine. I just want to access it from ESB. Any ESB gurus there. Please respond.

    <fault name="bindingFault" message="ns2:RuntimeFaultMessage"/>Don't think this is the way to define the RuntimeFaults.
    the fault-element you use to 'throw' you own business faults.
    RunTimeFaults are handled by the bpel framework itself and aren't throwable like this.
    See :
    http://www.oracle.com/technology/products/ias/bpel/htdocs/orabpel_technotes.tn007.html
    ""Business faults are application specific faults and occur when an explicit <throw> activity is executed or an <invoke> activity gets a fault as response. The fault name of a business fault is specified by the BPEL process and the messageType, if one exists, is defined in the WSDL.
    Runtime faults are not user defined and will not appear in the WSDL for a process or service.""

  • I Can No Longer Break Apart Clip Items??

    For some reason, I can no longer drag a clip from the browser to the main timeline, then lift and then proceed to break it apart into a video and seperate audio tracks. I was doing this all the time, but now this option seems to have disappeared. I tried repairing permissions... I can access the components of the clip with the "open in new timeline" option after dragging down the maintimeline and lifting, but that still doens't explain why I can't choose or shortcut to break it apart in the main timeline, when lifted, anymore??? Anyone else having this issue?
    Thanks,
    Dustin

    Dustin, let me know if I haven't understood your post correctly.
    You create a new project and set the frame rate to 23.98P
    The media in your Events is 30P
    From what I understand, your saying that if you drop a 30P clip in a 23.98P project, your unable to Break Apart Clip Items..?
    Works perfectly fine for me.

  • Is there a workaround for wsdl with multi-part porttype with ESB?

    I am trying to implement a simple connection to a service with ESB, and have been successful in trials with several other products, but when I try to use the SOA adapter with ESB I get the following message.
    "The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type. The message getTransactionsByRegistrationIdRequest in operation getTransactionsByRegistrationIdRequest of prottype QueryTransactionsWebService is invalid. Please select another porttype of fix the wsdl."
    Is there a work around for this?
    We would like to use ESB since we are licensed, but continue to have problems.
    Any help would be appreciated.

    This works out of box in 11 but as a 10.1.3 workaround, You can write a java web service to proxy the multipart service and expose a regular doc literal service wsdl to ESB. This shouldn't be too much work for an experienced java/web service programmer. We are going to enable multipart for a pass through (no filters or xsl) service in 10.1.3.4. Let me know what path you choose.

  • Weblogic throwing "null SOAP element Exception" in multi-part SOAP response

    Hi All,
    I'm using weblogic 10. My application is a webservice client generated using '*clientgen*', which is running on weblogic, and
    is invoking a remotely hosted webservice ( Remotely hoseted webservice may not be running on weblogic).
    I've the wsdl file of remotely hosted webservice.
    Now the problem is with WSDL file (I suppose), have a look at this.
    *&lt;message name="m1"&gt;*
    *&lt;part name="body" element="tns:GetCompanyInfo"/&gt;*
    *&lt;/message&gt;*
    *&lt;message name="m2"&gt;*
    *&lt;part name="body" element="tns:GetCompanyInfoResult"/&gt;*
    *&lt;part name="docs" type="xsd:AnyComplexType"/&gt; ------&gt; assume all elements inside this complex type can be nil or minOccurs set to '0'*
    *&lt;part name="logo" type="xsd:AnyOtherComplexType"/&gt; ------&gt; assume all elements inside this complex type can be nil or minOccurs set to '0'*
    *&lt;/message&gt;*
    &lt;portType name="pt1"&gt;
    &lt;operation name="GetCompanyInfo"&gt;
    &lt;input message="m1"/&gt;
    *&lt;output message="m2"/&gt; -----&gt; multi part message.*
    &lt;/operation&gt;
    &lt;/portType&gt;
    Now here is sample message for the request(I've composed this message for this question):
    &lt;soap:Envelope&gt; MESSAGE1
    &lt;soap:header/&gt;
    &lt;soap:body&gt;
    &lt;tns:m2&gt;
    &lt;tns:GetCompanyInfoResult&gt;
    Blah Blah....
    &lt;/tns:GetCompanyInfoResult&gt;
    &lt;tns:docs&gt;
    Blah Blah....
    &lt;/tns:docs&gt; Assume no data for 'logo', so it's not returned. Since all its elements can be nillable.
    &lt;tns:m2&gt;
    &lt;/soap:body&gt;
    &lt;/soap:Envelope&gt;
    First of all, is this SOAP response is valid? I'm not sure about *'message' and 'parts' in SOAP*, but according to XML schema standards it's invalid.
    Because, according to *'message' m2, 'logo' is missing*, eventhough all it's elements are nillable in such case there should be *&lt;logo/&gt;* at the end.
    I mean valid message should be like below
    &lt;soap:Envelope&gt; '*MESSAGE2*'
    &lt;soap:header/&gt;
    &lt;soap:body&gt;
    &lt;tns:m2&gt;
    &lt;tns:GetCompanyInfoResult&gt;
    Blah Blah....
    &lt;/tns:GetCompanyInfoResult&gt;
    &lt;tns:docs&gt;
    Blah Blah....
    &lt;/tns:docs&gt;
    *&lt;tns:logo/&gt; ------------------&gt; here is the change compared to above message. empty element.*
    &lt;tns:m2&gt;
    &lt;/soap:body&gt;
    &lt;/soap:Envelope&gt;
    Now the concerns are :
    (1) Which is a valid response? Message1 or Message2
    (2) If message1 is valid then why is weblogic throwing an exception 'null SOAP element', I suppose this is due to missing 'logo' element.
    (To confirm this I've used tcpmonitor and found message1 as response but weblogic is still throwing 'null SOAP Element' exception,
    which confirms it needs 'logo' as well, I suppose &lt;logo/&gt; at least). Is there any workaround for this in weblogic for multi-part messages?
    (3) If message1 is invalid according to SOAP standards then You've answered my question. ---&gt; I need to talk to the webservice provider in this case.....
    Thanks in advance...

    Message 1 is not Basic Profile 1.1 compliant. It is specified by BP1.1 in section 4.4.1(http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Bindings_and_Parts) that when a wsdl:part element is defined using the type attribute, the serialization of that part in a message is equivalent to an implicit (XML Schema) qualification of a minOccurs attribute with the value "1", a maxOccurs attribute with the value "1" and a nillable attribute with the value "false".

Maybe you are looking for

  • Trying to add photos, when adding second album, first one lost

    when trying to add a second photo album, the first one seems to be deleted. I do use a new album title. What am I doing wrong? HELP

  • Gettings Fiscalyear period from Billing date code required

    Hi All, my requirement is to get FISCAL YEAR PERIOD from Billing Date .Can any one send me the code to be written in transformation. Thanks in advance

  • How to do XAResource.recover() on a 8.1.6 DB ?

    Somewhere in the docs it was written that XA recover was not supported with JDBC drivers 8.1.6. I'm using a 8.1.6 DB, with the 9.0.1 drivers, and I'm failing to perform transaction recovery by calling XAResource.recover(); Actually, when I call XARes

  • Wrapping JavaFx Text Component

    I am using Text component to display some text looks like there is no way to automatic wrapping like label component. I only found text.setWrappingWidth(double d) But this needs a number as a constraint. I have some other component next to the text e

  • Programs listed as devices

    I've downloaded a couple of programs: Safari and MacFamilyTree 5. They are working fine but appear as devices in Finder below Macintosh HD and iDisk and as icons on the desktop separate from the Macintosh HD. Can I or should I get them into the HD wi