[jboss-user] [JBossWS] - Re: HalloWorld Problem

2007-07-05 Thread davideling
If you start from WSDL try to get service artifacts by wsconsume View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060703#4060703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060703 _

[jboss-user] [JBossWS] - Re: HalloWorld Problem

2007-07-05 Thread davideling
Another question... did you start from WSDL or Java? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060683#4060683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060683 ___ jb

[jboss-user] [JBossWS] - Re: HalloWorld Problem

2007-07-05 Thread davideling
Can You try tu specify the same targetnamespace both in your service interface and your service implementation? example: 1) interface | @WebService( | name="TheServicePortType", | targetNamespace="http://www.tai.it/TheService"; | ) | @SOAPBinding( |

[jboss-user] [JBossWS] - Re: Writing WS client returning complex object

2007-07-04 Thread davideling
wsconsume "consume" WSDL documents so from WSDL documents you get Java artifacts. Your auto-generated WSDL have a "parameters" part that is an element. It's type is "tns:getTestClass"... a complex type. | ... | | | | | | ... | | ... | | |

[jboss-user] [JBossWS] - Re: Writing WS client returning complex object

2007-07-04 Thread davideling
I think so. If you use wsconsume (very easy to use tool) you get the correct WSDL/Java mapping. Looking your WSDL I saw that the input part is a complex type. Probably you'll get a Java Bean as input parameter. Sorry for my english, but I'm italian ;) View the original post : http://www.jboss.

[jboss-user] [JBossWS] - Re: Writing WS client returning complex object

2007-07-04 Thread davideling
Hello Andrea, haven't you generated your client artifacts using wsconsume? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060492#4060492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060492 ___

[jboss-user] [JBossWS] - Re: HalloWorld Problem

2007-07-04 Thread davideling
In test/client code when You create QNames you have to use the namespace, not the service url. | QName("http://serviceNameSpace/","ServiceName";) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060441#4060441 Reply to the post : http://www.jboss.com/

[jboss-user] [JBossWS] - Re: WS security : Unprocessed 'mustUnderstand' header elemen

2007-07-04 Thread davideling
Now I understand why You don't use annotations. I'm sorry, but I cannot help you with JAX-RPC Web service and WS-Security. I'm quite sure You have to configure the skeleton artifacts creation at first step but i don't know how. Bye View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [JBossWS] - Re: WS security : Unprocessed 'mustUnderstand' header elemen

2007-07-04 Thread davideling
Are you developing JAX-WS Web Service or JAX-RPC Web Service? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060258#4060258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060258 _

[jboss-user] [JBossWS] - Re: WS security : Unprocessed 'mustUnderstand' header elemen

2007-07-03 Thread davideling
My web service code have this import import org.jboss.ws.annotation.EndpointConfig; ... but I used JBossWS 1.2.1GA Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060051#4060051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [JBossWS] - Re: WS security : Unprocessed 'mustUnderstand' header elemen

2007-07-03 Thread davideling
Can you try to put that annotation now? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060032#4060032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060032 ___ jboss-user mail

[jboss-user] [JBossWS] - Re: WS security : Unprocessed 'mustUnderstand' header elemen

2007-07-03 Thread davideling
Hi Angelo, I suppose Your service isn't enabled to receive WS-Security SOAP envelopes. Have you the @EndpointConfig annotation in your code? | @WebService(endpointInterface="myPackage.SayHelloCiphered", | serviceName="SayHelloCiphered", | portName="SayHelloCipheredS

[jboss-user] [JBossWS] - Re: Jboss 4.2.0 and SQL Server

2007-06-27 Thread davideling
Your problem is Hibernate related. When you load a persistent object it's related objects are lazily loaded. That is these objects aren't actually loaded, but will be loaded only when you try to access them. The problem take place when you access to lazily loaded object proxy when it's owner ses

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-26 Thread davideling
I'm sorry Rio, I'm at work now and I can't look JBossWS sources now. All I can do now is look at client log4j logs. If I enable WS-Security I can see this where I can find two times ...HEADER={SOAPAction="", Content-Type=text/xml... | ... | DEBUG main org.jboss.remoting.MicroRemoteClientInv

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-26 Thread davideling
rt_0_31571602.1182853646985 | Content-Type: application/xop+xml; type="text/xml" | Content-Transfer-Encoding: 8bit | Content-ID: <[EMAIL PROTECTED]> | | http://www.tai.it/ServizioWSSEAttachment";>http://www.w3.org/2004/08/xop/include"; href="cid:attachment

[jboss-user] [JBossWS] - Re: Jbossws and .net

2007-06-26 Thread davideling
I develop on Linux. I use Wireshark (ex ethereal) sometimes, but I usually sniff SOAP messages with apache tcpmon http://ws.apache.org/commons/tcpmon/ Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057590#4057590 Reply to the post : http://www.jboss.co

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-26 Thread davideling
Hello Rio, i agree with You. Do You know how to develop a JBossWS Web Service with both attachment and WS-Security encryption? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057570#4057570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-25 Thread davideling
Exposed interface method | @WebMethod | @WebResult(name="responseMessage") | public ResponseMessage eleaborateMessage( | @WebParam(name="requestMessage") | RequestMessage message); | Request bean | public class RequestMessa

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-25 Thread davideling
Thank you for your links mr_d, they are very interesting. Now I'm sure that my Web Services behaviour is not correct :-( . Request Headers | POST /servizioJBossCipheredSigned/ServizioJBossCipheredSigned?datatype=JBossWSMessage HTTP/1.1 | | Authorization: Basic bXlVc2VybmFtZTpteVBhc3N3b3

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-25 Thread davideling
Ok, but have the MTOM attachment to be inlined or not when WS-Security signature or encryption is activated? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057316#4057316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-22 Thread davideling
Ehm... sorry my last reply was only a code snippet... Service implementation | @WebService(endpointInterface="serviceJBossCipheredSigned.ServiceJBossCipheredSigned", | portName="ServiceJBossCipheredSignedSOAP", | serviceName="ServiceJBossCipheredSigned" | ) | @B

[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem

2007-06-22 Thread davideling
Hello, i did it, and i got the attachment inlined in the soap body encrypted (is it right?). Be sure you annotated the service implementation class | @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING) | @EndpointConfig(configName = "Standard WSSecurity Endpoint") | public

[jboss-user] [JBossWS] - Re: JBossWS 1.2.x Tools Overview (wstools, wsprovide, wscons

2007-06-20 Thread davideling
Example: wsconsume.sh -k -s src/ http://myContext/myService?wsdl where: -k : keep artifact sources from deletion -s: source folder Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055966#4055966 Reply to the post : http://www.jboss.com/index.html?modu