[JBoss Seam] - Re: Pagefrow - Redirect & Description
by enda
Here it is ;],
so Pete now your answer ;)), thanks
In seam documentation is many various combinations of managing workspace.
But it seem like there is not a combination that would allow to redirect in jPDL and to specify description together.
There are examples where I can use pages.xml like this
====================================================
| <page view-id="/private/people/personHomeView.xhtml"
| conversation-required="true"
| no-conversation-view-id="/private/home.xhtml">
| Foo at #{bar.circle}
| </page>
|
====================================================
but this is completely ignored when I use pageflow jPDL!
other alternative is to use jPDL
====================================================
| <page name="viewPersonHomeAjax"
| timeout="600000"
| view-id="/private/people/personHomeAjax.xhtml">
| <description>
| View person home: #{person.username}
| </description>
| <transition name="cancel" to="end"></transition>
| </page>
|
====================================================
but then I cannot use redirect!
this fails to deploy:
====================================================
| <page name="viewPersonHomeAjax"
| timeout="600000"
| view-id="/private/people/personHomeAjax.xhtml">
| <redirect/>
| <description>
| View person home: #{person.username}
| </description>
| <transition name="cancel" to="end"></transition>
| </page>
|
====================================================
this is ignored at all (what is the purpose of that???):
====================================================
| <page name="viewPersonHomeAjax"
| timeout="600000"
| redirect="yes"
| view-id="/private/people/personHomeAjax.xhtml">
| <description>
| View person home: #{person.username}
| </description>
| <transition name="cancel" to="end"></transition>
| </page>
|
====================================================
Maybe there is some magic combination but then it is not in documentation.
Does anyone figure it out?
Tomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106108#4106108
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106108
18 years, 8 months
[JBossWS] - Re: wsconsume
by ahmedmhyd
I also got the same problem when trying to consume googlesearch.wsdl .Where u able to solve it?
Ahmed
Error:
[exec] parsing WSDL...
[exec] [WARNING] src-resolve.4.2: Error resolving component 'soapenc:Array'. It was detected that 'soapenc:Array' is in namespace 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespace are not referenceable from schema document 'file:/C:/Workspace/wsdl/GoogleSearch.wsdl#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'soapenc:Array' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/Workspace/wsdl/GoogleSearch.wsdl#types?schema1'.
[exec] line 57 of file:/C:/Workspace/wsdl/GoogleSearch.wsdl#types?schema1
[exec] [ERROR] undefined simple or complex type 'soapenc:Array'
[exec] line 57 of file:/C:/Workspace/wsdl/GoogleSearch.wsdl
[exec] [ERROR] undefined attribute 'soapenc:arrayType'
[exec] line 58 of file:/C:/Workspace/wsdl/GoogleSearch.wsdl
[exec] [ERROR] undefined simple or complex type 'soapenc:Array'
[exec] line 65 of file:/C:/Workspace/wsdl/GoogleSearch.wsdl
[exec] [ERROR] undefined attribute 'soapenc:arrayType'
[exec] line 66 of file:/C:/Workspace/wsdl/GoogleSearch.wsdl
[exec] Failed to invoke WsImport
[exec] java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/jboss-4.2.2.GA/client/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
[exec] at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:172)
[exec] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
[exec] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:286)
[exec] at com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getJAXBContext(BindInfo.java:332)
[exec] at com.sun.tools.xjc.reader.internalizer.SCDBasedBindingSet.apply(SCDBasedBindingSet.java:231)
[exec] at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:518)
[exec] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:232)
[exec] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
[exec] at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:120)
[exec] at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2173)
[exec] at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:173)
[exec] at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:119)
[exec] at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:148)
[exec] at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:187)
[exec] at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:216)
[exec] at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:79)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106106#4106106
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106106
18 years, 8 months
[JBoss jBPM] - Assign viewers to a task
by Munkius
Hi there,
I'm currently on a fork between either developing a workflow myself or using jBPM instead. The latter definitely sounds interesting, but I wonder if it's possible to link viewers to a task.
Case
A user is assigned a task. Say this user is a manager of a department and he wants to reassign this to one of his staff members (I think this is surely possible in jBPM?). Of course, the new assignee for the task is receiving a notification, just as the manager. But... is it possible to let the manager have a viewing role of this task? It might even be that certain people, like administrators, always need a notification and (r/w) access to a task from their task overview screen.
Can this be achieved using jBPM?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106100#4106100
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106100
18 years, 8 months