Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 169
Registered: ‎08-10-2016

Invalid WSDL https://blablabla/gmsc/Authorization.svc?wsdl,

Hello,

 

Am getting Invalid WSDL Error on running GMSC Desktop client version 2018. See log below

 

May 9, 2018 2:59:52 PM INFO:	Start Smart Client 16.5.230.10				--> [javawsApplicationMain] com.intergraph.web.core.kernel.SmartClientKernel.preboot
May 9, 2018 2:59:52 PM FINEST:	Load language file: jar:https://bhfsdffsfsfsf/gmsc/jars/GPSDevices.jar.pack.gz!/workspace/GPSDevices/language.properties				--> [javawsApplicationMain] com.intergraph.tools.utils.Languages.loadText
May 9, 2018 2:59:52 PM FINEST:	Load language file: jar:https://bhfsdffsfsfsf/gmsc/jars/SmartClient.jar.pack.gz!/workspace/smartclient/language.properties				--> [javawsApplicationMain] com.intergraph.tools.utils.Languages.loadText
May 9, 2018 2:59:52 PM FINEST:	Load language file: jar:https://bhfsdffsfsfsf/gmsc/jars/Viewer.jar.pack.gz!/workspace/Viewer/language.properties				--> [javawsApplicationMain] com.intergraph.tools.utils.Languages.loadText
May 9, 2018 2:59:52 PM FINEST:	Load language file: jar:https://bhfsdffsfsfsf/gmsc/jars/lib/Common.jar.pack.gz!/workspace/Common/language.properties				--> [javawsApplicationMain] com.intergraph.tools.utils.Languages.loadText
May 9, 2018 2:59:52 PM FINEST:	Add 335 values to the Language Bundle				--> [javawsApplicationMain] com.intergraph.tools.utils.Languages.loadText
May 9, 2018 2:59:54 PM INFO:	NOTINIT --> BOOTING				--> [javawsApplicationMain] com.intergraph.web.core.kernel.SmartClientKernel.setStatus
May 9, 2018 2:59:54 PM FINEST:	[JAXB] JAXBContext.newInstance				--> [pool-3-thread-1] com.intergraph.web.viewer.map.style.SymbologyEncodingFactory.<init>
May 9, 2018 2:59:55 PM SEVERE:	null				--> [javawsApplicationMain] com.intergraph.web.core.kernel.SmartClientKernel.launch
javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://bhfsdffsfsfsf/gmsc/Authorization.svc?wsdl. It failed with: 
	Invalid WSDL https://bhfsdffsfsfsf/gmsc/Authorization.svc?wsdl, expected {http://schemas.xmlsoap.org/wsdl/}definitions found HTML at (lineLine number = 1
Column number = 7
System Id = https://bhfsdffsfsfsf/gmsc/Authorization.svc?wsdl
Public Id = null
Location Uri= https://bhfsdffsfsfsf/gmsc/Authorization.svc?wsdl
CharacterOffset = 10
).
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
	at java.xml.ws@10.0.1/com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
	at java.xml.ws@10.0.1/javax.xml.ws.Service.<init>(Unknown Source)
	at com.intergraph.services.emea._2011._03.authorization.AuthorizationService_Service.<init>(AuthorizationService_Service.java:58)
	at com.intergraph.service.OnlineServiceProxy.getAuthorizationService(OnlineServiceProxy.java:62)
	at com.intergraph.service.ServiceFactory.getAuthorizationService(ServiceFactory.java:71)
	at com.intergraph.web.core.kernel.AuthorizationHandler.doLogin(AuthorizationHandler.java:73)
	at com.intergraph.web.DefaultKernelHandler.login(SmartClient.java:340)
	at com.intergraph.web.core.kernel.SmartClientKernel.launch(SmartClientKernel.java:167)
	at com.intergraph.web.core.kernel.SmartClientKernel.boot(SmartClientKernel.java:100)
	at com.intergraph.web.SmartClient.create(SmartClient.java:138)
	at com.intergraph.web.SmartClient.main(SmartClient.java:109)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at jdk.javaws@10.0.1/com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at jdk.javaws@10.0.1/com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at jdk.javaws@10.0.1/com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at jdk.javaws@10.0.1/com.sun.javaws.Launcher.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: javax.xml.stream.XMLStreamException: Invalid WSDL https://bhfsdffsfsfsf/gmsc/Authorization.svc?wsdl, expected {http://schemas.xmlsoap.org/wsdl/}definitions found HTML at (lineLine number = 1
Column number = 7
System Id = https://bhfsdffsfsfsf/gmsc/Authorization.svc?wsdl
Public Id = null
Location Uri= https://bhfsdffsfsfsf/gmsc/Authorization.svc?wsdl
CharacterOffset = 10
)
	... 28 more

I am able to access the AuthService via browser

WSDL.png

Highlighted
Occasional Contributor
Posts: 18
Registered: ‎01-31-2018

Re: Invalid WSDL https://blablabla/gmsc/Authorization.svc?wsdl,

Hy Elvis,

 

You could use Fiddler to analyze the HTTP traffic between GMSC client and server. A firewall might return a HTML document describing the error instead of the expected SOAP response when sending requests to the Authorization-Service of GMSC.

Frequent Contributor
Posts: 145
Registered: ‎07-07-2016

Re: Invalid WSDL https://blablabla/gmsc/Authorization.svc?wsdl,

[ Edited ]

I have the same problem.

When I use http protocol it works properly. When I use https error appears while logging:

javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://zizu-test.wody.gov.pl/GMSC/Authorization.svc?wsdl. It failed with:
Invalid WSDL https://zizu-test.wody.gov.pl/GMSC/Authorization.svc?wsdl, expected {http://schemas.xmlsoap.org/wsdl/}definitions found HTML at (lineLine number = 1
Column number = 7
System Id = https://zizu-test.wody.gov.pl/GMSC/Authorization.svc?wsdl
Public Id = null
Location Uri= https://zizu-test.wody.gov.pl/GMSC/Authorization.svc?wsdl
CharacterOffset = 10
).

 

While using Fiddler I can see the errror:

Session #6: The server (zizu-test.wody.gov.pl) presented a certificate that did not validate, due to RemoteCertificateNameMismatch, RemoteCertificateChainErrors.

0 - A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.

SUBJECT: CN=ZIZU-APP2
ISSUER: CN=ZIZU-APP2

This warning can be disabled by clicking Tools > Options.

 

Full report is in attachment.

Frequent Contributor
Posts: 145
Registered: ‎07-07-2016

Re: Invalid WSDL https://blablabla/gmsc/Authorization.svc?wsdl,

Ok, the problem was that I didn't prepared Web.config file to use https

Technical Evangelist
Posts: 908
Registered: ‎09-11-2015

Re: Invalid WSDL https://blablabla/gmsc/Authorization.svc?wsdl,

Hi guys,

 

Yes, most likely this is caused by misconfiguration of HTTP/HTTPS. Please follow this guide in order to enable (or disable) HTTPS:

http://community.hexagongeospatial.com/t5/GMSC-Tutorials/How-to-use-GeoMedia-Smart-Client-with-HTTPS...

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.