You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Matt MacDonald <ma...@mitre.org> on 2002/03/25 17:42:20 UTC

Client parsing exception.

Hello,

I am getting the following error reported back from the soap client and 
have not found any information about this in the archives. Any thoughts 
as to what could be causing this?

(SOAP-ENV:Client): Parsing error, response was:
An invalid second ':' was found in the element type or attribute name.

CALL:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:getProjectName xmlns:ns1="urn:project-validator" 
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Paramater0 xsi:type="xsd:string">01AAV633</Paramater0>
<Paramater1 xsi:type="xsd:string">MP</Paramater1>
<Paramater2 xsi:type="xsd:string">2001</Paramater2>
</ns1:getProjectName>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


RESPONSE:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Exception from service object: Invalid fiscal year and 
project number combonation. 01AAV633 and fiscal year = 2001</faultstring>
<faultactor>/NASApp/pdc_soap/servlet/rpcrouter</faultactor>
<detail>
<stackTrace 
xmlns:="">org.mitre.mii.project.validation.ProjectValidationException: 
Invalid fiscal year and project number combonation. 01AAV633 and fiscal 
year = 2001
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.&lt;init&gt;(Compiled Code)
    at java.lang.Exception.&lt;init&gt;(Compiled Code)
    at org.mitre.mii.datacollector.ExceptionWrapper.&lt;init&gt;(Unknown 
Source)
    at 
org.mitre.mii.project.validation.ProjectValidationException.&lt;init&gt;(Unknown 
Source)
    at 
org.mitre.mii.project.validation.ProjectValidatorImpl.queryProjectBean(Compiled 
Code)
    at 
org.mitre.mii.project.validation.ProjectValidatorImpl.queryProjectBean(Compiled 
Code)
    at 
org.mitre.mii.project.validation.ProjectValidatorImpl.getProjectName(Unknown 
Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at org.apache.soap.server.RPCRouter.invoke(Compiled Code)
    at 
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
    at org.apache.soap.server.http.RPCRouterServlet.doPost(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at 
com.netscape.server.servlet.servletrunner.ServletInfo.service(Compiled Code)
    at 
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Compiled 
Code)
    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at com.kivasoft.thread.ThreadBasic.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
</stackTrace>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>






Re: Client parsing exception.

Posted by Matt MacDonald <ma...@mitre.org>.
I looking at the Response a little closer I see that the <stackTrace> 
element contains an invalid xmlns declaration. Does anybody know what 
could be causing the xmlns attribute in the stackTrace element to be 
failing?

-matt

Matt MacDonald wrote:

> Hello,
>
> I am getting the following error reported back from the soap client 
> and have not found any information about this in the archives. Any 
> thoughts as to what could be causing this?
>
> (SOAP-ENV:Client): Parsing error, response was:
> An invalid second ':' was found in the element type or attribute name.
>
> CALL:
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <ns1:getProjectName xmlns:ns1="urn:project-validator" 
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> <Paramater0 xsi:type="xsd:string">01AAV633</Paramater0>
> <Paramater1 xsi:type="xsd:string">MP</Paramater1>
> <Paramater2 xsi:type="xsd:string">2001</Paramater2>
> </ns1:getProjectName>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
> RESPONSE:
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server</faultcode>
> <faultstring>Exception from service object: Invalid fiscal year and 
> project number combonation. 01AAV633 and fiscal year = 2001</faultstring>
> <faultactor>/NASApp/pdc_soap/servlet/rpcrouter</faultactor>
> <detail>
> <stackTrace 
> xmlns:="">org.mitre.mii.project.validation.ProjectValidationException: 
> Invalid fiscal year and project number combonation. 01AAV633 and 
> fiscal year = 2001
>    at java.lang.Throwable.fillInStackTrace(Native Method)
>    at java.lang.Throwable.fillInStackTrace(Compiled Code)
>    at java.lang.Throwable.&lt;init&gt;(Compiled Code)
>    at java.lang.Exception.&lt;init&gt;(Compiled Code)
>    at 
> org.mitre.mii.datacollector.ExceptionWrapper.&lt;init&gt;(Unknown Source)
>    at 
> org.mitre.mii.project.validation.ProjectValidationException.&lt;init&gt;(Unknown 
> Source)
>    at 
> org.mitre.mii.project.validation.ProjectValidatorImpl.queryProjectBean(Compiled 
> Code)
>    at 
> org.mitre.mii.project.validation.ProjectValidatorImpl.queryProjectBean(Compiled 
> Code)
>    at 
> org.mitre.mii.project.validation.ProjectValidatorImpl.getProjectName(Unknown 
> Source)
>    at java.lang.reflect.Method.invoke(Native Method)
>    at java.lang.reflect.Method.invoke(Compiled Code)
>    at org.apache.soap.server.RPCRouter.invoke(Compiled Code)
>    at 
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129) 
>
>    at org.apache.soap.server.http.RPCRouterServlet.doPost(Compiled Code)
>    at javax.servlet.http.HttpServlet.service(Compiled Code)
>    at javax.servlet.http.HttpServlet.service(Compiled Code)
>    at 
> com.netscape.server.servlet.servletrunner.ServletInfo.service(Compiled 
> Code)
>    at 
> com.netscape.server.servlet.servletrunner.ServletRunner.execute(Compiled 
> Code)
>    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
>    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Compiled Code)
>    at java.lang.Thread.run(Compiled Code)
> </stackTrace>
> </detail>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
>
>
>




