You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ravi Sukheja (JIRA)" <ji...@apache.org> on 2010/01/07 16:53:54 UTC

[jira] Created: (CXF-2605) Object argument is passed as null

Object argument is passed as null
---------------------------------

                 Key: CXF-2605
                 URL: https://issues.apache.org/jira/browse/CXF-2605
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.4
            Reporter: Ravi Sukheja


Hi,

We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797962#action_12797962 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Another point to mention, when I updated the cxf jar (cxf-2.2.4.jar), I had to update jsr311-api-1.0.jar and XmlSchema-1.4.5.jar, previously we were using jsr311-api-0.6.jar and XmlSchema-1.4.2.jar. I did not update any other jar file. We are using jaxb-api-2.1.jar and jaxb-impl-2.1.6.jar

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: StatusService.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800745#action_12800745 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------


The "status" schema is defined as:
{code:xml}
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://status.service.corymbus.db.com" xmlns:ns0="http://filter.corymbus.db.com" xmlns:ns1="http://datasynapse.corymbus.db.com" xmlns:ns2="http://exception.corymbus.db.com" xmlns:tns="http://status.service.corymbus.db.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
{code}
with the unqualified elements.   In that schema, with the targetNamespace defined on the WebParam, in the "getRequest" type needed to have its "in0" element set to:
{code:xml}
<xsd:element minOccurs="0" name="in0" form="qualified" type="ns0:FilterArguments" />
{code}
or similar to mark it qualified since that is what the runtime was expecting.

The namespace on the ResponseWrapper is different.   That defines what namespace the top level element is put into.   The top level elements are always qualified so it's mostly just a "which schema to stick it in" thing.






> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804564#action_12804564 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Hi Daniel,

Today, I downloaded 2.2.6 version and ran the application, but the generated WDSL still has 'unqualified' for the status. I have attached the WSDL for your reference. I even tried running the application, but still the same problem, it still gets the Null object.

Thanks & Regards,
Ravi.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804996#action_12804996 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Hi Daniel,

I closely examined the WSDL and it seems that it has the 'qualified' element, but still it doesn't seems to work.

{code}
<xsd:element form="qualified" minOccurs="0" name="in0" type="ns0:FilterArguments"/>
{code}

Can you please help?

Regards,
Ravi.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml, StatusService_2_2_6.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800661#action_12800661 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Hi Daniel,

Yes, it definetely worked. Thanks a lot in fixing the problem.

When you say "The element in the schema SHULD have had a 'form="qualified"', does it not have it, look at the below schema from the WSDL.

{code}
<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://filter.corymbus.db.com">
{code}

Also, we have @ResponseWrapper as below, will targetNamespace be considered or not. Was their bug in earlier version with this parameter?

{code}
@ResponseWrapper(localName = "loginXMLResponse", targetNamespace = "http://www.dbquant.com/", className = "com.db.corymbus.service.ids.cxf.LoginXMLResponse")
{code}

Regards,
Ravi.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800286#action_12800286 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------


Thanks for the testcase.

There are two issues:

1) In your interface, you are using WebParam annotations like:
{code}
@WebParam(name= "in0", targetNamespace = "http://filter.corymbus.db.com")
{code}
The targetNamespace is telling the runtime to look for a qualified element there.   However, the client is sending it unqualified.   There definitely was a bug in early versions of CXF that more or less ignored that targetNamespace which is probably why it worked OK with 2.1.1.    If you remove that targetNamespace attribute, everything works perfect.   Likewise for the @WebResult.

2) This test case DID identify a bug though.   In this case, the element in the schema SHOULD have had a
{code}
form="qualified"
{code}
attribute on it to mark that it was supposed to be qualified.   I just fixed that and am testing the fix now.





> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797959#action_12797959 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

I have attached the wsdl of our service, and here is the input and output message. As I mentioned earlier, the object that reaches the service is null.

