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 "Pavithra Madurangi (JIRA)" <ji...@apache.org> on 2011/08/24 06:11:29 UTC

[jira] [Created] (AXIS2-5128) Error when running the client in pojoguidespring sample.

Error when running the client in pojoguidespring sample.
--------------------------------------------------------

                 Key: AXIS2-5128
                 URL: https://issues.apache.org/jira/browse/AXIS2-5128
             Project: Axis2
          Issue Type: Bug
          Components: samples
    Affects Versions: 1.7.0
         Environment: axis2-1.7.0-SNAPSHOT
            Reporter: Pavithra Madurangi


-Go to AXIS2_HOME/samples/pojoguidespring directory, build the service and as per the instructions, run the client by entering the command "ant rpc.client"

When the client is run, it gives following error

[java] Exception in thread "main" org.apache.axis2.AxisFault: namespace mismatch require http://service.spring.sample found http://service.spring.sample/xsd
     [java] 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
     [java] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
     [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
     [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
     [java] 	at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
     [java] 	at client.WeatherSpringRPCClient.main(WeatherSpringRPCClient.java:51)
     [java] Java Result: 1


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS2-5128) Error when running the client in pojoguidespring sample.

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

Sagara Gunathunga  resolved AXIS2-5128.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0

Fixed in r1161553. 

> Error when running the client in pojoguidespring sample.
> --------------------------------------------------------
>
>                 Key: AXIS2-5128
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5128
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.7.0
>         Environment: axis2-1.7.0-SNAPSHOT
>            Reporter: Pavithra Madurangi
>             Fix For: 1.7.0
>
>         Attachments: pojoguidespring.patch
>
>
> -Go to AXIS2_HOME/samples/pojoguidespring directory, build the service and as per the instructions, run the client by entering the command "ant rpc.client"
> When the client is run, it gives following error
> [java] Exception in thread "main" org.apache.axis2.AxisFault: namespace mismatch require http://service.spring.sample found http://service.spring.sample/xsd
>      [java] 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>      [java] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>      [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>      [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>      [java] 	at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
>      [java] 	at client.WeatherSpringRPCClient.main(WeatherSpringRPCClient.java:51)
>      [java] Java Result: 1

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5128) Error when running the client in pojoguidespring sample.

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

Pavithra Madurangi updated AXIS2-5128:
--------------------------------------

    Attachment: pojoguidespring.patch

With the attached patch the issue was solved and the correct response was returned.

> Error when running the client in pojoguidespring sample.
> --------------------------------------------------------
>
>                 Key: AXIS2-5128
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5128
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.7.0
>         Environment: axis2-1.7.0-SNAPSHOT
>            Reporter: Pavithra Madurangi
>         Attachments: pojoguidespring.patch
>
>
> -Go to AXIS2_HOME/samples/pojoguidespring directory, build the service and as per the instructions, run the client by entering the command "ant rpc.client"
> When the client is run, it gives following error
> [java] Exception in thread "main" org.apache.axis2.AxisFault: namespace mismatch require http://service.spring.sample found http://service.spring.sample/xsd
>      [java] 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>      [java] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>      [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>      [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>      [java] 	at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
>      [java] 	at client.WeatherSpringRPCClient.main(WeatherSpringRPCClient.java:51)
>      [java] Java Result: 1

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS2-5128) Error when running the client in pojoguidespring sample.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091055#comment-13091055 ] 

Hudson commented on AXIS2-5128:
-------------------------------

Integrated in Axis2 #943 (See [https://builds.apache.org/job/Axis2/943/])
    Applied patch for AXIS2-5128.

sagara : 
Files : 
* /axis/axis2/java/core/trunk/modules/samples/pojoguidespring/src/client/WeatherSpringRPCClient.java


> Error when running the client in pojoguidespring sample.
> --------------------------------------------------------
>
>                 Key: AXIS2-5128
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5128
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.7.0
>         Environment: axis2-1.7.0-SNAPSHOT
>            Reporter: Pavithra Madurangi
>             Fix For: 1.7.0
>
>         Attachments: pojoguidespring.patch
>
>
> -Go to AXIS2_HOME/samples/pojoguidespring directory, build the service and as per the instructions, run the client by entering the command "ant rpc.client"
> When the client is run, it gives following error
> [java] Exception in thread "main" org.apache.axis2.AxisFault: namespace mismatch require http://service.spring.sample found http://service.spring.sample/xsd
>      [java] 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>      [java] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>      [java] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>      [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>      [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>      [java] 	at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
>      [java] 	at client.WeatherSpringRPCClient.main(WeatherSpringRPCClient.java:51)
>      [java] Java Result: 1

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org