xsl-list
[Top] [All Lists]

Re: [xsl] The data at the root level is invalid+xslt

2012-02-21 15:00:02
Here is the complete example, Sorry some of the element got missed while doing 
the editing


<soapenv:Envelope xmlns:tri="http://abc.com/WebServices.Common"; 
xmlns:ns="http://abc.com/Case/471"; xmlns:con="http://xyz.com/eb/context"; 
xmlns:head="http://xyz.com/eb/header"; 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
    <soapenv:Header>
        <head:ESBHeader>
            <head:ESBProps>
                <head:Property>
                    <head:name>?</head:name>
                    <head:value>?</head:value>
                </head:Property>
            </head:ESBProps>
            
        </head:ESBHeader>
        <con:Context>
            <con:clientReqId>?</con:clientReqId>
            <con:transId>?</con:transId>
            <con:msgTyp>?</con:msgTyp>
            <con:Security>
                <con:UsernameToken>
                    <con:username></con:username>
                    <con:password>1</con:password>
                    
                </con:UsernameToken>
            </con:Security>
            
        </con:Context>
    </soapenv:Header>
    <soapenv:Body>
        <ns:SearchCases>
            <ns:request>
                <tri:SessionId>?</tri:SessionId>
                <ns:Member>
                    <ns:MemberId>?</ns:MemberId>
                    <ns:SystemId>?</ns:SystemId>
                </ns:Member>
                <ns:Pagination>
                    <ns:CurrentPageNumber>?</ns:CurrentPageNumber>
                  </ns:Pagination>
      
            </ns:request>
        </ns:SearchCases>
    </soapenv:Body>
</soapenv:Envelope>


 so i am getting the following error when try to do validation of generated 
xml, 

"Unable to locate a refernce to a supported schematype(DTD,W3C Schema) with in 
document instance."

      how do i fix this issue.
--- On Wed, 22/2/12, Markus Abt <abt(_at_)comet(_dot_)de> wrote:

From: Markus Abt <abt(_at_)comet(_dot_)de>
Subject: Re: [xsl] The data at the root level is invalid+xslt
To: "'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'" 
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Date: Wednesday, 22 February, 2012, 2:24 AM
ram wrote:
      I have soap request in which i am
stripping off some of the elements in the soap header
elements and adding wssecurity elements and activityId.
    I am not touching the soap body. i was
just copying it.

Then the soap body was broken before: missing
</ns:Pagination> end tag.

Markus


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--