Error when accessing webservice - web-services

I am trying to access a webservice from vb.net web app. Its throwing error like
"This is a secure webservice and should be accessed through https"
what does this error means? Any solution?
Thanks in Advance,
Pavan

I assume where you are trying to connect to the web service you are trying to connect to something like
http://webservice.services.com
you should be using
https://webservice.services.com

Related

ERROR loading WSDL into SOAPUI when testing the web service created by Anypoint(mule)

I am completely new to AnyPoint Platform, and wanted to give it a shoot by running the "howto-wrapping a SOAP web service over a data base" I strictly followed the instructions and successfully got the APP deployed in AnyPoint.
However,when I wanted to test the web service by SOAPUI, an error came out
error loading wsdl
I tried to open it in the browser and it worked. Could anyone give any hint about how to solve the problem? Thanks in advance.
This is how the WSDL opened in the IE look like:
wsdl opend in the browser

Web service returns error “The remote server returned an unexpected response: (400) Bad Request”

I am calling Web Service in my windows application(Web service is in same project). It works fine when I use it with test database, but when I change database schema to QA in web Service. It gives me error " “The remote server returned an unexpected response: (400) Bad Request”
The web service is same but still gets error when I change schema.This is Web Service, not WCF service and I am using VS2010. I am not understanding what is happening wrong here. Any help would be greatly appreciated. Thanks.
There is error in paramters you supply to webpage (webservice) of website. Check what you supply in headers of your request object.
Actually, one of the values in the DTO which was passed to webmethod was having some bad data(say, memberid="H00001\0\0\0\0"). I corrected this value and assigned to DTO before passing to webmehtod. And it worked fine. Thanks kostas ch. and Salahuddin for your help!

How to pass collection<?> over JAX-WS web service

In my project I need to write a web service which will receive Collection<?> as a parameter.. I am using apache CXF.. After I have written the service method I am unable to test it using SOAP UI (It is not generating any request).. My question is - Is it possible to receive Collection<?> over web service? I need to receive Collection of any object type.. Please help..
You need to work directly with SOAP messages.

403 Forbidden error When calling webservice method from ASP.net Application

Need help urgetly,
I am trying to access a web service from a remote computer. I am able to browse the web service link from the browser, and able to communicate from windows application But when i try to call from asp.net application which is hosted on IIS 6 on windows server 2003 getting HTTP 403 and some times 501 not implemented errors.
Please help me out.
Thanks In Advance.
Hari.
I have Found the solution for my problem here.
http://forums.asp.net/t/1860412.aspx/1?403+Forbidden+error+When+calling+webservice+method+from+ASP+net+Application
Thanks to Gaurav.

Secure Webservice Client on Glassfish

I have an secure external webservice at URL https://my-webservice-path?wsdl, and i want to connect to use this. This is a 2-way ssl.
I create a webservice client in following:
Create an java application Application1
at Project window, click Application1 icon -> new -> Web service client
paste my URL at WSDL URL, client type is JAX-WS, package: com.mypackage
finish
But an error appears: Error: An I/O error occured. Received fatal alert: handshake_failure
And i can not create Web Service References. I use Glassfish 3.0.1 server.
I tried to replace the alias s1as in keystore.jks and cacerts.jks of the Glassfish by my keypair and certificate, but it still fails.
I also tried to use wsimport parsing wsdl file but fail:(
I posted this question in Oracle Forum at http://forums.oracle.com/forums/thread.jspa?threadID=2214292&tstart=0 but get no answer.
i've tried to solve this for 2 days :(
What can i do now to solve this problem?
Plz help me, thank you!
please check out the answer from Catchwa in Mutual-authentication with web services. The steps to implement a glassfish based mutual authentication are described in detail.