---------------------------------------------
2010-01-08 10:08:18 [btpool0-7] - Inbound Message
----------------------------
ID: 1
Address: /services/StatusService
Encoding: UTF-8
Content-Type: text/xml; charset=utf-8
Headers: {content-type=[text/xml; charset=utf-8], Host=[localhost:8099], Content-Length=[523], SOAPAction=[""], User-Agent=[Axis/1.1], Content-Type=[text/xml; charset=utf-8], Accept=[application/soap+xml, application/dime, multipart/related, text/*], Pragma=[no-cache], Cache-Control=[no-cache]}
Payload: <?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>
  <getStatus xmlns="http://status.service.corymbus.db.com">
   <in0 xmlns="">
    <ns1:corymbusJobIds xmlns:ns1="http://filter.corymbus.db.com">2453263,</ns1:corymbusJobIds>
    <help>false</help>
    <newPriority xsi:nil="true"/>
   </in0>
  </getStatus>
 </soapenv:Body>
</soapenv:Envelope>
--------------------------------------

2010-01-08 10:08:19 [btpool0-7] - Outbound Message
---------------------------
ID: 1
Encoding: UTF-8
Content-Type: text/xml
Headers: {}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Fault occurred while processing.</faultstring></soap:Fault></soap:Body></soap:Envelope>
--------------------------------------



> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: StatusService.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Sukheja updated CXF-2605:
------------------------------

    Attachment: StatusService_2_2_6.xml

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml, StatusService_2_2_6.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Sukheja updated CXF-2605:
------------------------------

    Attachment: package-info.java

Hi Daniel,

Just now I realize that we do have package-info.java, but I don't think it is used for the call which I sent you, but not sure. As I mentioned earlier, I am new to webservice thing, so please forgive me if I sound stupid.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798092#action_12798092 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------


Couple thoughts:

1)  Definitely try with the newer jaxb-impl.    That may throw a new error message/exception.   

2)  Make sure you have an asm jar on the classpath.  

3) It looks like you are doing java first on the server.  Is that wsdl from the 2.1.1  service or from the 2.2.4 service?     I'd like to see if there is a difference in the generated wsdls.

4) Do you have a package-info.java or similar thing in the package of the service that would have an jaxb annotations?




> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: StatusService.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800242#action_12800242 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Hi Dan,

I have sent you the code on your email address, I hope you received it.

Thanks & Regards,
Ravi.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800233#action_12800233 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------



Can you pull out the jars and other libs and just put a list of the required jars in there?   That should make it smaller.

Other than that, you can try emailing it as an attachment to me directly at dan at dankulp dot com.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799280#action_12799280 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------


I'm really not seeing anything obvious.   Everything looks OK from that perspective.   Any chance you can whip up a small example?   (take all the business logic out of the beans and such) and attach so I can really debug?



> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797729#action_12797729 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------



We'd definitely need to have more information provided.   Preferably a testcase.

At a minimum, I'd need to see the wsdl/schema and the soap message to make sure the message that is being received/generated is proper compared to the schema.    The updated version of JAXB as part of the latest 2.2.x versions is a bit more strict about matching the schema.



> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800791#action_12800791 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Thanks for the clarification. When will 2.2.6 release be available?

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799807#action_12799807 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------


I would actually try removing that file and see if that helps at all.





> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2605.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.6
                   2.1.9
         Assignee: Daniel Kulp

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805174#action_12805174 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------


Did you remove the targetNamespace attributes as described earlier?   It sounds like no in which case the new wsdl is correct for the service, but the original soap message is now not correct.  It would need to qualify those elements.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml, StatusService_2_2_6.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800809#action_12800809 ] 

Daniel Kulp commented on CXF-2605:
----------------------------------


2.2.6 build should be done early next week with official release likely next friday or the following monday.


> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Sukheja updated CXF-2605:
------------------------------

    Attachment: StatusService.xml

WSDL for the services

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: StatusService.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805594#action_12805594 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Hi Daniel,

Yes, you are right, it does work. I didn't realise that I will have to change the client as well, I generated the client source from wsdl again and everything started working. I tried coparing the request in both cases, didn't find much difference other than

Unqualified
{code}
<in0 xmlns="">
{code}

Qualified
{code}
<in0>
{code}

In case of qualified, it doesn't give the qualified string, but 'xmlsns' is missing. Is this the right understand?

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>            Assignee: Daniel Kulp
>             Fix For: 2.1.9, 2.2.6
>
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml, StatusService_2_2_6.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798659#action_12798659 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Hi Daniel,

I tried updaing the jaxb-impl jar, but still the same error, we do have asm jar in our classpath (asm-2.2.3.jar & asm-commons-2.2.3.jar), please confirm these version are good. I have attached the wsdl from the 211 version as well here. We do not have package-info.java.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800230#action_12800230 ] 

Ravi Sukheja commented on CXF-2605:
-----------------------------------

Hi Daniel,

I have the code, which I tried to attach, but it wouldn't work, the zip file size is around 30MB. Can you please suggest some other location, where I can upload these files?

Thanks & Regards,
Ravi.

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: package-info.java, StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2605) Object argument is passed as null

Posted by "Ravi Sukheja (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Sukheja updated CXF-2605:
------------------------------

    Attachment: StatusService_211.xml

WSDL from CXF - 2.1.1

> Object argument is passed as null
> ---------------------------------
>
>                 Key: CXF-2605
>                 URL: https://issues.apache.org/jira/browse/CXF-2605
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.4
>            Reporter: Ravi Sukheja
>         Attachments: StatusService.xml, StatusService_211.xml
>
>
> Hi,
> We are using CXF-2.1.1 for our webservices and rest services, recently I upgraded it to 2.2.4 as there was bug 2ith 2.1.1 when you go to /services to view the list of all webservices and rest services. Upgrading to 2.2.4 seems to fix that problem, but one of our webservice has stopped working, client is passing the right object argument, but the service is getting null. I don't know what the problem is. Any help would be appreciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.