[JBossWS] - wsconsume https
by argol1278
hi all
I want to develop web service over https but i have problem with generating artifactes from https:
-----------------------------------------------------
1) It is possible to generate artifactes from https://site/wsdl.wsdl ?
------------------------------------------------------
I configure tomcat ssl
jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\servers
and web.xml in my application
<security-constraint>
| <web-resource-collection>
| <web-resource-name>Protected Context</web-resource-name>
| <url-pattern>/*</url-pattern>
| </web-resource-collection> -->
| <!-- auth-constraint goes here if you requre authentication -->
| <!--<user-data-constraint>
| <transport-guarantee>CONFIDENTIAL</transport-guarantee>
| </user-data-constraint>
| </security-constraint>
|
-----------------------------------------------------
2) I must configure somthing else to work with ssl web service?
-----------------------------------------------------
my ant task <?xml version="1.0" encoding="UTF-8"?>
| <project name="helloworld" default="run" basedir=".">
| <description>
| Pierwszy ant
| </description>
| <path id="web.services.classpath">
| <fileset dir="C:/Java/jdk1.5.0_15/lib" includes="*.jar" />
| <fileset dir="C:/jboss-4.2.2.GA/lib/endorsed/" includes="*.jar" />
| <fileset dir="C:/jboss-4.2.2.GA/lib/" includes="*.jar" />
| <fileset dir="C:/jboss-4.2.2.GA/client/" includes="*.jar" />
|
| </path>
|
|
| <target name="run">
| <taskdef name="wsconsume" classname="org.jboss.wsf.spi.tools.ant.WSConsumeTask">
| <classpath refid="web.services.classpath"/>
| </taskdef>
|
|
| <wsconsume
| fork="true"
| destdir="d:\ant\bin"
| sourcedestdir="d:\ant\src"
| keep="true"
| wsdl="https://127.0.0.1/Bank/Authorization?wsdl"
| package="endpoint"
| verbose="true">
| <jvmarg value="-Djavax.net.ssl.keyStore=server.keystore -Djavax.net.ssl.keyStorePassword=pracamgr -Djavax.net.ssl.trustStore=server.keystore -Djavax.net.ssl.trustStorePassword=pracamgr" />
| </wsconsume>
| </target>
| </project>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159784#4159784
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159784
16 years, 6 months
Test Post
by Alan Scott
None of my post seem to be posting..
16 years, 6 months
[JBossWS] - EJB Web Service Stateful?
by shaikbash
Hi,
I have developed a simple EJB based web-service as shown below:
@Stateless
@Remote(MySession.class)
@WebService(endpointInterface = "test.MySession")
@WebContext(contextRoot = "/mySession")
public class MySessionBean implements MySession
{
private int count;
public int getCount()
{
return ++count;
}
}
This is deployed on JBOSS 4.2.2 server.
I have a servlet based client, which connects to this service using the jbossws-3.0.1-native-2.0.4 jars. Whenever I call the getCount() method from the client I get an incremented value. I was expecting to always get 1 as the return value, since my EJB is stateless. My question is how is it retaining the state? Any light on this is greately appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158989#4158989
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158989
16 years, 6 months
Can Apache Axis use EJBv3 Based Web Services
by Alan Scott
Can vendor systems that use Apache Axis as their WS layer read and use
EJBv3 based web services? We are having an issue with a vendors system
and we can clearly show we are passing the params to our web service in
their technology; however, the web service never get the params. When we
use SOAP-UI or the Web Services Explorer in Eclipse everything works great.
Any recommendations, web links or help would be greatly appreciated.
16 years, 6 months