Hello,
I'm getting up to speed with JBossWS. I've been using wsprovide to generate wsdl files, but ran into an issue. When using the @WebParam annotation and specifying "name" and "partName", it looks like the value for "name" is ignored. For example:
| @WebMethod
| public String convert(@WebParam(name = "theName", partName = "thePartName") String input)
|
Results in this message in the wsdl:
| <message name='Converter_convert'>
| <part name='thePartName' type='xsd:string'/>
| </message>
|
The partName is being used correctly, but what happened to the name? It's my understanding that the name attribute should be used as the name of the message. Admittedly, I'm new to this, so I might have the wrong idea. This is using JBoss AS 4.2.2GA. Can anyone clear this up? Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151599#4151599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151599
Dear ,
I am facing problem, building a new web service and deploying it.
At present i am using jdk1.5 and completed setup jboss-4.0.5.GA.
When i am trying to get good example, where i can easily learn create and deploy "Hello World" web service in jboss.
but unable to find any good article and lots of confussion studing different article...
some time reading article to use wscompile tool ...(but unable to get proper location to download)...
Kindly help me to deploy a small world web service.
Appreciate your effort to reply back,
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151580#4151580
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151580
Thanks for the response alessio....Unfortunately that is exactly what I have already done. If I attempt to deploy the StatefulEndpoint inside my Jboss 4.2.2 server nothing happens. Specifically I would expect that the wsdl would be available, and visible from http://localhost:8080/jbossws/services, but it is not. If I add an @Stateless annotation then the wsdl gets deployed.
Is there something wrong with my server set up that would cause this? The server I am working with is a clean install, do I need to configure something special for the stateful webservice to deploy? Or am I wrong in assuming that there should be a wsdl generated for the StatefulEndpoint?
Thanks,
Jason
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151384#4151384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151384
Both the recording handler and the memory buffer recorder do not change the messages while handling them. As you pointed out, it's only a matter of the handler's position in the handler chain, since the incoming message's security header is removed by the security handler once it has processed the message. So if you need to log that header, the recording handler has to run before the security one.
When changing the handler chain, please note that the security handler is a POST handler. This means that to run the recording handler first, this need to be configured as a POST handler too (and put first in the list, of course).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151338#4151338
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151338
I have enabled following in jboss-log4j to log incoming request/response at server side
<!-- Enable JBossWS message tracing
| <category name="org.jboss.ws.core.MessageTrace">
| <priority value="TRACE"/>
| </category>
|
| and
| <root>
| <priority value="TRACE"/>
| </root>
|
| in java class
| private static final Logger logger = Logger.getLogger(SOAPImpl.class);
|
|
I am getting so much other information in log file but not what I need the SOAP request and response.
What else is missing ??
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151307#4151307
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151307