[prev in list] [next in list] [prev in thread] [next in thread]
List: wsif-user
Subject: RE: Reg. wsif
From: <Marco.Mistroni () nokia ! com>
Date: 2003-05-19 8:44:57
[Download RAW message or body]
Hi,
if u check the archive, i have asked the same question.
Mr Anthony Elder outliend a solution that is only WSIF based (meaning u
don't have to go thru axis..that was also what i was doing..)
br
marco
> -----Original Message-----
> From: ext Anil kumar [mailto:anilkumarbattu@yahoo.co.in]
> Sent: 19 May, 2003 11:33
> To: wsif-user@ws.apache.org
> Subject: Reg. wsif
>
>
> All,
>
> i am new to wsif. i have downloaded the samples of
> wsif and it contains some wsdl which can be used. i am
> using apache axis soap server to create a web servcie
> and wsdl which i've been used is also created using
> axis only. The problem is wsdl created by axis and
> wsdl given in wsif download doesn't match properly, so
> my question can i use wsdl created by using axis or
> not to deploy a service which contains a ejb session
> bean. I've written this deploy.wsdd file
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <deployment xmlns="http://xml.apache.org/axis/wsdd/"
> xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
>
> <service name="HelloBean" provider="java:EJB">
>
> <parameter name="beanJndiName" value="HelloBean"/>
>
> <parameter name="homeInterfaceName"
> value="test.HelloHome"/>
>
> <parameter name="remoteInterfaceName"
> value="test.Hello"/>
>
> <parameter name="allowedMethods" value="sayHello"/>
>
> <parameter name="jndiURL"
> value="jnp://localhost:1099"/>
>
> <parameter name="jndiContextClass"
> value="org.jnp.interfaces.NamingContextFactory"/>
>
> </service>
>
> </deployment>
>
> then i have deployed the services using the following
> command
>
> java org.apache.axis.client.AdminClient deploy.wsdd
>
> then the wsdl generated is
>
> <?xml version="1.0" encoding="UTF-8" ?>
> - <wsdl:definitions
> targetNamespace="http://localhost:8080/axis/services/HelloBean"
> xmlns="http://schemas.xmlsoap.org/wsdl/"
> xmlns:apachesoap="http://xml.apache.org/xml-soap"
> xmlns:impl="http://localhost:8080/axis/services/HelloBean"
> xmlns:intf="http://localhost:8080/axis/services/HelloBean"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> - <wsdl:message name="sayHelloResponse">
> <wsdl:part name="sayHelloReturn" type="xsd:string"
> />
> </wsdl:message>
> - <wsdl:message name="sayHelloRequest">
> <wsdl:part name="in0" type="xsd:string" />
> </wsdl:message>
> - <wsdl:portType name="Hello">
> - <wsdl:operation name="sayHello"
> parameterOrder="in0">
> <wsdl:input message="intf:sayHelloRequest"
> name="sayHelloRequest" />
> <wsdl:output message="intf:sayHelloResponse"
> name="sayHelloResponse" />
> </wsdl:operation>
> </wsdl:portType>
> - <wsdl:binding name="HelloBeanSoapBinding"
> type="intf:Hello">
> <wsdlsoap:binding style="rpc"
> transport="http://schemas.xmlsoap.org/soap/http" />
> - <wsdl:operation name="sayHello">
> <wsdlsoap:operation soapAction="" />
> - <wsdl:input name="sayHelloRequest">
> <wsdlsoap:body
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> namespace="http://localhost:8080/axis/services/HelloBean"
> use="encoded" />
> </wsdl:input>
> - <wsdl:output name="sayHelloResponse">
> <wsdlsoap:body
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> namespace="http://localhost:8080/axis/services/HelloBean"
> use="encoded" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> - <wsdl:service name="HelloService">
> - <wsdl:port binding="intf:HelloBeanSoapBinding"
> name="HelloBean">
> <wsdlsoap:address
> location="http://localhost:8080/axis/services/HelloBean"
> />
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
>
> pls help me
>
> pradeep
>
>
> ______________________________________________________________
> __________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
> visit http://in.tv.yahoo.com
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic