[JBossWS] - Re: trying to access a webservice - not working from either
by rodgerca
- <definitions name="POAddressManagerBeanService" targetNamespace="http://session.address.cmmgroup.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://session.address.cmmgroup.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
| - <types>
| - <xs:schema targetNamespace="http://session.address.cmmgroup.com/" version="1.0" xmlns:tns="http://session.address.cmmgroup.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
| <xs:element name="getAddressByPostCode" type="tns:getAddressByPostCode" />
| <xs:element name="getAddressByPostCodeResponse" type="tns:getAddressByPostCodeResponse" />
| <xs:element name="getAddressByText" type="tns:getAddressByText" />
| <xs:element name="getAddressByTextResponse" type="tns:getAddressByTextResponse" />
| - <xs:complexType name="getAddressByPostCode">
| - <xs:sequence>
| <xs:element minOccurs="0" name="arg0" type="xs:string" />
| </xs:sequence>
| </xs:complexType>
| - <xs:complexType name="getAddressByPostCodeResponse">
| - <xs:sequence>
| <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:poAddress" />
| </xs:sequence>
| </xs:complexType>
| - <xs:complexType name="poAddress">
| - <xs:sequence>
| <xs:element minOccurs="0" name="county" type="xs:string" />
| <xs:element name="id" type="xs:long" />
| <xs:element minOccurs="0" name="locality1" type="xs:string" />
| <xs:element minOccurs="0" name="locality2" type="xs:string" />
| <xs:element minOccurs="0" name="postCode" type="xs:string" />
| <xs:element minOccurs="0" name="postTown" type="xs:string" />
| <xs:element minOccurs="0" name="post_Town" type="xs:string" />
| <xs:element minOccurs="0" name="thoroughFare1" type="xs:string" />
| <xs:element minOccurs="0" name="thoroughFare2" type="xs:string" />
| </xs:sequence>
| </xs:complexType>
| - <xs:complexType name="getAddressByText">
| - <xs:sequence>
| <xs:element minOccurs="0" name="arg0" type="xs:string" />
| </xs:sequence>
| </xs:complexType>
| - <xs:complexType name="getAddressByTextResponse">
| - <xs:sequence>
| <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:poAddress" />
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
| </types>
| - <message name="POAddressManagerWS_getAddressByPostCode">
| <part element="tns:getAddressByPostCode" name="getAddressByPostCode" />
| </message>
| - <message name="POAddressManagerWS_getAddressByText">
| <part element="tns:getAddressByText" name="getAddressByText" />
| </message>
| - <message name="POAddressManagerWS_getAddressByPostCodeResponse">
| <part element="tns:getAddressByPostCodeResponse" name="getAddressByPostCodeResponse" />
| </message>
| - <message name="POAddressManagerWS_getAddressByTextResponse">
| <part element="tns:getAddressByTextResponse" name="getAddressByTextResponse" />
| </message>
| - <portType name="POAddressManagerWS">
| - <operation name="getAddressByPostCode" parameterOrder="getAddressByPostCode">
| <input message="tns:POAddressManagerWS_getAddressByPostCode" />
| <output message="tns:POAddressManagerWS_getAddressByPostCodeResponse" />
| </operation>
| - <operation name="getAddressByText" parameterOrder="getAddressByText">
| <input message="tns:POAddressManagerWS_getAddressByText" />
| <output message="tns:POAddressManagerWS_getAddressByTextResponse" />
| </operation>
| </portType>
| - <binding name="POAddressManagerWSBinding" type="tns:POAddressManagerWS">
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
| - <operation name="getAddressByPostCode">
| <soap:operation soapAction="" />
| - <input>
| <soap:body use="literal" />
| </input>
| - <output>
| <soap:body use="literal" />
| </output>
| </operation>
| - <operation name="getAddressByText">
| <soap:operation soapAction="" />
| - <input>
| <soap:body use="literal" />
| </input>
| - <output>
| <soap:body use="literal" />
| </output>
| </operation>
| </binding>
| - <service name="POAddressManagerBeanService">
| - <port binding="tns:POAddressManagerWSBinding" name="POAddressManagerBeanPort">
| <soap:address location="http://127.0.0.1:8080/POAddressManagerBeanService/POAddressManagerBean" />
| </port>
| </service>
| </definitions>
Hope this is ok....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067327#4067327
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067327
18Â years, 9Â months
[JBossWS] - WSSecurity and client information
by aroppone
Hi,
I'm very new to JBoss so this one could be very easy.
I'm making an application that has both ws and servelt interfaces which both uses EJBs fo actual processing. At those web services I'd like to sign pretty much every message, which can be done via jboss-wsse-server/client.xml (?), but how can I get for example the DNs from the signatures to be used at the EJBs?
Another thing is that I'm using some internal XML files that I'd like to sign with local key form the EJBs, how can I do that or where I could find WSDP 1.5 in JBoss?
Ps. I've also some minor problems with deployment descriptors, because I can't get my EJBs to work by using ejb-refs (only project/bean/local works as in samples)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067323#4067323
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067323
18Â years, 9Â months
[Messaging, JMS & JBossMQ] - Re: NPE when closing connection
by miket1
2007-07-25 09:47:13,656 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:162)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196)
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515)
at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:316)
at java.lang.Thread.run(Thread.java:595)
2007-07-25 09:47:13,660 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
2007-07-25 09:47:13,676 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.CloseMsg4537415[msgType: m_connectionClosing, msgID: 9, error: null]
java.io.IOException: Client is not connected
at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:264)
at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:238)
at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:131)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)
2007-07-25 09:47:13,676 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to send error reply
java.io.IOException: Client is not connected
at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:264)
at org.jboss.mq.il.uil2.SocketManager.access$800(SocketManager.java:53)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:408)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067322#4067322
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067322
18Â years, 9Â months
[JBoss Seam] - Re: How bad is unused conversations?
by emsa
All very good suggestions and I have cycled through most of them in one way or another.
Hopefully Gavin is right and it will just work(tm) letting the Conversations timeout.
Starting the Conversation at "the first submit" might work in some cases but usually the state (lists of objects etc) is created when the page is first shown not when the first submit from that page occurs.
Using propagation="end" with any form of Conversation Begin in the same request/event will just reuse the same Conversation and not create a new one.
What I basically (think) I'm looking for is a propagation that ends a named/current conversation in a 'before phase', destroying it before doing anything else, and then promotes the new Conversation into a long-running one.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067321#4067321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067321
18Â years, 9Â months
[Performance Tuning] - Performance Tuning .. Requests get lost?
by jsbhangra
During performance tuning of my JSP/Struts web-application deployed over jboss.. I have not got success yet.
During performance/load testing of my web application with apache jmeter.
It is OK upto 1400 request per minute
But if i increase the load , i get following
Issue: from 1800 requests sent to the application only 1283 were processed ,rest of the requests were lost. I reviewed the application logs. It show it received only 1283 requests, and were processed successfully without any database error, or Java heap space error.
Is it due to lesser thread pool size configured in the Jboss configuration.that prevents it from processing further request ?
hardware configuration(i use Celeron 3.0Ghz , 1 GB RAM) can be an issue , but the requests should not be lost ..
Is there any way to tune this load ?
The required target is whopping 15000 requests per minute.
Jasdeep
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067317#4067317
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067317
18Â years, 9Â months