Hi Dhiraj,

Yes, for DOMSource Provider, runtime can't get operation name.
Please refer JaxWS 2.0 spec p111.

Regards
Jeff

----- Original Message ----- 
From: "Bokde, Dhiraj" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 15, 2007 4:45 AM
Subject: RE: JAX-WS MessageContext properties


> Hi Liu,
>
> Thanks, it works with 2.0.1. But I don't get the operation name:
>
> Description: http://localhost:9000/SoapContext/SoapPort2?wsdl
> Service: {http://apache.org/hello_world_soap_http}SOAPService2
> Port: {http://apache.org/hello_world_soap_http}SoapPort2
> Interface: {http://apache.org/hello_world_soap_http}Greeter
> Operation: null
>
> Is it because it's a DOMSource Provider? If the runtime has already 
> determined the interface, how much more work does it have to
do to find the Operation?
>
> Thanks,
> Dhiraj.
>
> > -----Original Message-----
> > From: Liu, Jervis [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, August 11, 2007 8:34 PM
> > To: [email protected]
> > Subject: RE: JAX-WS MessageContext properties
> >
> > The support for  WSDL_DESCRIPTION etc was added into CXF after 2.0 release.
> > Try CXF2.0.1 instead.
> >
> > Cheers,
> > Jervis
> >
> > > -----Original Message-----
> > > From: Bokde, Dhiraj [mailto:[EMAIL PROTECTED]
> > > Sent: 2007年8月11日 3:07
> > > To: [email protected]
> > > Subject: JAX-WS MessageContext properties
> > >
> > >
> > > Hi,
> > >
> > > I am building an application using a JAX-WS DOMSource
> > > Provider and I was
> > > hoping I would get values for the following JAX-WS properties from the
> > > runtime without having to parse the DOMSource:
> > >
> > > WSDL_DESCRIPTION (Type: java.net.URI)
> > > WSDL_SERVICE (Type: javax.xml.namespace.QName ) WSDL_PORT (Type:
> > > javax.xml.namespace.QName ) WSDL_INTERFACE (Type:
> > > javax.xml.namespace.QName ) WSDL_OPERATION (Type:
> > > javax.xml.namespace.QName )
> > >
> > > But in my testing with the samples/dispatch_provider demo, these
> > > properties are not set in the MessageContext at all. Any ideas
> > > whether/how I could get these from the runtime in a JAX-WS DOMSource
> > > Provider? Or are these only set when using a server with an Impl?
> > >
> > > Thanks,
> > > Dhiraj.
> > >
> >
> > ----------------------------
> > IONA Technologies PLC (registered in Ireland)
> > Registered Number: 171387
> > Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
>

Reply via email to