You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nikhil Thaker (JIRA)" <ji...@apache.org> on 2006/11/10 01:02:37 UTC

[jira] Created: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Doc/Lit Bare with empty soap body scenario with Proxy fails
-----------------------------------------------------------

                 Key: AXIS2-1666
                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Nikhil Thaker


Currently proxy cannot handle Doc/lit bare with empty payload. 
There are two problems associated with it:
1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.

I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1666?page=all ]

Rich Scheuerle resolved AXIS2-1666.
-----------------------------------

    Resolution: Fixed

Fixed in 474858

> Doc/Lit Bare with empty soap body scenario with Proxy fails
> -----------------------------------------------------------
>
>                 Key: AXIS2-1666
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>         Attachments: JIRA_1666_doclitbareemptymessage.txt
>
>
> Currently proxy cannot handle Doc/lit bare with empty payload. 
> There are two problems associated with it:
> 1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
> 2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.
> I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1666?page=all ]

Nikhil Thaker updated AXIS2-1666:
---------------------------------

    Attachment: JIRA_1666_doclitbareemptymessage.txt

> Doc/Lit Bare with empty soap body scenario with Proxy fails
> -----------------------------------------------------------
>
>                 Key: AXIS2-1666
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Attachments: JIRA_1666_doclitbareemptymessage.txt
>
>
> Currently proxy cannot handle Doc/lit bare with empty payload. 
> There are two problems associated with it:
> 1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
> 2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.
> I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1666?page=comments#action_12449010 ] 
            
Rich Scheuerle commented on AXIS2-1666:
---------------------------------------

There are some merge problems in the file.  I am working on this now.

Thanks Nikhil for this contribution.

> Doc/Lit Bare with empty soap body scenario with Proxy fails
> -----------------------------------------------------------
>
>                 Key: AXIS2-1666
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>         Attachments: JIRA_1666_doclitbareemptymessage.txt
>
>
> Currently proxy cannot handle Doc/lit bare with empty payload. 
> There are two problems associated with it:
> 1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
> 2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.
> I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1666?page=all ]

Rich Scheuerle reassigned AXIS2-1666:
-------------------------------------

    Assignee: Rich Scheuerle

> Doc/Lit Bare with empty soap body scenario with Proxy fails
> -----------------------------------------------------------
>
>                 Key: AXIS2-1666
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>         Attachments: JIRA_1666_doclitbareemptymessage.txt
>
>
> Currently proxy cannot handle Doc/lit bare with empty payload. 
> There are two problems associated with it:
> 1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
> 2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.
> I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1666?page=comments#action_12449021 ] 
            
Rich Scheuerle commented on AXIS2-1666:
---------------------------------------

The problem here is a little more complicated, I would like to discuss a better solution.

In order to unmarshal a JAXB object, an appropriate JAXBContext must be available.
The JAXBContext must be populated with the packages that correspond to the possible target ELEMENT.

      JAXBContext...packages of target element
      ......  
      JAXBContext get unmarshaller
       ......
       Object jaxb = unmarshaller.unmarshal(reader)

Currently the code tries to get the list of packages by inspecting  the possible formal target classes.
However this won't work in at least two cases:
   1) The target object is a primitive or other non-JAXB object (i.e. int)
    2) The target object is a derived JAXB object but is in a different package than the formal parameter.

The real solution here is to get the list of packages from the EndpointInterfaceDescription.
(currently this information is not fully available, but there should be a method on the EndpointInterfaceDescription to 
get a Set of package names for all of the relevant parameters/exceptions. )

The EndpointInfterfaceDescription would need to get this informtion when the wsdl / endpoint information to ensure that
it includes all of the packages for each included schema.

A more temporary solution is to:
   1) Add the getPackages() method to the EndpointInterfaceDescription.
    2) The initial implemenation will simply look at all of the types and exceptions ref'ed in the operations.  (This will fix
         the BareTest because the problematic schema contains elements that are not mapped to primitives).
    3) Change the relevant Marshal code to get the Packages from the EndpointInterfaceDescription...via the OperationDescription.

(Note that this solution is logically equivalent to what is done in Axis v1.  All of the referenced types from the schema are
added to a type mapping, and these are automatically available during deserialization).







> Doc/Lit Bare with empty soap body scenario with Proxy fails
> -----------------------------------------------------------
>
>                 Key: AXIS2-1666
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>         Attachments: JIRA_1666_doclitbareemptymessage.txt
>
>
> Currently proxy cannot handle Doc/lit bare with empty payload. 
> There are two problems associated with it:
> 1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
> 2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.
> I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1666?page=comments#action_12449011 ] 
            
Rich Scheuerle commented on AXIS2-1666:
---------------------------------------

The patch exposed another problem in the Bare test when I ran it with the latest code.
I am currently analyzing the problem.



> Doc/Lit Bare with empty soap body scenario with Proxy fails
> -----------------------------------------------------------
>
>                 Key: AXIS2-1666
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>         Attachments: JIRA_1666_doclitbareemptymessage.txt
>
>
> Currently proxy cannot handle Doc/lit bare with empty payload. 
> There are two problems associated with it:
> 1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
> 2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.
> I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario with Proxy fails

Posted by "Nikhil V Thaker (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1666?page=comments#action_12449196 ] 
            
Nikhil V Thaker commented on AXIS2-1666:
----------------------------------------

Patch probably went stale, lot of changes went in since Thursday when I 
had created this patch, I still have the source in my repository, do you 
think I should merge and recreate this patch?

Nikhil Thaker
office: 512 838 9964
nvthaker@us.ibm.com



"Rich Scheuerle (JIRA)" <ji...@apache.org> 
11/11/2006 12:36 PM

To
Nikhil V Thaker/Columbus/IBM@IBMUS
cc

Subject
[jira] Commented: (AXIS2-1666) Doc/Lit Bare with empty soap body scenario 
with Proxy fails






    [ 
http://issues.apache.org/jira/browse/AXIS2-1666?page=comments#action_12449011 
] 
 
Rich Scheuerle commented on AXIS2-1666:
---------------------------------------

The patch exposed another problem in the Bare test when I ran it with the 
latest code.
I am currently analyzing the problem.



message payload.
resolving operation usign the dispatcher code.
resolve the operation on server side. Further down the road we need to 
update the Dispatcher code so it can resolve operations by reading  soap 
message payload.

-- 
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

 



> Doc/Lit Bare with empty soap body scenario with Proxy fails
> -----------------------------------------------------------
>
>                 Key: AXIS2-1666
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1666
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>         Attachments: JIRA_1666_doclitbareemptymessage.txt
>
>
> Currently proxy cannot handle Doc/lit bare with empty payload. 
> There are two problems associated with it:
> 1) Proxy Fails with xmlStreamException when we try to create empty soap message payload.
> 2) If an empty body is sent out to the server we have no way of resolving operation usign the dispatcher code.
> I am going to attach fix for problem #1 and let users use SOAPAction to resolve the operation on server side. Further down the road we need to update the Dispatcher code so it can resolve operations by reading  soap message payload.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org