Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tWebServiceInput WSDL2Java not generation ServiceLocator for EWS

Working with the Exchange 2010 EWS wsdl in tWebServiceInput, after adding the two referred-to xsd files to the services directory, was able to successfully (i.e. no reported errors) run WSDL2Java. It generated dozens of routines for the operations and as well the PortType and BindingStub routines. However it did not create the ServiceLocator routine.
1) Wondering if anyone has any guidance on why a ServiceLocator routine would not get generated by WSDL2Java in general for a wsdl and specifically for EWS... and if there is a way to get it to pop out?
2) Alternatively, while the tWebServiceInput tutorial utilizes ServiceLocator to help create the new instance. does anyone know if it would be possible to skip using it and just refer directly to an operator routine? And what the correct syntax would be?
Thanks for any advice you can give!
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Re-running WSDL2Java and now it is creating the ServiceLocator routine. Trick was to addend the wsdl file with:
<wsdl:service name="ExchangeServices">
<wsdl 0683p000009MAB6.pngort name="ExchangeServicePort" binding="tns:ExchangeServiceBinding">
<soap:address location="https://my.exchange.com/EWS/Exchange.asmx"/>
</wsdl 0683p000009MAB6.pngort>
</wsdl:service>
Credit to http://code.google.com/p/imap2exchange/wiki/ExchangeWebServices
Will see if it works tomorrow

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Re-running WSDL2Java and now it is creating the ServiceLocator routine. Trick was to addend the wsdl file with:
<wsdl:service name="ExchangeServices">
<wsdl 0683p000009MAB6.pngort name="ExchangeServicePort" binding="tns:ExchangeServiceBinding">
<soap:address location="https://my.exchange.com/EWS/Exchange.asmx"/>
</wsdl 0683p000009MAB6.pngort>
</wsdl:service>
Credit to http://code.google.com/p/imap2exchange/wiki/ExchangeWebServices
Will see if it works tomorrow
Anonymous
Not applicable
Author

Hi, jds
Thanks for your sharing, and we are all interested in your case. Waiting for your good news.
Best regards
Sabrina