Giter Club home page Giter Club logo

Comments (8)

dsyer avatar dsyer commented on August 14, 2024 1

That’s a different problem. There’s no workaround. You just have to use a different URL if that one doesn’t exist. E.g. see #27.

from gs-consuming-web-service.

dsyer avatar dsyer commented on August 14, 2024

Works for me:

$ cd complete
$ mvn clean package
$ find target/generated-sources/
target/generated-sources/
target/generated-sources/annotations
target/generated-sources/xjc
target/generated-sources/xjc/hello
target/generated-sources/xjc/hello/wsdl
target/generated-sources/xjc/hello/wsdl/POP.java
target/generated-sources/xjc/hello/wsdl/GetWeatherInformationResponse.java
target/generated-sources/xjc/hello/wsdl/package-info.java
target/generated-sources/xjc/hello/wsdl/Forecast.java
target/generated-sources/xjc/hello/wsdl/Temp.java
target/generated-sources/xjc/hello/wsdl/GetCityWeatherByZIP.java
target/generated-sources/xjc/hello/wsdl/WeatherDescription.java
target/generated-sources/xjc/hello/wsdl/GetWeatherInformation.java
target/generated-sources/xjc/hello/wsdl/GetCityWeatherByZIPResponse.java
target/generated-sources/xjc/hello/wsdl/GetCityForecastByZIPResponse.java
target/generated-sources/xjc/hello/wsdl/ArrayOfWeatherDescription.java
target/generated-sources/xjc/hello/wsdl/WeatherReturn.java
target/generated-sources/xjc/hello/wsdl/GetCityForecastByZIP.java
target/generated-sources/xjc/hello/wsdl/ForecastReturn.java
target/generated-sources/xjc/hello/wsdl/ArrayOfForecast.java
target/generated-sources/xjc/hello/wsdl/ObjectFactory.java
target/generated-sources/xjc/META-INF
target/generated-sources/xjc/META-INF/sun-jaxb.episode

from gs-consuming-web-service.

gregturn avatar gregturn commented on August 14, 2024

They are generated in the build, driven by the contract.

https://github.com/spring-guides/gs-consuming-web-service/blob/master/complete/pom.xml#L38-L60

from gs-consuming-web-service.

gregturn avatar gregturn commented on August 14, 2024

There is also a gradle plugin to do the same.

from gs-consuming-web-service.

houssam-eldeen avatar houssam-eldeen commented on August 14, 2024

please, could you simply told me in steps how to handle that exception:
Exception: java.io.FileNotFoundException: http://www.webservicex.com/stockquote.asmx?WSDL.

from gs-consuming-web-service.

houssam-eldeen avatar houssam-eldeen commented on August 14, 2024

Thanks Dsyer
could you please tell me what's the right URL ??

from gs-consuming-web-service.

gregturn avatar gregturn commented on August 14, 2024

What we're saying is that when this guide was authored, the URL above was a freely hosted weather service. They have since taken it down, and we have yet to find another suitable demo-friendly URL.

If I can ever find time, I might need to craft a Pivotal-hosted demo service.

from gs-consuming-web-service.

dsyer avatar dsyer commented on August 14, 2024

@gregturn I converted this guide to use a local service (a while ago). The instructions are fairly clear I think, but we can always add more.

from gs-consuming-web-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.