You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Marc Schreiber (Created) (JIRA)" <ji...@apache.org> on 2012/01/05 14:59:39 UTC
[jira] [Created] (CXF-4009) Getting error message "Parameter should
be ordered in the following sequence: []" when calling service via URI
Getting error message "Parameter should be ordered in the following sequence: []" when calling service via URI
--------------------------------------------------------------------------------------------------------------
Key: CXF-4009
URL: https://issues.apache.org/jira/browse/CXF-4009
Project: CXF
Issue Type: Bug
Affects Versions: 2.5.1
Environment: Windows XP, Mozilla Firefox 8.0
Reporter: Marc Schreiber
I have created a web service via cxf using jaxb binding. The service expects 4 parameters. When calling it via SoapUI the service is working fine. But when I call it via Firefox (performing a HTTP GET) I get the following error:
INFO: Inbound Message
----------------------------
ID: 1
Address: http://localhost:9090/services/DrsProPflegeService/einfuegenPflegeOrdnungsBegriffe?benutzerId=1430282&objektId=000900110%20S2010&objektTyp=ZSN&vertragsKlasse=V07
Http-Method: GET
Content-Type:
Headers: {Content-Type=[null], Host=[localhost:9090], User-Agent=[4.0 (compatible; MSIE 6.0; Windows 98)]}
--------------------------------------
05.01.2012 14:17:08 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNUNG: Interceptor for {http://webservices.zurich.com/zsoa/de/drspro/}DrsProPflegeService has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Parameter should be ordered in the following sequence: []
at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:181)
at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:102)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:126)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:113)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:164)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
at org.eclipse.jetty.server.Server.handle(Server.java:351)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1042)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
at java.lang.Thread.run(Thread.java:595)
I have tried different parameter orders but the framework does not seem to be happy with any of them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CXF-4009) Getting error message "Parameter
should be ordered in the following sequence: []" when calling service via
URI
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-4009.
------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: NeedMoreInfo)
Invalid
Needed a full test case and did not receive one in over 3 months.
> Getting error message "Parameter should be ordered in the following sequence: []" when calling service via URI
> --------------------------------------------------------------------------------------------------------------
>
> Key: CXF-4009
> URL: https://issues.apache.org/jira/browse/CXF-4009
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.5.1
> Environment: Windows XP, Mozilla Firefox 8.0
> Reporter: Marc Schreiber
> Fix For: Invalid
>
>
> I have created a web service via cxf using jaxb binding. The service expects 4 parameters. When calling it via SoapUI the service is working fine. But when I call it via Firefox (performing a HTTP GET) I get the following error:
> INFO: Inbound Message
> ----------------------------
> ID: 1
> Address: http://localhost:9090/services/DrsProPflegeService/einfuegenPflegeOrdnungsBegriffe?benutzerId=1430282&objektId=000900110%20S2010&objektTyp=ZSN&vertragsKlasse=V07
> Http-Method: GET
> Content-Type:
> Headers: {Content-Type=[null], Host=[localhost:9090], User-Agent=[4.0 (compatible; MSIE 6.0; Windows 98)]}
> --------------------------------------
> 05.01.2012 14:17:08 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
> WARNUNG: Interceptor for {http://webservices.zurich.com/zsoa/de/drspro/}DrsProPflegeService has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Parameter should be ordered in the following sequence: []
> at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:181)
> at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:102)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
> at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
> at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
> at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
> at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:126)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:113)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:164)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
> at org.eclipse.jetty.server.Server.handle(Server.java:351)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1042)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
> at java.lang.Thread.run(Thread.java:595)
> I have tried different parameter orders but the framework does not seem to be happy with any of them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CXF-4009) Getting error message "Parameter
should be ordered in the following sequence: []" when calling service via
URI
Posted by "Freeman Fang (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13181071#comment-13181071 ]
Freeman Fang commented on CXF-4009:
-----------------------------------
IIRC you must use POST method to invoke jaxws webservices
> Getting error message "Parameter should be ordered in the following sequence: []" when calling service via URI
> --------------------------------------------------------------------------------------------------------------
>
> Key: CXF-4009
> URL: https://issues.apache.org/jira/browse/CXF-4009
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.5.1
> Environment: Windows XP, Mozilla Firefox 8.0
> Reporter: Marc Schreiber
>
> I have created a web service via cxf using jaxb binding. The service expects 4 parameters. When calling it via SoapUI the service is working fine. But when I call it via Firefox (performing a HTTP GET) I get the following error:
> INFO: Inbound Message
> ----------------------------
> ID: 1
> Address: http://localhost:9090/services/DrsProPflegeService/einfuegenPflegeOrdnungsBegriffe?benutzerId=1430282&objektId=000900110%20S2010&objektTyp=ZSN&vertragsKlasse=V07
> Http-Method: GET
> Content-Type:
> Headers: {Content-Type=[null], Host=[localhost:9090], User-Agent=[4.0 (compatible; MSIE 6.0; Windows 98)]}
> --------------------------------------
> 05.01.2012 14:17:08 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
> WARNUNG: Interceptor for {http://webservices.zurich.com/zsoa/de/drspro/}DrsProPflegeService has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Parameter should be ordered in the following sequence: []
> at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:181)
> at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:102)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
> at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
> at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
> at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
> at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:126)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:113)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:164)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
> at org.eclipse.jetty.server.Server.handle(Server.java:351)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1042)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
> at java.lang.Thread.run(Thread.java:595)
> I have tried different parameter orders but the framework does not seem to be happy with any of them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CXF-4009) Getting error message "Parameter should
be ordered in the following sequence: []" when calling service via URI
Posted by "Daniel Kulp (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-4009:
-----------------------------
Fix Version/s: NeedMoreInfo
Definitely would need to have a full testcase for this. if you turn on FINE logging, you might also get some more information about it. Basically, the call to keepInOrder is returning an empty collection, but without an example service, I'm not sure why.
> Getting error message "Parameter should be ordered in the following sequence: []" when calling service via URI
> --------------------------------------------------------------------------------------------------------------
>
> Key: CXF-4009
> URL: https://issues.apache.org/jira/browse/CXF-4009
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.5.1
> Environment: Windows XP, Mozilla Firefox 8.0
> Reporter: Marc Schreiber
> Fix For: NeedMoreInfo
>
>
> I have created a web service via cxf using jaxb binding. The service expects 4 parameters. When calling it via SoapUI the service is working fine. But when I call it via Firefox (performing a HTTP GET) I get the following error:
> INFO: Inbound Message
> ----------------------------
> ID: 1
> Address: http://localhost:9090/services/DrsProPflegeService/einfuegenPflegeOrdnungsBegriffe?benutzerId=1430282&objektId=000900110%20S2010&objektTyp=ZSN&vertragsKlasse=V07
> Http-Method: GET
> Content-Type:
> Headers: {Content-Type=[null], Host=[localhost:9090], User-Agent=[4.0 (compatible; MSIE 6.0; Windows 98)]}
> --------------------------------------
> 05.01.2012 14:17:08 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
> WARNUNG: Interceptor for {http://webservices.zurich.com/zsoa/de/drspro/}DrsProPflegeService has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Parameter should be ordered in the following sequence: []
> at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:181)
> at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:102)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
> at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:123)
> at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
> at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
> at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
> at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:126)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:113)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:164)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
> at org.eclipse.jetty.server.Server.handle(Server.java:351)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1042)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
> at java.lang.Thread.run(Thread.java:595)
> I have tried different parameter orders but the framework does not seem to be happy with any of them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira