Sequence declaration in Element

Hello,
I'm trying to integrate GIS application in BPEL.
The following is the request in SOAP to access the web service. I'm really new to BPEL and I need something to start with. I have the webservice in Partner link which has methods and declared couple of these required elements under SEQUENCE tab for input. But I still wasnt able to connect all these input elements to the partner link and get the response.
can anbody pls tell me what i'm missing?
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<findFeaturesByPoint xmlns="http://www.arcwebservices.com/v2006">
<point>
<coordSys xmlns="">
<datumTransformation>dx</datumTransformation>
<projection>4326</projection>
</coordSys>
<x xmlns="">-117.19</x>
<y xmlns="">34.05</y>
</point>
<spatialQueryOptions>
<dataSource xmlns="">ArcWeb:Census.States.US</dataSource>
<distanceUnits xmlns="">miles</distanceUnits>
<returnDistance xmlns="">true</returnDistance>
<returnGeometry xmlns="">false</returnGeometry>
<searchOptions xmlns="">
<orderByList>
<OrderBy xmlns="http://www.webmethods.com/package/com.esri.is.services.soap.v3.common/">
<descending xmlns="">true</descending>
<field xmlns="">STATENAME</field>
</OrderBy>
</orderByList>
<resultSetRange>
<count>10</count>
<startIndex>0</startIndex>
</resultSetRange>
<returnFields>
<string xmlns="http://www.themindelectric.com/2001/schemaArray/">STATENAME</string>
</returnFields>
<whereClause>STATENAME='Pennsylvania'</whereClause>
</searchOptions>
<spatialBuffer xmlns="" xsi:nil="true"/>
</spatialQueryOptions>
<token>MyToken</token>
</findFeaturesByPoint>
</soap:Body>
</soap:Envelope>

Hey ,
I declared the partner link and input and output.However I'm getting an error.
"Port type {http://schemas.xmlsoap.org/soap/envelope/}GISApplication is not defined in GISApplication.wsdl"
Thanks alot for your help. I really appreciate it.
<definitions name="GISApplication"
targetNamespace="http://acm.org/samples"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>
<types>
<schema attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="http://www.arcwebservices.com/services/v2006"
xmlns="http://www.arcwebservices.com/v2006"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <element name="SpatialQueryRequestInput" type="soap:SpatialQueryRequestType"/>
     <element name="SpatialQueryRequestOutput" type="soap:SpatialQueryRequestOutputType"/>
<element name="SpatialQueryRequestType">
<complexType>
<sequence>
     <element name="coordSys" type="string"/>
     <element name="datumTransformation" type="string"/>
                         <element name="projection" type="int"/>
                         <element name="x" type="double"/>
                         <element name="y" type="double"/>
                         <element name="dataSource" type="string"/>
                         <element name="distanceUnits" type="string"/>
                         <element name="returnDistance" type="string"/>
     <element name="returnGeometry" type="string" />
     <element name="searchOptions" type="string" />
     <element name="OrderBy" type="string" />
     <element name="descending" type="string" />
     <element name="field" type="string"/>
                         <element name="count" type="int"/>
                         <element name="startIndex" type="int"/>
                         <element name="returnstring" type="string"/>
                         <element name="whereClause" type="int"/>
                         <element name="spatialBuffer" type="int"/>                          
     <element name="token" type="string" />
</sequence>
</complexType>
</element>
<element name="SpatialQueryRequestOutputType">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<portType name="GISApplication">
<operation name="initiate">
<input message="soap:GISApplicationRequestMessage"/>
</operation>
</portType>
<!-- portType implemented by the requester of GISApplication BPEL process
for asynchronous callback purposes
-->
<portType name="GISApplicationCallback">
<operation name="onResult">
<input message="soap:GISApplicationResponseMessage"/>
</operation>
</portType>

