Announcement Announcement Module
Collapse
No announcement yet.
JAX-RPC - axis - query wsdl with user validation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JAX-RPC - axis - query wsdl with user validation

    Hi

    I'm trying to use the Bonita (open source bpm) using spring/axis.

    I can get the wsdl from the bonita using the url, http://localhost:9010/bonita_ws/serv...erSession?wsdl which requires a username and pwd to be entered(HTTP authentication).

    if i want to use the AxisPortProxyFactoryBean how do i pass the user credentials ?

    if i try to use the ulr like this http://adm:admpass@localhost:9010/bo...erSession?wsdl
    it doesn't work.

    this is my bean def for the jax-rpc, based on the JpetStore example

    <bean id="jaxRpcProxy" class="bc.test.AxisPortProxyFactoryBean">
    <property name="serviceFactoryClass">
    <value>org.apache.axis.client.ServiceFactory</value>
    </property>
    <property name="wsdlDocumentUrl">
    <value>http://${serverName}:${httpPort}${contextPath}/UserSession?wsdl</value>
    </property>
    <property name="namespaceUri">
    <value>http://${serverName}:${httpPort}${contextPath}/UserSession</value>
    </property>
    <property name="serviceName">
    <value>UserSession</value>
    </property>
    <property name="portName">
    <value>UserSession</value>
    </property>
    <property name="namespace">
    <value>urn:bonita</value>
    </property>
    <property name="serviceInterface">
    <value>hero.interfaces.UserSession</value>
    </property>
    </bean>

    the client.properties look like this,
    serverName=localhost
    httpPort=9010
    contextPath=/bonita_ws/services

    1. how do i pass user credentials thru url to get the wsdl
    2. has anyone worked with spring/axis/bonita

    thanks in advance

    Sam
Working...
X