Variable namespaces in ALSB - creation -

Hi ,
Can anyone tell how to create variable namespaces in ALSB . What is the difference between Variable and UserDefined namespaces. I have searched the docs, and they explain only about Variable structures. Any help greatly appreciated. I am using ALSB 3.0 on WLS 10.
Edited by: kasi.s on 21-Nov-2009 04:47

Hi Anuj,
Thanx for answering,
The variable namespaces apears in the same section(at the left) where the defined and default namespaces are located, and it seems to populate those from what you have difined in your WSDL but when you modify the WSDL this are not refreshed and you can have in there old namespaces not used any where else.
Kind Regards!!

Similar Messages

  • ReferenceError: Error #1065: Variable @namespace is not defined.

    I am using FB4 but SDK 3.5.  I created a webservice to call a webservice by .Net.  The related codes are listed below
    <mx:WebService id="ws"   wsdl="{URL_WSDL2}" fault="wsHandleFault(event)"  useProxy="false"  >
      <mx:operation name="GetDistrict"
       resultFormat="object"
       result="GetDistrict(event)" />
      <mx:operation name="GetStates"
       resultFormat="object"
       result="GetStates(event)" />
    </mx:WebService>
    private function LoadData():void {;
      ws.getOperation("GetDistrict").send();
      ws.getOperation("GetStates").send();
      btnLoad.enabled = false;
    However, I got runtime error:
    ReferenceError: Error #1065: Variable @namespace is not defined.
    at mx.rpc.xml::SchemaLoader/schemaImports()
    at mx.rpc.wsdl::WSDLLoader/schemaImports()
    at mx.rpc.wsdl::WSDLLoader/resultHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at DirectHTTPMessageResponder/completeHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    I really don't know how to fix it.  Wish someone can share his/her experience.  Thanks.

    When creating a Web Service in .NET, specifically a WCF based Web Service, the auto generated code tends to have an empty namespace (for you to fill). If you specify a namespace for the service contract and behavior this tends to resolve the Flex issue.
    e.g. in your .NET service or service interface code you can specify them as attributes and would look something like:
    ' VB
    Imports System.ServiceModel
    <ServiceContract(Namespace:="http://somedomain.com")>
    <ServiceBehavior(Namespace:="http://somedomain.com")>
    Public Class MyWebService
    // C#
    using System.ServiceModel;
    [ServiceContract(Namespace:="http://somedomain.com")]
    [ServiceBehavior(Namespace:="http://somedomain.com")]
    public class MyWebService
    Hope that helps someone!
    (I realise this post is a bit old, but shows up high in Google for the error message, so have posted for the benefit of anyone finding it)

  • WebService invocation - variable @namespace errro

    Hi,
    I am getting the below error. (Variable @namespace is not
    defined)
    I do not know webservices, I am just trying to access a WSDL
    file from
    flex. Can you please let me know why Flex shows this error?
    On which
    element is it expecting a namespace. The WSDL file I am using
    already
    has a targetNamespace.
    Even if I do not call any methods from the webservice, I get
    this error.
    Even if I do only following it give me error. i.e it is
    probably
    tyring to invoke the webservice and check it.
    <mx:WebService id="webService" wsdl="
    http://someurl?wsdl">
    <mx:operation name="getData"
    result="resultHandler(event);"
    fault="mx.controls.Alert.show(event.fault.faultString);"
    />
    </mx:WebService>
    Thanks in advance.
    Regards,
    Neha
    ReferenceError: Error #1065: Variable @namespace is not
    defined.
    at
    mx.rpc.xml::SchemaLoader/schemaImports()[E:\dev\3.0.x\frameworks\projects\rpc\sr\
    c\mx\rpc\xml\SchemaLoader.as:102]
    at
    mx.rpc.wsdl::WSDLLoader/schemaImports()[E:\dev\3.0.x\frameworks\projects\rpc\src\
    \mx\rpc\wsdl\WSDLLoader.as:253]
    at
    mx.rpc.wsdl::WSDLLoader/resultHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\
    \mx\rpc\wsdl\WSDLLoader.as:162]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcE\
    vent()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:168]
    at
    mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandle\
    r()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:191]
    at
    mx.rpc::Responder/result()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Respo\
    nder.as:41]
    at
    mx.rpc::AsyncRequest/acknowledge()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\r\
    pc\AsyncRequest.as:74]
    at
    DirectHTTPMessageResponder/completeHandler()[E:\dev\3.0.x\frameworks\projects\rp\
    c\src\mx\messaging\channels\DirectHTTPChannel.as:381]

    I got the same error. How did you solve your problem?  By the way, on your post:
    var operation:Operation = request.getOperation("getData") as Operation;
    What's the definition of request?  Thanks.

  • How to view fault schema under variable structures in alsb

    We are not able to view the fault element in our alsb flow under body variable and when we get the error in test console the error comes in bea fault schema,but we want the error in our own defined fault schema.Pls. guide.
    Below are the steps we followed to create a wsdl.
    Steps:
    1. We created a webservice project in workspacestudio and generated a wsdl.
    2. Then we have added a fault element manually in that wsdl.
    3. Now we have generated a webservice from that modified wsdl.
    4. Again we have generated a wsdl from webservice created in step 3.
    5. step 4 wsdl is tested and running well on server.
    When we try to configure that service as Proxy/Business service in ALSB and view the XPATH Expression Editor, we are not able to view Fault element under variable structures under body variable as shown below.But when we see the design view of our running wsdl in workspace studio it shows the fault element.How to get the fault element in variable body so that we can view the error in our logs in our defined Fault schema instead of BEA fault schema.WDSL is enclosed as an attachment.
    Thanks in advance.

    Have you tried using the "Log" action in your pipeline proxy and log for $body and $fault. This will defin return the $body and $fault if these were parsed correctly

  • Use String Variable in New Object Creation

    Thanks to those who review and respond. I am new to Java, so please be patient with my terminoloy mistakes and fumblings. I am reading in a file and I want to create a new object based on specific field (car for example). As you will notice I grab field 8 here label sIID.
    String sIID = dts.group(8);
    BTW this regex grouping works fine. The problem is seen when I try to use the sIID variable in my new object creation process.
    DateParse sIID = new DateParse();
    My IDE is reporting "Variable sIID is already defined in the scope"
    Is this possible? The assumption is that the sIID will have different value during the processing of the file. For example, car could mean truck, sedan, etc with operators like color, number of doors, mileage, top speed, etc.

    Thanks for the reply. I have include similar and much shorter code for the sake of brevity.
    My problems are centered around the x variable/object below. Ideally this would translate to three objects PersonA, PersonB, etc that I could reference later in the code as PersonA.newname if I wanted to. Hopefully this makes sense.
    public class TestingObjects {
      public static void main(String[] argv) {
           String [] names;
           names = new String[3];
           names[0] = "PersonA";
           names[1] = "PersonB";
           names[2] = "PersonC";
           for (String x:names) {
             PN x = new PN();  // <- Problem
             x.name = x;
             x.SayName();
            System.out.println(x.newname);
    public class PN {
           String name;
           String newname;
      public String SayName() {
           newname = "Name = " + name;
           System.out.println(name);
          return newname;
    }

  • Namespace assumed on creation of weblogic's InitialContext

    I have a SessionBean which I have bound into Weblogic(6.1)'s JNDI tree, by giving
    "ejb/SessionTester" in its deployment descriptor. I thought that this bean would
    then be bound into weblogic's java:/comp/env/ejb namespace as SessionTester.
    It shows in the console as ejb/SessionTester.
    So, I tried to access this bean from another SessionBean using new InitialContext().lookup(
    "java:/comp/env/ejb/SessionTester" ). However, I get an error stating that "java:/comp/env"
    was resolved, but "ejb" was unresolved. I thought this was the J2EE standard
    way to bind EJBs, but I must be missing something.
    Can someone please tell me the full JNDI namespace name of deployed EJBs?

    yes, you lookup "ejb/SessionTester"
    its whatever you put in weblogic-ejb.jar.xml
    Steve Ebersole wrote:
    I have a SessionBean which I have bound into Weblogic(6.1)'s JNDI tree, by giving
    "ejb/SessionTester" in its deployment descriptor. I thought that this bean would
    then be bound into weblogic's java:/comp/env/ejb namespace as SessionTester.
    It shows in the console as ejb/SessionTester.
    So, I tried to access this bean from another SessionBean using new InitialContext().lookup(
    "java:/comp/env/ejb/SessionTester" ). However, I get an error stating that "java:/comp/env"
    was resolved, but "ejb" was unresolved. I thought this was the J2EE standard
    way to bind EJBs, but I must be missing something.
    Can someone please tell me the full JNDI namespace name of deployed EJBs?

  • JAVA Namespace exception during creation of Proxy

    Hi Guys,
    when i am creating proxy in Wizard in CRM i m getting exception and errors  like:
    "Proxy-Generierung: Fehler aufgetreten."
    "Exception occurred in library handler".
    "Incorrect value: Namespace prefix java1 of QName java1:CreateException is undeclared".
      I don't understnd these excetions and errors. Please suggest.
    below is my WSDL file.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="AddressServiceDefinitions" targetNamespace="http://org/tcs/billingeai/ws/Address" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://org/tcs/billingeai/ws/Address" xmlns:s1="java:com.convergys.geneva.j2ee" xmlns:s2="javax.ejb" xmlns:s3="java:org.tcs.billingeai.ws.util" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/">
    - <types>
    - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:javax.ejb" xmlns:s0="http://org/tcs/billingeai/ws/Address" xmlns:s1="java:com.convergys.geneva.j2ee" xmlns:s2="javax.ejb" xmlns:s3="java:org.tcs.billingeai.ws.util" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:complexType name="CreateException" />
      <xs:element name="CreateException" type="java1:CreateException" xmlns:java1="java:javax.ejb" />
      </xs:schema>
    - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="javax.ejb" xmlns:s0="http://org/tcs/billingeai/ws/Address" xmlns:s1="java:com.convergys.geneva.j2ee" xmlns:s2="javax.ejb" xmlns:s3="java:org.tcs.billingeai.ws.util" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="string" type="xs:string" />
      </xs:schema>
    - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://org/tcs/billingeai/ws/Address" xmlns:s0="http://org/tcs/billingeai/ws/Address" xmlns:s1="java:com.convergys.geneva.j2ee" xmlns:s2="javax.ejb" xmlns:s3="java:org.tcs.billingeai.ws.util" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    - <xs:element name="invokeCreateAddress">
    - <xs:complexType>
    - <xs:sequence>
      <xs:element name="customerPK" type="xs:string" />
      <xs:element name="countryId" type="xs:int" />
      <xs:element name="addressFormatId" type="xs:int" />
      <xs:element name="zipcode" type="xs:string" />
      <xs:element name="address0" type="xs:string" />
      <xs:element name="address1" type="xs:string" />
      <xs:element name="address2" type="xs:string" />
      <xs:element name="address3" type="xs:string" />
      <xs:element name="address4" type="xs:string" />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
    - <xs:element name="invokeCreateAddressResponse">
    - <xs:complexType>
    - <xs:sequence>
      <xs:element name="return" type="xs:boolean" />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>
    - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:org.tcs.billingeai.ws.util" xmlns:s0="http://org/tcs/billingeai/ws/Address" xmlns:s1="java:com.convergys.geneva.j2ee" xmlns:s2="javax.ejb" xmlns:s3="java:org.tcs.billingeai.ws.util" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    - <xs:complexType name="CustomException">
    - <xs:sequence>
      <xs:element minOccurs="1" name="Errorcode" nillable="true" type="xs:string" />
      <xs:element minOccurs="1" name="Errortype" nillable="true" type="xs:string" />
      <xs:element minOccurs="1" name="Errordesc" nillable="true" type="xs:string" />
      <xs:element minOccurs="1" name="Errorsuggestion" nillable="true" type="xs:string" />
      </xs:sequence>
      </xs:complexType>
      <xs:element name="CustomException" type="java1:CustomException" xmlns:java1="java:org.tcs.billingeai.ws.util" />
      </xs:schema>
    - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:com.convergys.geneva.j2ee" xmlns:s0="http://org/tcs/billingeai/ws/Address" xmlns:s1="java:com.convergys.geneva.j2ee" xmlns:s2="javax.ejb" xmlns:s3="java:org.tcs.billingeai.ws.util" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="java:com.convergys.base" />
    - <xs:complexType name="NullParameterException">
    - <xs:complexContent>
      <xs:extension base="java:ParameterException" xmlns:java="java:com.convergys.geneva.j2ee" />
      </xs:complexContent>
      </xs:complexType>
    - <xs:complexType name="ParameterException">
    - <xs:complexContent>
      <xs:extension base="java:ApplicationException" xmlns:java="java:com.convergys.geneva.j2ee" />
      </xs:complexContent>
      </xs:complexType>
    - <xs:complexType name="ApplicationException">
    - <xs:complexContent>
      <xs:extension base="java:BaseException" xmlns:java="java:com.convergys.base" />
      </xs:complexContent>
      </xs:complexType>
      <xs:element name="NullParameterException" type="java1:NullParameterException" xmlns:java1="java:com.convergys.geneva.j2ee" />
      </xs:schema>
    - <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:com.convergys.base" xmlns:s0="http://org/tcs/billingeai/ws/Address" xmlns:s1="java:com.convergys.geneva.j2ee" xmlns:s2="javax.ejb" xmlns:s3="java:org.tcs.billingeai.ws.util" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:complexType name="BaseException" />
      </xs:schema>
      </types>
    - <message name="invokeCreateAddress">
      <part element="s0:invokeCreateAddress" name="parameters" />
      </message>
    - <message name="invokeCreateAddressResponse">
      <part element="s0:invokeCreateAddressResponse" name="parameters" />
      </message>
    - <message name="NullParameterException">
      <part element="s1:NullParameterException" name="NullParameterException" />
      </message>
    - <message name="CreateException">
      <part element="s2:string" name="CreateException" />
      </message>
    - <message name="CustomException">
      <part element="s3:CustomException" name="CustomException" />
      </message>
    - <portType name="AddressService">
    - <operation name="invokeCreateAddress" parameterOrder="parameters">
      <input message="s0:invokeCreateAddress" />
      <output message="s0:invokeCreateAddressResponse" />
      <fault message="s0:NullParameterException" name="NullParameterException" />
      <fault message="s0:CreateException" name="CreateException" />
      <fault message="s0:CustomException" name="CustomException" />
      </operation>
      </portType>
    - <binding name="AddressServiceSoapBinding" type="s0:AddressService">
      <s4:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="invokeCreateAddress">
      <s4:operation soapAction="" style="document" />
    - <input>
      <s4:body parts="parameters" use="literal" />
      </input>
    - <output>
      <s4:body parts="parameters" use="literal" />
      </output>
    - <fault name="CustomException">
      <s4:fault name="CustomException" use="literal" />
      </fault>
    - <fault name="NullParameterException">
      <s4:fault name="NullParameterException" use="literal" />
      </fault>
    - <fault name="CreateException">
      <s4:fault name="CreateException" use="literal" />
      </fault>
      </operation>
      </binding>
    - <service name="AddressService">
    - <port binding="s0:AddressServiceSoapBinding" name="AddressServiceSoapPort">
      <s4:address location="http://172.21.7.24:7030/AddressService/AddressService" />
      </port>
      </service>
      </definitions>
    Thanks
    Snehasish
    Edited by: Snehasish Das on Jun 28, 2008 3:07 PM

    Hi Guys,
    Anybody if you have any idea, please suggest.
    Thanks
    Snehasish

  • Necessary variables in new group creation

    I am working on a script to create a new user and matching group using the niutil command. When I create my group in the script, I assign a gid and name. Thus, in netinfo manager, the "name" and "gid" properties are listed for the group. However, when I create the same user/group through "accounts" in the System Preferences, both "passwd" and "generateduid" properties are also generated and listed in the NetInfo Manager.
    1. What properties are necessary for a group in OSX 10.4 (Tiger) to function properly?
    2. If the "passwd" and "generateduid" properties are necessary for the group to function properly, then how do I create these properties via a script or the command line?
    Thanks!
    Mac OS X (10.4.10)

    man, when am i going to stop feeling like a dope with some of this stuff?
    fist image is showing what i am looking at when i can't find a way to add a group without using the pulldown.
    second images is showing a "sub-group" that i think was created by selecting all the contacts in a group and dragging them to another group. this one does not seem to delete.
    jon

  • How to avoid BPEL operations corrupting namespaces

    Hi
    I am new to BPEL and XML but I'm having a problem with the seemingly automatic behaviour of the Oracle BPEL engine.
    I invoke a Web service which returns a valid XML document with namespaces declared inside the SOAP wrapper.
    When I execute the BPEL outlined below the reply generated has lost the namespace declarations resulting in an invalid response to the BPEL service consumer.
    I can achieve the correct namespaces by using a Transform step rather than the Copy, but should a transformation be required?
    Is there an alternative approach?
    Roy
    The BPEL logic
    <invoke name="retrievePolicy" partnerLink="AlphaCoreService"
    portType="ns1:AlphaCoreService" operation="retrieveFullPolicy"
    inputVariable="Invoke_1_retrieveFullPolicy_InputVariable"
    outputVariable="Invoke_1_retrieveFullPolicy_OutputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_1_retrieveFullPolicy_OutputVariable"
    part="parameters"
    query="/ns2:retrieveFullPolicyResponseElement/ns2:result/ns2:pom"/>
    <to variable="outputVariable" part="payload"
    query="/client:getPolicyProcessResponse/client:pom"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:getPolicy"
    operation="process" variable="outputVariable"/>
    The retrievePolicy response supplies this document to BPEL ....
    <?xml version="1.0" encoding="windows-1252" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://service.ws.core.alpha.web.aif.cgi.com/types/"
    xmlns:ns1="http://xpom.ws.core.alpha.web.aif.cgi.com">
    <env:Body>
    <ns0:retrieveFullPolicyResponseElement>
    <ns0:result>
    <ns0:errors xsi:nil="1"/>
    <ns0:pom>
    <ns1:contractId>7140</ns1:contractId>
    <ns1:policyRef>POL7140</ns1:policyRef>
    etc.
    <ns1:version>
    <ns1:systemStartDate>2009-06-10T15:33:48.000+01:00</ns1:systemStartDate>
    <ns1:changeDescription xsi:nil="1"/>
    etc.
    </ns1:version>
    <ns1:vehicleArray xsi:type="ns1:Vehicle">
    <ns1:userModified>ROYC</ns1:userModified>
    <ns1:uniqueReference>abc123A</ns1:uniqueReference>
    etc.
    <ns1:makeModel>17532001</ns1:makeModel>
    <ns1:regNo>abc123A</ns1:regNo>
    </ns1:vehicleArray>
    </ns0:pom>
    </ns0:result>
    </ns0:retrieveFullPolicyResponseElement>
    </env:Body>
    </env:Envelope>
    ======================
    The Copy activity results in an ="outputVariable" of this shape (note the namespace ns1 re-creation at the incorrect levels) ....
    <outputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    <getPolicyProcessResponse xmlns="http://xmlns.oracle.com/getPolicy">
    <pom>
    <ns1:contractId xmlns:ns1="http://xpom.ws.core.alpha.web.aif.cgi.com">7140</ns1:contractId>
    <ns1:policyRef xmlns:ns1="http://xpom.ws.core.alpha.web.aif.cgi.com">POL7140</ns1:policyRef>
    <ns1:version xmlns:ns1="http://xpom.ws.core.alpha.web.aif.cgi.com">
    <ns1:systemStartDate>2009-06-10T15:33:48.000+01:00</ns1:systemStartDate>
    <ns1:changeDescription xsi:nil="1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    </ns1:version>
    <ns1:vehicleArray xsi:type="ns1:Vehicle"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns1="http://xpom.ws.core.alpha.web.aif.cgi.com">
    <ns1:makeModel>17532001</ns1:makeModel>
    <ns1:regNo>abc123A</ns1:regNo>
    </ns1:vehicleArray>
    </pom>
    </getPolicyProcessResponse>
    </part>
    </outputVariable>
    =================================
    Finally the Reply activity generates this XML to send back as a response - note the ns1:vehicle invalid reference
    <?xml version="1.0" encoding="windows-1252" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <getPolicyProcessResponse xmlns="http://xmlns.oracle.com/getPolicy">
    <result>success message</result>
    <extra>extra tag</extra>
    <pom>
    <ns1:contractId xmlns:ns1="http://xpom.ws.core.alpha.web.aif.cgi.com">7140</ns1:contractId>
    <ns1:policyRef xmlns:ns1="http://xpom.ws.core.alpha.web.aif.cgi.com">POL7140</ns1:policyRef>
    <version>
    <systemStartDate>2009-06-10T15:33:48.000+01:00</systemStartDate>
    <changeDescription nil="1"/>
    </version>
    <vehicleArray type="ns1:Vehicle">
    <makeModel>17532001</makeModel>
    <regNo>abc123A</regNo>
    </vehicleArray>
    </pom>
    </getPolicyProcessResponse>
    </env:Body>
    </env:Envelope>

    Hi Marc
    Having consulted with a few colleagues, you are correct, this is a valid XML message after all.
    The Oracle BPEL console however has a problem with it and generates the error
    "Could not initiate the BPEL process because the input xml is not well formed, the reason is : Error parsing envelope Please correct the input xml."
    The BPEL script has not only been initiated, but succesfully completed, so the message can only be referring to the SOAP message it got back from the BPEL process.
    Oracle BPEL has also changed the namespaces, which is surely a corruption of the document that should need correcting by someone.
    The Web service message had "pom" defined in the "http://service.ws.core.alpha.web.aif.cgi.com/types/" namespace and "contractID" and "vehicleArray" defined in the "http://xpom.ws.core.alpha.web.aif.cgi.com" namespace.
    The BPEL reply message has "pom" and "vehicleArray" defined in the "http://xmlns.oracle.com/getPolicy" namespace, "contractID" correctly in the "http://xpom.ws.core.alpha.web.aif.cgi.com" namespace and the "http://service.ws.core.alpha.web.aif.cgi.com/types/" namespace has completely disappeared.
    I can't see what I've done to generate the corruption, so surely this must be an Oracle defect?
    Roy

  • Issue with Variable Substitution

    Hi,
    We have a scenario where we need to use the data from Payload for further processcing of the messeges.The payload looks like the one given below.
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_NOTIFICATION xmlns:ns1="http://WM_ERRHAND"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <PROXYRESPONSE>
      <STATUS>YES</STATUS>
      <NAMESPACE>WM_INVOICE</NAMESPACE>
      <INTERFACENAME>MI_INVOICE_MOORE_ACK_IN</INTERFACENAME>
      <PROXYNAME>ZXIII_MI_INVOICE_MOORE_ACK_IN</PROXYNAME>
      </PROXYRESPONSE>
      </ns1:MT_NOTIFICATION>
    In adapter, for variable substitution we have specified as below:
    payload:MT_NOTIFICATION,1,PROXYRESPONSE,1,NAMESPACE,1
    but getting an error "Message processing failed: Error during variable substitution: java.text.ParseException: Variable 'namespace' not found in variable substitution table"
    Is the variable that we have declared is right or is there anything we have missed out. Any helpful answers will be rewarded
    Thanks and regards,
    Ram.

    Hi Ram,
    The substitution looks fine.
    Did you read this,
    <i>To disable the check the adapter performs for the element data, set the Disable Security Checks indicator.
    Otherwise, the adapter checks whether the element data contains characters that could lead to security risks in the file system environment. The check includes the characters “/“, “\“, and “..“.</i>
    Try seleting this option and checking the same.
    Regards,
    Bhavesh

  • JavaScript: Is there a way to move text from de clipboard to a js variable ?

    Now I use an alternative that is (roughly):
    1. Save the actual insertionPoint (where I want to put the final result)
    2. Create (or use a predefined) textframe off of the page.
    3. Select that textFrame and paste the clipboard contents
    4. Reselect the original insertionPoint and then begin a loop for each
    paragraph:
    5. Apply several procces to the paragraph (this include tokenize the
    input, format and replace of common errors).
    6. Insert the data back to de insertionPoint with apropiate
    paragraphStyles.
    I did'nt place the clipboard text directly into the final textframe because there are content before and after the insertionPoint and not all of the paste text is actually used. I fill better doing the text processing in a separated place and later insert it.
    This method work very well, except for the visual jump to the textFrame and back to the insertionPoint, and the change in the page view position.
    I will be happy if I can place the clipboart text directly into a javascript variable and avoid the creation of an auxilizary textframe.
    Thanks.

    > If this file is text file you can also read the contents of the file
    > into a variable as a string.
    > Process this string and set it as contents of your text frame.
    Yes, I can do that way (I'm considering anyway), but I have a lot of textframes linked across several pages (more than 80 pages in fact) and I have to put the inserted text in diferent places of this multipage linked textframe. And the information a have to put in the document isn't in sequent but scattered along the pages.
    For me is easiest to copy from original file (spreedsheet document) a bunch of selected rows, place the insertionPoint it in the correct place in the document and run the script for generate the data. Next select another rows and repeat the process in other place.
    The other way I'm thinking of is to copy all rows I need (actualy not all rows of the documnt) ignoring the order in which I want it, import into indesign and later copy and paste in correct place.
    Maybe I have to rethink the whole process, but for now it works.
    Thanks anyway

  • How can I get the File Creation Date OR Last modification date of the incoming file in my message?

    I need the Last Modification Date and the File creation date of the consumed file in my message, is it possible to do that using a custom pipeline component in decode stage or any other way? The FILE namespace have File creation time that actually gives
    the time the file was dropped in receive location, not the actual creation time. Also this namespace doesn't have the Last Modification Date.

    Yes,
    As per MSDN, "File.FileCreationTime" - "Defines the time that the file was written to the folder that is monitored by the File receive
    adapter."
    So for File Modified DateTime, only option I can think of is create a custom file adapter (updating the File Adapter code from SDK ..\SDK\Samples\AdaptersDevelopment\File Adapter) and access the received file with the code something like the following, which
    you give you the Last Modified date
    string sLastModifiedDate = File.GetLastWriteTime(path).ToString();
    If there are any business requirements which drives you this, then this the only way I can think of. Because you can access the file properties only in adapter, when it passes through adapter file is handled as stream and you will only have context properties
    to access the file related properties.
    If you're looking for implement this for any audit purpose or for your any technical purpose, then you can suggest some alternate than using File updated datetime.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Rename namespaces in Aqualogic service bus

    When I try to rename namespaces in ALSB the new namespaces is created and validated against the schema, but the old one is still exist. How I can delete the old namespace.
    Example
    <cus:soapHeader xmlns:cus="http://www.crm.bell/es/CustomerProfileService"xmlns:com="http://www.bell/enterprise/CommonRequest">
         <com:version>1</com:version>
         <com:callingAppID>MaxP</com:callingAppID>
    </cus:soapHeader>
    After rename
    <cus1:soapHeader xmlns:cus="http://www.crm.bell/es/CustomerProfileService"xmlns:com="http://www.bell/enterprise/CommonRequest"
    xmlns:cus1="http://www.crm.bellalaint/es/CustomerProfileService"
    xmlns:com1="http://www.bellalaint /enterprise/CommonRequest" >
    <com1:version>1</com:version>          <com1:callingAppID>MaxP</com:callingAppID>
    </cus:soapHeader>
    I want to remove xmlns:cus="http://www.crm.bell/es/CustomerProfileService"xmlns:com="http://www.bell/enterprise/CommonRequest" from response

    Could you send me the WSDLS?
    My email address [email protected]

  • Prototype method, local variable issue

    when i write prototype method and declare a variable inside the prototype method. this is fine but as sonn as i declare another variable with the same name i get an error. conflict with "variable" namespace internal.
    i've contact other users and they claim they don't get this same issue. so i ask you guys for help. i'm using flash CS3, i have flash player 10 installed but cs3 only supports up to 9 so i have 9 selected. and i'm using AS3. this is some code you can use to test to see if you get this issue:
    var testArray:Array = [];
    Array.prototype.testOne = function(){
    var intTest:int = 1;
    this.push(intTest);
    Array.prototype.testTwo = function(){
    var intTest:int = 2;
    this.push(intTest);
    testOne();
    testTwo();
    trace(testArray);

    it works? how annoying, all i get is an error saying conflict with intTest namespace internal.
    i'm aware im declaring the same variable twice. if it were using a normal function and not a prototype one, then it works fine. but as soon as i use a prototype function bang i get this error.
    how do i get that error stack thing you asked for?

  • Variable Assignment-Workbook Precalculation

    Hai Guys,
    I have a problem while executing.please,go through it
    Start---BEx Analyzer--
    Create new work book.While executing the work book,it is asking me to enter variable values.Once the variables are given and when start executing it, i am getting the ouput correctly and when i  broadcast the same through email,in work precalculation tab, again it is asking me to enter variable values.I have done that and  executed.  But I am  not able to receive any email.Infact,after taking 3 mnts it showing Timed out error.Kindly,suggest me with a solution to this. Where should I exactly enter variables?
    Kindly,give me a solution for this.
    Thanks,
    Mohan Chand Reddy A

    Hai Shakir,
                    First i thank q for ur reply to my question.But is it correct that we should assign Variables only in the Workbook Precalculation tab?Some one are suggesting like variables can be given both in foreground calculation i.e., while creating a workbook and also we should give the same variables in the workbook  precalculation tab.But in one document, i found there is no variable assignment tab in the Broadcasting settings.It means they might have given variables in the workbook creation itself.
          Please,reply me.It's very urgent.
    Thanks,
    Mohan Chand Reddy A

Maybe you are looking for