[ http://issues.apache.org/jira/browse/AXIS2-1010?page=all ]
Deepal Jayasinghe resolved AXIS2-1010.
--------------------------------------
Resolution: Won't Fix
Hi Vedat;
We can do that , but if we do so the whole idea of differed building goes away.
If you try to build the incoming message at the transport receiver level , we
are doing something wrong (that is what I think). Therefore I am -1 on this
change , but if you want you can add a handler to do so rather than changing
Axis2 servlet.
> incomming xml validation
> ------------------------
>
> Key: AXIS2-1010
> URL: http://issues.apache.org/jira/browse/AXIS2-1010
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: windows
> Reporter: vedat demir
> Priority: Minor
>
> when axis servlet handles an ivalid SOAP request it shell throw an "invalid
> request exp."
> look below SOAP request
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <AddRequest xmlns="http://model.oukprovisioning.eigroup.com">
>
> ....fields of AddRequest object ....
> </AddRequest>
> <DeletRequest xmlns="http://model.oukprovisioning.eigroup.com">
>
> ....fields of DleteRequest object ...
> </DeletRequest>
> </soapenv:Body>
> </soapenv:Envelope>
> as seems there are two request entity in this request. Axis acepts first req.
> (here is AddRequest) and ignores fallowing requests.
> Axis servlet shell validate this incomming xml requests before processing
> .......
> This is an invalid request. Because in an xml file all object must be in a
> one object. if it would be below it had been true
> <Request>
> <AddRequest xmlns="http://model.oukprovisioning.eigroup.com">
>
> ....fields of AddRequest object ....
> </AddRequest>
> <DeletRequest xmlns="http://model.oukprovisioning.eigroup.com">
>
> ....fields of DleteRequest object ...
> </DeletRequest>
> </Request>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]