Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4569676
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:15:12+00:00 2026-05-21T19:15:12+00:00

Here is my WSDL : <?xml version=1.0 encoding=UTF-8?> <wsdl:definitions targetNamespace=http://xxx xmlns=http://schemas.xmlsoap.org/wsdl/ xmlns:ns0=http://xxx/commun/axis xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/ xmlns:tns=http://xxx

  • 0

Here is my WSDL :

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions targetNamespace="http://xxx" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="http://xxx/commun/axis" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xxx" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

     <wsdl:types>
          <xsd:schema targetNamespace="http://xxx/commun/axis" xmlns="http://www.w3.org/2001/XMLSchema">
               <xsd:include schemaLocation="https://host:port/path/WebServices/wsdl/typesServicesApplicatifs.xsd"/>
(...)

The typesServicesApplicatifs.xsd file is in the same directory as the WSDL file (inside a war), is it possible tu use a relative path instead of an absolute path for the schema location ?

It would be really helpful, because for now, the schemaLocation is different on each environnment (the host and the port have to be specified).

EDIT : this question is the same as the last one in this thread (with no answer) : http://forum.springsource.org/showthread.php?p=342542

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:15:13+00:00Added an answer on May 21, 2026 at 7:15 pm

    Here is a way to achieve this :

    Using Spring-WS, the WSDL can be generated automatically from :

    <sws:dynamic-wsdl id="holiday" portTypeName="HumanResource" **locationUri="/holidayService/"** targetNamespace="http://mycompany.com/hr/definitions">
      <sws:xsd location="/WEB-INF/hr.xsd"/>
    </sws:dynamic-wsdl>
    

    source : http://static.springsource.org/spring-ws/site/reference/html/tutorial.html#tutorial-publishing-wsdl

    This way, the host, port and context path don’t need to be specified inside the WSDL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i try to build following SOAP Request: <?xml version=1.0 encoding=utf-8?> <soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/>
I have this ant script to run: <?xml version=1.0 encoding=utf-8?> <project name=WebserviceClient> <property file=myaxis.properties/>
here is the WSDL http://www.webservicex.net/stockquote.asmx?WSDL I'm trying to get more than 1 stock in
here is the wsdl soap field <element name=transactionCle nillable=true type=xsd:int/> when I call the
Here is the situation. I have received a WSDL (and included XSD) from someone
Here's my code in the <head></head> : <link rel=stylesheet href=http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css /> <script type=text/javascript src=http://code.jquery.com/jquery-1.7.1.min.js></script>
Here is my code: #Make the SOAP connection url = https://api.channeladvisor.com/ChannelAdvisorAPI/v1/InventoryService.asmx?WSDL headers = {'Content-Type':
The HR-XML 3.0 spec provides WSDL's to generate their entities. I'm trying to deserialize
I'm an XML neophyte having some weird issues with parsing a schema. Here's a
I am having errors with Uncaught SoapFault exception: [HTTP] Not Found here is my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.