Hi!

Have you converted the WSDL file to its JAVA code using WSDL2Java?
I think even if you use DynamicInvoker, you still need to convert the WSDL 
to it's  corresponding Java code. 

Hope this helps!

Leo




----- Original Message ----- 
From: "Norberto Carnelli" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 10, 2004 6:23 PM
Subject: 2 Questions: selecting PortType and error in WSIFServiceFactory


> Hi all,
> i have two problems with WSIF:
> 
> 1)I've successfully compiled (and used with simple
> Axis service) the DinamicInvoker sample.
> Then i tried to use it on this webservice:
> http://www.xignite.com/xsecurity.asmx?WSDL
> 
> the dinamicinvoker says
> org.apache.wsif.WSIFException: Please specify a PortType. Choices are: 
> {{http://www.xignite.com/services/}XigniteSecurityHttpPost, 
> {http://www.xignite.com/services/}XigniteSecuritySoap, 
> {http://www.xignite.com/services/}XigniteSecurityHttpGet}
> 
> now, how can i specify it ?
> reading the usage i guess it's something like operation[port]
> but tryin LookupStock[XigniteSecuritySoap] doesnt work.
> 
> So, how can i do it ?
> 
> 2)I've found another WSIF example on the web, i added
> it to my Eclipse project, added all the jars but
> Eclipse still says there's an error in
> 
> WSIFService service = null;
> service =  WSIFServiceFactory.newInstance().getService(.....
> 
> Eclipse says the error is
> Syntax error on token "=",  "Identifier" expected
> 
> it seems strange, because i found many sources
> using service = WSIFSeviceFactory.....
> 
> any hint ?
> 
> thank you in advance,
> Norberto Carnelli
> 
> 
> 
> 
> 

Reply via email to