Hi,
Following code is giving java.util.NoSuchElementException. The exception is thrown at addChild() method.
String xmlString = "<ns1:echo xmlns:ns1=\"http://ws.apache.org/axis2/xsd\"> <ns1:echo>Hello</ns1:echo> </ns1:echo>";
XMLStreamReader parser2 = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(xmlString));
OMXMLParserWrapper builder2 = new StAXOMBuilder(parser2);
OMElement documentElement = builder2.getDocumentElement();
SOAPFactory fac = OMAbstractFactory.getSOAP11Factory();
SOAPEnvelope envelope1 = fac.getDefaultEnvelope();
envelope1.getBody().addChild( (OMNode)documentElement );
newMsgContext.setEnvelope( envelope1 );
Can anybody help in this regard.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137695#4137695
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137695
Hi,
thanks for your reply! I totally agree on your remarks about the WSRP specification and it definitely makes no sense at all to tweak the implementation of the JBoss Portal producer BUT on connecting the same SAP EP to an open Oracle WSRP test portal (http://portalstandards.oracle.com/portletapp/portlets?WSDL) the mispelled/malformed "consumer agent" string poses no threat to anyone and i can consume portlets, clap my hands and say "yeah!".
That seems strange to me and makes me question all these standard-conforming marketing phrases around the world.
however, I really like JBoss portal and gonna get it running. Word!
thanks,
Christian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137691#4137691
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137691
Hi Peter, hi Chris,
I tried to set up JBoss AS with JBoss Portal from the scratch. Without the installation of JBoss WS this works fine (all config).
I installed JBoss WS by using the ant build.xml
| <ant antfile="build.xml" target="deploy-jboss422" dir="jbossws-native-2.0.3.GA">
| <property name="jboss422.home" value=".../jboss-4.2.2.GA"/>
| <property name="jboss.server.instance" value="all"/>
| </ant>
|
So, I think WS is correctly installed - it copies just a few files to JBoss AS.
Anyway, if the installation is wrong, than this is a topic for another forum.
Thanks for your help.
Carsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137686#4137686
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137686
hi,
I have a jms sender which sends message to a jms Queue. I'm creating the connection once n using it for successive messages to send.Before i used to get SPYJMSException saying to setExceptionListner(). After creating an exceptionListner it went off. In side the ExceptionListenr i'm closing the connection and creating a new connection. Now i'm facing a problem which occures randomly. I'm not able to simulate it. After two or three days of deployment it happens.
Do you think we have to create and close the connection on each sendMessage function.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137674#4137674
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137674