Re: Client parsing exception.

Posted by Matt MacDonald <ma...@mitre.org>.
I looking at the Response a little closer I see that the <stackTrace> 
element contains an invalid xmlns declaration. Does anybody know what 
could be causing the xmlns attribute in the stackTrace element to be 
failing?

-matt

Matt MacDonald wrote:

> Hello,
>
> I am getting the following error reported back from the soap client 
> and have not found any information about this in the archives. Any 
> thoughts as to what could be causing this?
>
> (SOAP-ENV:Client): Parsing error, response was:
> An invalid second ':' was found in the element type or attribute name.
>
> CALL:
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <ns1:getProjectName xmlns:ns1="urn:project-validator" 
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> <Paramater0 xsi:type="xsd:string">01AAV633</Paramater0>
> <Paramater1 xsi:type="xsd:string">MP</Paramater1>
> <Paramater2 xsi:type="xsd:string">2001</Paramater2>
> </ns1:getProjectName>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
> RESPONSE:
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server</faultcode>
> <faultstring>Exception from service object: Invalid fiscal year and 
> project number combonation. 01AAV633 and fiscal year = 2001</faultstring>
> <faultactor>/NASApp/pdc_soap/servlet/rpcrouter</faultactor>
> <detail>
> <stackTrace 
> xmlns:="">org.mitre.mii.project.validation.ProjectValidationException: 
> Invalid fiscal year and project number combonation. 01AAV633 and 
> fiscal year = 2001
>    at java.lang.Throwable.fillInStackTrace(Native Method)
>    at java.lang.Throwable.fillInStackTrace(Compiled Code)
>    at java.lang.Throwable.&lt;init&gt;(Compiled Code)
>    at java.lang.Exception.&lt;init&gt;(Compiled Code)
>    at 
> org.mitre.mii.datacollector.ExceptionWrapper.&lt;init&gt;(Unknown Source)
>    at 
> org.mitre.mii.project.validation.ProjectValidationException.&lt;init&gt;(Unknown 
> Source)
>    at 
> org.mitre.mii.project.validation.ProjectValidatorImpl.queryProjectBean(Compiled 
> Code)
>    at 
> org.mitre.mii.project.validation.ProjectValidatorImpl.queryProjectBean(Compiled 
> Code)
>    at 
> org.mitre.mii.project.validation.ProjectValidatorImpl.getProjectName(Unknown 
> Source)
>    at java.lang.reflect.Method.invoke(Native Method)
>    at java.lang.reflect.Method.invoke(Compiled Code)
>    at org.apache.soap.server.RPCRouter.invoke(Compiled Code)
>    at 
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129) 
>
>    at org.apache.soap.server.http.RPCRouterServlet.doPost(Compiled Code)
>    at javax.servlet.http.HttpServlet.service(Compiled Code)
>    at javax.servlet.http.HttpServlet.service(Compiled Code)
>    at 
> com.netscape.server.servlet.servletrunner.ServletInfo.service(Compiled 
> Code)
>    at 
> com.netscape.server.servlet.servletrunner.ServletRunner.execute(Compiled 
> Code)
>    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
>    at com.kivasoft.applogic.AppLogic.execute(Compiled Code)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Native Method)
>    at com.kivasoft.thread.ThreadBasic.run(Compiled Code)
>    at java.lang.Thread.run(Compiled Code)
> </stackTrace>
> </detail>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
>
>
>