Webservice configfile xmlns:wsc

Discussion forum about all things Gupta, OpenText and the community.
Maria

Webservice configfile xmlns:wsc

Post by Maria » 28 Oct 2014, 15:59

Hi,
I have a config file for a Webservice looking like this:

<?xml version="1.0"?>
<wsc:webservice >
<wsc:service name="SparServiceR1" xmlns:wsc="http://unify.com/td/webservice/ws_consume.xsd" logfile="C:\Users\marper00\Desktop\Solution\sparservicer1.log" logmode="3" timeout="1000" >
<wsc:port name="SparServiceR1Port" address="https://infocus.infotorg.se/ws3/SparServiceR1" binding="SparServiceR1PortBinding" />
</wsc:service >
</wsc:webservice>

The webservicecall from my application works fine. I just want to know why it is written xmlns:wsc="http://unify.com/td/webservice/ws_consume.xsd" . What does that mean? Why does that have to be there?
Regards
Maria

Insoft

Re: Webservice configfile xmlns:wsc

Post by Insoft » 29 Sep 2016, 03:41

+1

Also interested in why...

and, what happens if the unify site is offline or the link broken

User avatar
H3PO4
Germany
Posts: 241
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: Webservice configfile xmlns:wsc

Post by H3PO4 » 04 Oct 2016, 05:46

+1
About Unify:
Unify is the newest member of the Atos family, ...

Just when we realize that unify has nothing to do with the team developer any more...

Regards
Henning

frevelundfey

Re: Webservice configfile xmlns:wsc

Post by frevelundfey » 04 Oct 2016, 15:50

Hi Maria,

the xmlns attribute contains just a name of the namespace.
It is common that it looks like an URI but it does not have to be a real one.
Reference is here: https://en.wikipedia.org/wiki/XML_namespace

It should be globally unique so one can reference more than one namespace in a XML document.

There is no urgent need that open text changes it.
If they would do that then in one of the next versions of TD then every consumer that already uses your webservice
would potentially have to update his web reference when you deploy your newly built webservice.

Regards Thomas

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 2 guests