Similar Messages

  • Cannot find the declaration of element

    What's the problem here. I've been developing spring-ws app (particularly for mm7). When i receive the request I'm getting org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'... What's the problem here?
    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mail.org/mailschema"
         xmlns:mm7="http://www.mail.org/mailschema" elementFormDefault="qualified">
              <complexType name="SubmitReq">
                   <sequence>
                        <element name="messageType" type="string"/>
                        <element name="verseion" type="string"/>
                   </sequence>
              </complexType>
         <element name="MM7SubmitReqObject" type="mm7:SubmitReq"></element>
    </schema>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
    <mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4" SOAP-ENV:mustUnderstand="1">205a83ed79d64576</mm7:TransactionID>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
         <mm7:SubmitReq xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4">
              <mm7:MM7Version>6.8.0</mm7:MM7Version>
              <mm7:SenderIdentification>
                   <mm7:VASPID>VASP_TEST</mm7:VASPID>
                   <mm7:VASID>VAS_TEST</mm7:VASID>
                   <mm7:SenderAddress>
                        <mm7:Number>123456</mm7:Number>
                   </mm7:SenderAddress>
              </mm7:SenderIdentification>
              <mm7:Recipients>
                   <mm7:To>
                        <mm7:Number>+15166771001</mm7:Number>
                   </mm7:To>
              </mm7:Recipients>
              <mm7:MessageClass>Advertisement</mm7:MessageClass>
              <mm7:ExpiryDate>P1D</mm7:ExpiryDate>
              <mm7:DeliveryReport>false</mm7:DeliveryReport>
              <mm7:ReadReply>false</mm7:ReadReply>
              <mm7:Priority>Normal</mm7:Priority>
              <mm7:Subject>Check this out ---</mm7:Subject>
              <mm7:Content allowAdaptations="true" href="cid:AppLogo.jpg"/>
         </mm7:SubmitReq>
         <ericMm7:EricssonSubmitReq xmlns:ericMm7="REL-5-MM7-1-1-ericsson.xsd">
              <ericMm7:FreeText>;LUCK ON;123456789012;1</ericMm7:FreeText>
              <ericMm7:SenderVisibility>true</ericMm7:SenderVisibility>
         </ericMm7:EricssonSubmitReq>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    06/24/09 20:16:57.015 endpoint.SimpleSoapExceptionResolver [DEBUG] Resolving exception from endpoint [com.smart.mms.endpoint.MM7Endpoint@746e96ff]: org.springframework.oxm.jaxb.JaxbUnmarshallingFailureException: JAXB unmarshalling exception: null; nested exception is javax.xml.bind.UnmarshalException
    - with linked exception:
    [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'.]
    06/24/09 20:16:57.016 server.SoapMessageDispatcher [DEBUG] Endpoint invocation resulted in exception - responding with Fault
    org.springframework.oxm.jaxb.JaxbUnmarshallingFailureException: JAXB unmarshalling exception: null; nested exception is javax.xml.bind.UnmarshalException
    - with linked exception:
    [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'.]
    Caused by:
    javax.xml.bind.UnmarshalException
    - with linked exception:
    [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'.]

    Hi,
              can you check with JSTL1.0
              pl. let me know service pack that you are using
              Regards,
              Prasanna Yalam

  • Problem with xerces2 J (cvc-elt.1: Cannot find the declaration of element)

    cvc-elt.1: Cannot find the declaration of element 'Unternehmen'.
    Can anyone help me to get this problem solved?
    I am using xerces to validate a xml with a xsd scheme and i think there must be a error within the scheme. But the XSD Validator on w3c.org says that the xsd is fine !? :-o
    scheme (xsd)
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <xsd:complexType name="PersonTyp" abstract="true">
         <xsd:sequence>
           <xsd:element name="Vorname" type="xsd:string" maxOccurs="3"/>
           <xsd:element name="Name" type="xsd:string"/>
           <xsd:element name="Geburtsdatum" type="xsd:date"/>
         </xsd:sequence>
       </xsd:complexType>
       <xsd:complexType name="MitarbeiterTyp">
         <xsd:complexContent>
           <xsd:extension base="PersonTyp">
             <xsd:sequence>
               <xsd:element name="Gehalt">
                 <xsd:simpleType>
                   <xsd:restriction base="xsd:float">
                     <xsd:minInclusive value="10000"/>
                   </xsd:restriction>
                 </xsd:simpleType>
               </xsd:element>
             </xsd:sequence>
           </xsd:extension>
         </xsd:complexContent>
       </xsd:complexType>
       <xsd:element name="Unternehmen">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Mitarbeiter" type="MitarbeiterTyp"
               maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
    </xsd:schema>xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Unternehmen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="Beispiel.xsd">
    <Mitarbeiter>
      <Vorname>Hagen</Vorname>
      <Vorname>Dieter</Vorname>
      <Name>Becker</Name>
      <Geburtsdatum>1967-08-13</Geburtsdatum>
      <Gehalt>39512.34</Gehalt>
    </Mitarbeiter>
    <Mitarbeiter>
      <Vorname>Jutta</Vorname>
      <Name>Stehl</Name>
      <Geburtsdatum>1976-09-11</Geburtsdatum>
      <Gehalt>42500.34</Gehalt>
    </Mitarbeiter>
    </Unternehmen>

    forget about this thread.
    i have read a chapter of http://java.sun.com/webservices/docs/1.2/tutorial/doc/index.html this document and found out that i missed a statement within my java code.
    Next, you need to configure the parser factory to generate a parser that is namespace-aware parser, as well as validating:
      SAXParserFactory factory = SAXParserFactory.newInstance();
      factory.setNamespaceAware(true);
      factory.setValidating(true); I MISSED THE factory.setNamespaceAware(true); LINE!!!!

  • Issue with order or sequence of wbs elements appearance in planning layout

    Hi Experts
    we have an issue with order or sequence of wbs elements appearance in BPS planning layout.
    In BW - 0wbs element -  hierarchy order is as below
    1
    2
    3
    4
    5
    6
    7
    8
    but when we check the same wbs element in BPS planning layout, it appears as below
    1
    2
    3
    4
    6
    7
    5
    8
    Request you to advice how to correct the order.
    Best Regards
    krishna

    Hi,
    I came across a similar situation once. I dont remember exactly.
    We have two different DataSources on wbs hierarchy. The hiearchy was loaded using the two datasources.
    By mistake we were trying to use the hierarchy created by Datasource2, instead of hier created by datasource1.
    Can you check that.

  • Problem in creating Data/Service in FlashBuilder 4 beta 2 with this error .cvc-elt.1: Cannot find the declaration of element 'model'

    hi
    i have a problem after installing flashBuilder 4 beta2 .
    when i want to create Data/Service with BlazeDs and when i click on button finish
    this error shown and I can't do anything with it .
    in flashBuilder beta1 it's work perfect .
    if any one in thereand know why?
    please help me
    ERROR: XML parse error : Error on line 1 of documen : cvc-elt.1:Cannot find declaration of element 'model'. Nested exeption:Cannot find declaration of element 'model'.
    thanks

    Hi,
    Thanks for your feedback
    Can you attach your sample project and provide details on the Flash Builder and BlazeDS builds you are using?
    Also add your vote to http://bugs.adobe.com/jira/browse/FB-23479 a similar known issue
    Thanks,
    Balaji
    http://balajisridhar.wordpress.com

  • Xmlreader schema validation error: Cannot find the declaration of element

    I have multiple schemas with namespaces but I would like to validate an xml document without namespaces. The schemas all have elementFormDefault="unqualified" in the root element.
    I am encountering error below in my validation using xmlreader:
    ERROR:
    Cannot find the declaration of element 'NewTradenetDeclaration'.
    my code is:
    xmlReader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    xmlReader.setFeature(VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_NAMESPACE_FEATURE_ID, true);
    xmlReader.setProperty(JAXP_SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
    String schemaURI = "NewTradenetDeclaration.xsd";
    // ive tried all of the ff but throws the same error
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, "urn:crimsonlogic:tn:schema:xsd:NewTradenetDeclaration NewTradenetDeclaration.xsd");
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, schemaURI);
    xmlReader.setProperty(JAXP_SCHEMA_SOURCE, schemaURI);
    // set entity resolver to resolve xsd locations
    MyResolver resolver = new MyResolver();
    xmlReader.setEntityResolver(resolver);the entity resolver has:
    public InputSource resolveEntity (String publicId, String systemId) {
      String filename =  "c:/workspace/TXParser/schema/"+ systemId.substring(systemId.lastIndexOf("/")+1);
      File f = new File(filename);
      InputSource source = null;
      try {
        source = new InputSource(new FileReader(f));
      } catch(Exception e) {
      System.out.println("InputSource exception: " + e.getMessage());                 
      return source;
    }Help please. Thanks.

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

  • Cannot find the declaration of element taglib

    Hi,
              I am using JSTL1.1 standard.jar.I deployed it in my WL8.1 server.when i start my WL8.1 it giving the following warning.Its not giving any error while runtime.
              Please help me.
              Mitul
              <Warning> <HTTP> <BEA-101248> <[ServletContext(id=
              26711310,name=pem,context-path=/)]: Deployment descriptor "jar:file:E:\WORKSP~3\
              Domains\PEM-FM\.\portalServer\.wlnotdelete\extract\portalServer__appsdir_pem_dir
              _pem\jarfiles\WEB-INF\lib\standard.jar!/META-INF/fn.tld" is malformed. Check aga
              inst the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line
              3, column 228).>

    Hi,
              can you check with JSTL1.0
              pl. let me know service pack that you are using
              Regards,
              Prasanna Yalam

  • How can i change the sequence of text element in standard driver program ?

    Hi,
    can u tell me how can i change the sequence of text element in standard  sapscript driver program.. without making a zcopy of standard driver program.
    My problem is when MEDRUCK form is getting printed for PO print , header text is coming before item. But the requirement is to come it after item.So how cani do that without making the zcopy of  SAPLMEDRUCK program..Is there any enhancement point in SAPLMEDRUCK driver program..where i can put my customise code for changing the sequence of text element ?

    Hi,
        Just copy the MEDRUCK to ZMEDRUCK. No need to copy the driver program.
    1) SE71Menu > Utilities > COpy from Client
    MEDRUCK ->>Client 000
    New formname ZMEDRUCK
    2) Now open the ZMEDRUCK in DE language in SE71
    3) Menu > Utilities > Convert original Language
    Change DE  to EN, save and activate
    4) Now open the ZMEDRUCK in EN language
    5) Goto Pagewindows > Main window,
    Look for the HEADER text Text element, copy the whole code under this Text element just after the ITEM text Text element, and comment the HEADER text above.
    Now the Header text Text element will be below ITEM text only. This will full fill your requirment.
    Now goto NACE transaction and add the copied ZMEDRUCK to the EF application.
    Regards
    Bala Krishna

  • When opening XHTML page, getting error message "Attribute ....space not declared for element 'pre' "

    Hi all,
    We are trying to use XHTML to author some of our documentation.  The plan is to use FrameMaker to convert the docs to PDF format.
    The input file contains the following offending line:
    <pre xml:space="preserve">
    This should be allowed according to the www.w3.org/1998/xhtml spec.
    The actual FM log message is:
    Message: Attribute '{http://www.w3.org/XML/1998/namespace}space' is not declared for element 'pre'
    Any hints?  I am using Frame Maker 9, by the way.
    Thanks,
    Frances

    In case anyone is interested the base solution given by dvohra09 can be expanded to solve the problems.
    (1) It appears the parser raises errors against any unknown attributes, including xmlns:xxx="...". Solution is either to declare them in the dtd element you would like them to appear in (as in answer from dvohra09 ).
    (2) You have to explicitly force the tags in the DTD into the correct namespace using prefixs to ensure the correct ones are picked up , e.g.:
       <!ELEMENT nstag:mytag (mysubtag+)>
       <!ATTLIST nstag:mytag   xmlns:nstag CDATA #FIXED  "http://www.someOtherURI.com/xxx">
    you then have to refer to the tag as <nstag:mytag>.
    This doesn't appear to be how the XML/namespace specs (or the slideshow example) say it should be. They imply (1) should silently declare the new namespace prefix, and (2) should work without prefixes because the DTD filename is used as an explicit namespace.

  • ERROR: XML parse error: Error on line 1 of document: cvc-elt.1: Can not find the declaration of element 'model'. Nested exception: Can not find the declaration of element 'model'.

    I have install flash builder 4 beta 2 + blazeds 4.00.7548. While try to connect to data service and face a problem.
    When i use a beta 1 that no such probem. please help.
    ERROR: XML parse error: Error on line 1 of document: cvc-elt.1: Can not find the declaration of element ‘model’. Nested exception: Can not find the declaration of element ‘model’.

    Hello All!
    I'm just getting started with Flash Builder 4 and BlazeDS and I'm having this same issue.     I have installed the FlashBuilder 4 beta 2  Build 253292, and Blaze 4  ( blazeds-turnkey-4.0.0.14341 ).       I have also installed the livecycle_dataservices3_modelerplugin_100509.      Upon clicking Data-Connect to data/service and then Blazeds,   I can see my DAO object listed.   However, if I select it I receive the dreaded error.       Now if I code in the remote object manually, in the  .mxml file and run it, all works just fine.        It's only while trying to use the object within Flashbuilder that I have the problem.     I see lots of ideas kicked around for this, and it seems that various solutions have worked for different users.    Can somebody put together a 'cookbook' of just exactly how to set things up to make this work? 
    Thanks

  • Sequence Contains No Elements

    Hi Experts,
    I am new to SAP BPC and is in the process of self learning.
    I have created dimensions and a new model. Now I want to fill some master data from flat file to one of the dimensions. For this purpose I am opening the excel add-in and then trying to connect to my newly created model. But it is giving error "Sequence contains no elements". However I am able to connect to the standard models already existing in the system. Please help.
    Regards,
    Arun.

    Hi Firoz,
    Even I got the same issue. your solution solved my issue but
    What is the need of dummy members here ?
    cant we create with out dummy members ?

  • Cvc-elt.1: Cannot find the declaration of element 'html'

    I was getting an error when I was trying to validate the following XML file as below:
    cvc-elt.1: Cannot find the declaration of element 'html'
    However the error below goes away when I type in
    <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
    instead of "<html xmlns="http://www.w3.org/1999/xhtml"
    I am not sure why the second way works. I am not familiar with namespaces, so if anyone could tell me why the second approach works, i would be grateful. Or, is there any other reason also that makes the error appear..Please demystify. Thanks very much
    The error:
    *cvc-elt.1: Cannot find the declaration of element 'html'*
    {code}
    <?xml version="1.0" encoding="UTF-8"?>
    *<html xmlns="http://www.w3.org/1999/xhtml"*      xmlns:xhtml="http://www.w3.org/2002/Xforms"
         xmlns:ev="http://www.w3.org/2001/xml-events"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:xsi="http://www/w3.org/2001/XMLSchema-instance"
         xmlns:xxforms="http://orbeon.org/oxf/xml/xform"
         xmlns:xs="http://www.w3.org/2001/XMLSchema"
         xmlns:fe="http://example.com/form/xform"
         xmlns:f="http://orbeon.org/oxf/xml/formatting"
         xmlns:xforms="http://w3.org/2002/xforms">
                   <head>
                        <title> ProtoType Complaint Form - 2 </title>
                        <!-- We are going to use an external CSS file here -->
                        <!-- <link rel="stylesheet" type="text/css" href="my_styles.css"/> -->
                        <!-- Let us use an Internal Style sheet as well -->
                        <!-- Let us use or adapt the Form Editor CSS in the form as suggested by Mike, Dan, Intalio -->
                        <!--We are going to be using CSS Rules:
                        A CSS rule comprises of a selector, and a property:value pair (declaration). -->
                        <!--
                        selector:
                             how content can be selected for styling, for example, the selector for a level-one
                        heading element is h1; selectors include element name, ID and class
                        property:
                             how a presentation attribute of an element can be targeted, for example, the font-family
                             property refers to the typeface content should be set in
                        value:
                             the values permitted for each property; for example, a colour can be set using a keyword:
                             red, green, blue; or a hexadecimal code: #f00, #0f0, #00f
                        -->
                        <!--
                        We are going to use Solitary ID selectors:
                             those that can apply to any type of element and have the simple syntax
                             #idname, for example, #title. This selector selects the single element on a page
                             that has an ID of "title".
                        -->
                        <!-- SideNote: Keyword - "CSS pseudo elements" -->          
                        <style type="text/css">
                        <!-- #xforms_cntrl_COMPLAINT_TYPE {position : absolute; top : 30; left : 270; width : 195; height : 29; margin : 0; padding : 0;} -->
                             h1
                                  font: bold 20pt helvetica,verdana;
                             h2
                                  font: bold 18pt helvetica,verdana;
                             h3
                                  font: bold 16pt helvetica,verdana;
                             /* blue background for Group labels */
                             /* h4 { font: bold 14pt helvetica,verdana; background-color: #1078E1; } */
                             h4
                                  font: bold 14pt helvetica,verdana;
                             .xforms-group {
                             /* border: 10px; */
                             border: thin solid #0000FF;
                             background-color: #ffffcc;
                             PADDING-RIGHT: 0.5em;
                             DISPLAY: block;
                             margin-bottom:5px;
                             /* display: table-row; */
              .xforms-label { font-weight: bold }
                        </style>
                        <!-- define the form model -->
                        <!-- We will constrain instance data by specifying an XML schema -->
                        <!-- xforms:model starts here -->
                        <xforms:model schema="test2.xform.xsd" id="COMPLAINT_DATA">
                             <!-- Task input -->
                             <xforms:instance id="taskinput">
                                  <fe:input>
                                       <fe:Arrestee_Last_Name/>
                                       <fe:Arrestee_First_Name/>
                                  </fe:input>
                             </xforms:instance>
                                  <xforms:instance id="taskmetadata">
                                  <!-- if I need to populate some instance using an XSL stylesheet and eXist ?? -->
                                       <taskmetadata/>
                                  </xforms:instance>
                             <!-- Task Output -->
                             <xforms:instance id="taskoutput">
                                  <fe:output>
                                       <fe:Arrestee_Last_Name/>
                             <fe:Arrestee_First_Name/>
                                  </fe:output>
                             </xforms:instance>     
                             <!-- the xforms-ready event is used here to trigger setValue -->
                             <!-- We set Instance Values with the xforms:setvalue Action -->
                             <xforms:action ev:event="xforms-ready">
                                  <xforms:action xforms:if="string(instance('taskoutput')/@saved) != 'true'">
                                       <xforms:setValue ref="instance('taskoutput')/fe:Arrestee_Last_Name" value="instance('taskinput')/fe:Arrestee_Last_Name" />
                                       <xforms:setValue ref="instance('taskoutput')/fe:Arrestee_First_Name" value="instance('taskinput')/fe:Arrestee_First_Name" />
                                  </xforms:action>
                             </xforms:action>
                             <!-- can I use type="xsd:string ?? -->
                             <xforms:bind nodeset="instance('taskoutput')/fe::Arrestee_Last_Name" relevant="true()" type="xs:anyURI" />
                             <xforms:bind nodeset="instance('taskoutput')/fe:Arrestee_First_Name" relevant="true()" type="xs:anyURI" />     
                        </xforms:model> <!-- xforms:model ends here -->
                   </head>     
              <body>
                        <h3>
                             <center>
                                  <font color="blue">
                                       Criminal Complaint <br></br>
                                  </font>
                             </center>
                        </h3>          
                        <!-- Use Later??
                        <div id="intalio-bpms-form">
                             <div id="xforms_cntrl_output105">
                                  <xforms:output ref="instance('taskoutput')/fe:output105"/>
                             <div>
                        <div> -->
                        <xforms:group appearance="full">
                        <p class="proto">
                             <xforms:input model="COMPLAINT_DATA" ref="instance('taskinput')/fe:input/fe:Arrestee_Last_Name">
                                  <xforms:label>Arrestee Last Name: </xforms:label>
                             </xforms:input>     
                        </p>
                        <p class="proto">
                             <xforms:input model="COMPLAINT_DATA" ref="instance('taskinput')/fe:input/fe:Arrestee_First_Name">
                                  <xforms:label>Arrestee First Name: </xforms:label>
                             </xforms:input>     
                        </p>
                        </xforms:group>     
              </body>
         </html>

    Though this is not my area, you can have a look at this thread which may help you
    [Re: XML inputs in a MII transaction to be used as a Web Service call|XML inputs in a MII transaction to be used as a Web Service call;
    thanks
    G. Lakshmipathi

  • Validation error: cvc-elt.1: Cannot find the declaration of element

    I use JAXP to do XML Parsing and validation. I use DOM and not SAX.
    My code is as follows:
    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
    File schemaLocation = new File("C:\\config\\JMS_properties.xsd");
    Schema schema = schemaFactory.newSchema(schemaLocation);
    // Create the validator
    Validator validator = schema.newValidator();
    // Add an error handler to the validator
    JMSErrorHandler errorHandler = new JMSErrorHandler();
    validator.setErrorHandler(errorHandler);
    // Create the dom factory
    DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
    // Set the namespace property
    domFactory.setNamespaceAware(true);
    // Create the document builder
    DocumentBuilder builder = domFactory.newDocumentBuilder();
    // Parse the xml file
    Document doc = builder.parse(xmlFile);
    // Create the dom source and destination
    // The destination will contain the doc augmented with the default attribute/element
    DOMSource source = new DOMSource(doc);
    DOMResult result = new DOMResult();
    // Validate and augment the source
    validator.validate(source, result);
    // Error checking
    if ( errorHandler.validationError == true ) {
        // errors occured during the parsing
        System.out.println("XML file is not valid");
        System.exit(1);
    // Get the augmented document
    this.augmented = (Document) result.getNode();When executing my code, I got:
    Validation error: cvc-elt.1: Cannot find the declaration of element 'JMSProperties'
    But the xml file has this element in it so I do not understand the meaning of that error.
    ??????

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

  • XML validation with XSD, Cannot find the declaration of element 'rules'

    i am able to validate xml with XSD, from windows env, but same is not doing with linux, it is throwing error Cannot find the declaration of element 'rules'
    code here is
    validate(String aFilePath, String aSchemaFilePath)
    final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
              final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
              final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
    if(lSchemaFilePath == null){
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
    factory.setAttribute(JAXP_SCHEMA_SOURCE, new File(aSchemaFilePath));
    factory.setNamespaceAware(true);
    factory.setValidating(true);
    DocumentBuilder builder = factory.newDocumentBuilder();
    mValidator = new ValidationHandler();
    builder.setErrorHandler(mValidator);
    lDocument = builder.parse(aFilePath);
    if(mValidator.mErrorExist){
              }Thanks
    vittal

    here's the sample gml file.
    <?xml version="1.0" encoding="UTF-8"?>
    <ksj:Dataset gml:id="C01_DataSet" xmlns:ksj="http://nlftp.mlit.go.jp/ksj/schemas/ksj-app" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://nlftp.mlit.go.jp/ksj/schemas/ksj-app AppSchema-C01-v1_0.xsd">
         <gml:description>CO1 description</gml:description>
         <gml:boundedBy>
              <gml:EnvelopeWithTimePeriod srsName="JGD2000 / (B, L)" frame="GC / JST">
                   <gml:lowerCorner>24.03 122.93</gml:lowerCorner>
                   <gml:upperCorner>45.52 145.82</gml:upperCorner>
                   <gml:beginPosition calendarEraName="Seireki">1965</gml:beginPosition>
                   <gml:endPosition calendarEraName="Seireki">1990</gml:endPosition>
              </gml:EnvelopeWithTimePeriod>
         </gml:boundedBy>
         <gml:Point gml:id="pt_1">          
              <gml:pos>24.33741667 123.73177778</gml:pos>
         </gml:Point>
         <gml:Point gml:id="pt_2">
              <gml:pos>24.33158333 124.10552778</gml:pos>
         </gml:Point>
         <gml:Point gml:id="pt_3">
              <gml:pos>26.28205556 127.73950000</gml:pos>
         </gml:Point>
         <gml:Point gml:id="pt_4">
              <gml:pos>26.23777778 127.96491667</gml:pos>
         </gml:Point>
         <ksj:Tide gml:id="fi_1">
              <ksj:position xlink:href="#pt_1"/>
              <ksj:springTideRange>13</ksj:springTideRange>
              <ksj:neapRange>5</ksj:neapRange>
              <ksj:averageHighTideInterval>69</ksj:averageHighTideInterval>
         </ksj:Tide>
         <ksj:TidalCurrent gml:id="fi_2">
              <ksj:position xlink:href="#pt_2"/>
              <ksj:risingTideCurrent>
                   <ksj:TidalCurrentInfo>
                        <ksj:currentDirection>14</ksj:currentDirection>
                        <ksj:currentSpeed>3</ksj:currentSpeed>
                   </ksj:TidalCurrentInfo>
              </ksj:risingTideCurrent>
              <ksj:fallingTideCurrent>
                   <ksj:TidalCurrentInfo>
                        <ksj:currentDirection>6</ksj:currentDirection>
                        <ksj:currentSpeed>3</ksj:currentSpeed>
                   </ksj:TidalCurrentInfo>
              </ksj:fallingTideCurrent>
         </ksj:TidalCurrent>
         <ksj:Marina gml:id="fi_3">
              <ksj:position xlink:href="#pt_3"/>
              <ksj:name>Marinafi3</ksj:name>
              <ksj:facilityCode>4703</ksj:facilityCode>
              <ksj:administrativeAreaCode codeSpace="AdministrativeAreaCode.xml">47205</ksj:administrativeAreaCode>
              <ksj:establishmentYear>
                   <gml:TimeInstant gml:id="ti_3">
                        <gml:timePosition>1987</gml:timePosition>
                   </gml:TimeInstant>
              </ksj:establishmentYear>
              <ksj:administratorClass>1</ksj:administratorClass>
              <ksj:numberOfKeptShips>
                   <ksj:NumberOfKeptShips>
                        <ksj:max>263</ksj:max>
                        <ksj:now>83</ksj:now>
                   </ksj:NumberOfKeptShips>
              </ksj:numberOfKeptShips>
              <ksj:frequencyOfSailing>900</ksj:frequencyOfSailing>
              <ksj:facilitiesAbove>facilitiesAbove1</ksj:facilitiesAbove>
              <ksj:facilitiesAbove>facilitiesAbove2</ksj:facilitiesAbove>
              <ksj:facilitiesAbove>facilitiesAbove3</ksj:facilitiesAbove>
              <ksj:facilitiesAbove>facilitiesAbove4</ksj:facilitiesAbove>
         </ksj:Marina>
         <ksj:MarinePhenomenonObservationFacilities gml:id="fi_4">
              <ksj:position xlink:href="#pt_4"/>
              <ksj:name>MarineName</ksj:name>
              <ksj:facilityCode>47001</ksj:facilityCode>
              <ksj:administrativeAreaCode codeSpace="AdministrativeAreaCode.xml">47323</ksj:administrativeAreaCode>
              <ksj:establishmentYear>
                   <gml:TimeInstant gml:id="ti_4">
                        <gml:timePosition>1983</gml:timePosition>
                   </gml:TimeInstant>
              </ksj:establishmentYear>
              <ksj:administratorClass>7</ksj:administratorClass>
              <ksj:observationItem>observationItem1</ksj:observationItem>
              <ksj:observationItem>observationItem2</ksj:observationItem>
              <ksj:observationItem>observationItem3</ksj:observationItem>
              <ksj:observationItem>observationItem4</ksj:observationItem>
              <ksj:observationItem>observationItem5</ksj:observationItem>
              <ksj:observationItem>observationItemOthers</ksj:observationItem>
         </ksj:MarinePhenomenonObservationFacilities>
    </ksj:Dataset>

  • Error cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'

    Hi! Ive got an error: cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'
    My WSDL file was generated by PI.
    After import this WSDL-file to my Business Process to section Service Interfaces - I've got this error.
    But, it seems to be OK when I created the project, create a model by choosing the WSDL-file. All validators do not give me any error.
    Whats wrong?!

    Though this is not my area, you can have a look at this thread which may help you
    [Re: XML inputs in a MII transaction to be used as a Web Service call|XML inputs in a MII transaction to be used as a Web Service call;
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Hard disk test failed on HP Pavillion dv6-1100eo notebook

    I have a HP Pavilion dv6-1100eo Entertainment Notebook PC  (P/N: NR597EA) with Vista 32-bit.  Unfortunately no warranty left in and general I have been very happy with this notebook. However suddenly Wondows would not start up - and it did not even f

  • Bitlocker & ThinkVantage Rescue and Recovery on 64 Windows 7 Enterprise

    Hi I am attempting to setup ThinkVantage Rescue and Recovery 4 on a X300 ThinkPad with 64bit Windows 7 Enetrprise and BitLocker enabled. A installed ThinkVantage Rescue and Recovery 4 after turning on BitLocker, as stated in considerations in ThinkVa

  • How do I disable the wireless button on my Acer Aspire 3000

    I got my Broadcomm wireless working, and everything's great, except for the design of this stupid laptop. The button that toggles the wireless is positioned in a way that if I am leaning back with the laptop on my lap, my belt or stomach often accide

  • How to run sql query in bat file in task schedular at every 10 seconds

    This is my sql script : DECLARE @countRows INT, @currDate DATE, @checkForTasks INT, @created_by_id INT, @gst_ID int; SET @currDate = Getdate() SET @countRows = (SELECT Count(*) FROM [dbo].[sd_gst_effective_table] WHERE isapplied = 0) IF @countRows >

  • Multi-tables based blocks

    Hello, Since "FROM clause" based blocks are not well handled by Forms 6i (not editable, master-details relations restrictions), is there another way to base a block on several tables without using a "FROM clause" ? Actually, blocks are based on one t