Contributions
Re: java.lang.Exception: Failed to load url
Hi Rupert - Silly me. The source of the "WSDL" spoke as though I had to use SOAP. I have used PHP for over 12 years now and had created many APIs parsing XML files into arrays. But I was persuaded in this instance that I had to use SOAP and hadn't tried anything else. But as I was analyzing one of the "incomplete" returns that I should try my old tried and true PHP stuff as I had always been using it -- and sure enough it was smooth and quick sailing. Thanks for your valiant attempt in trying to get SoapUI working on my machine - but as it turns out, I don't really need it as of yet. The best of things to you! tjay41KViews0likes1CommentRe: java.lang.Exception: Failed to load url
Hi Rupert - Yes, it is all the same box and am able to make a SOAP/HTTP request successfully in the browser. The firewall is set to accept SoapUI and the Proxy is set to automatic. I wondered if the [brackets] were part of the problem, but as these were populated into the function by SoapUI, I saw them as out of my control. I understand what you are saying about SoapUI not a source for learning SOAP fundamentals. The following is why I am trying SoapUI: All I am interested in is building a SOAP client interface with one .../site_path/APIService.asmx?wsdl I have the API reference guide and am struggling with how to properly interface with WSDL structure elements through the SoapClient (a PHP method/application). I came across a site that seemed promising in moving me along here (http://devzone.zend.com/2202/php-and-soap-first-steps/) -- which uses SoapUI as part of its training. ... So this is why I turned my attention to SoapUI. Thanks so much for your responses and attention to trying to help me. Many kudos to you! If you see anything in this post that triggers some possible solutions I would be most grateful. I have been working on this for 5 days now. Blessings on you. tjay41KViews0likes3CommentsRe: java.lang.Exception: Failed to load url
Thanks for responses Rupert. I have not tried curl. I do have php-soap enabled. I have been able to open url www.restfulwebservices.net/wcf/StockQuoteService.svc?wsdl with no problems on the browser. I have been a PHP programmer for years. I am trying to learn SOAP and understand all its elements. I have a main source for wsdl file for a major project, and am able to communicate with it through PHP's SoapClient - but don't understand SOAP well enough for smooth communications yet. I was hoping SoapUI would be the program that would speed up my learning process. That may help you know where I am coming from. I assume you read the error log that I added to my first post while you were sending your first respons - and if so, did that tell you anything. Thanks - tjay41KViews0likes5CommentsRe: java.lang.Exception: Failed to load url
Rupert, Thanks for your reply. I am going to see what I can do to apply your suggestions. It may be of interest that I have installed SoapUI on an Apache server -- which is my development machine for http://localhost development. Don't know if this is significant. Also - I think that I posted the additional info about the error log while you were also responding. So this might also be significant. Sorry for not posting that info before you responded. Thanks, tjay41KViews0likes7Commentsjava.lang.Exception: Failed to load url
I have just installed SoapUI 5.2.0 on Windows. Regardless of what wsdl file I put in I get the following kind of error: Error loading [http://www.restfulwebservices.net/wcf/StockQuoteService.svc?wsdl]: java.lang.Exception: Failed to load url; http://www.restfulwebservices.net/wcf/StockQuoteService.svc?wsdl, 0 I don't know if this is significant, but when I start SoapUI the space titled "SoapUI Starter Page" says The page could not be loaded. error log returned this: Thu Aug 13 10:45:04 CDT 2015:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.makeInvalidDefinitionException(WsdlLoader.java:119) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:112) at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:488) at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:477) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:94) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:209) at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46) at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131) at java.lang.Thread.run(Unknown Source) Would appreciate some help here. Thanks. tjay41KViews0likes9Comments