Hi Nirmal,
Thanks for your reply. You said, WSIFService object can be created as long
as I know port type. I am not sure what you mean by that. The class i am
writing receives a javax.wsdl.Port object from which i can get the
Javax.wsdl.Binding and javax.wsdl.PortType objects. I looked at
WSIFServiceFactory interface, but could not find any factory method that
takes a Port object and returns a WSIFService object.

Thanks in advance.

Regards,
Anil Ambati
SDWB Development
919-254-6152
[EMAIL PROTECTED]
"You have no responsibility to live up to what other people think you ought
to accomplish." -Richard Feynman (1918-1988)
"Money is as bad as it is necessary" - Anonymous


                                                                                       
                                                
                      Nirmal Mukhi                                                     
                                                
                                               To:      Anil Ambati/Raleigh/[EMAIL 
PROTECTED]                                                  
                      06/04/2003 01:17         cc:      [EMAIL PROTECTED]              
                                          
                      PM                       From:    Nirmal Mukhi/Watson/[EMAIL 
PROTECTED]                                                  
                                               Subject: Re: Creating a WSIFPort from 
javax.wsdl.Port(Document link: Anil Ambati)       
                                                                                       
                                                
                                                                                       
                                                



Hi Anil,

Please send WSIF-related questions to [EMAIL PROTECTED]

To do what you need, you first need to create the WSIFService object (this
can be done as long as you know the port type you want to invoke). On the
WSIFService object you can specify your preferred port, then do the
invocation and it will use the protocol supported by your preferred port
automatically. You can also change your preferred port at runtime, or not
specofy any preference (then WSIF chooses one).

Nirmal.


                                                                                       
                                                
                      Anil Ambati                                                      
                                                
                                               To:       [EMAIL PROTECTED]             
                                                
                      06/04/2003 12:30         cc:                                     
                                                
                      PM                       From:     Anil Ambati/Raleigh/[EMAIL 
PROTECTED]                                                 
                                               Subject:  Creating a WSIFPort from 
javax.wsdl.Port                                      
                                                                                       
                                                



Hi Nirmal,
Is it possible to create a WSIFPort given a javax.wsdl.Port object. I
browsed through the API docs but could not find a way to create WSIFPort
from Port. My aim is to invoke a method on a service running at the port
specified by the Port object.

Thank you in advance.

Regards,
Anil Ambati
SDWB Development
919-254-6152
[EMAIL PROTECTED]
"You have no responsibility to live up to what other people think you ought
to accomplish." -Richard Feynman (1918-1988)
"Money is as bad as it is necessary" - Anonymous



Reply via email to