Webservices calling methods
-
- Participant
- Posts: 17
- Joined: Tue Oct 24, 2006 4:20 am
- Location: Bangalore
Webservices calling methods
janhess wrote:Do you want to access https? if it's just http then do nothing otherwise buy the security option for DSTX
I installed security collection software. is it enough?? if it is enough where i have to give this security options ...
-
- Participant
- Posts: 17
- Joined: Tue Oct 24, 2006 4:20 am
- Location: Bangalore
Webservices calling methods
i read the http adapter documentation, -CA, -CERT, -CPASS,-PKEY, -KPASS whether these commands are mandatory for connecting to secured site (https) , when i trying to connect https site with out this commands i am getting error "500 Server Error" . pls give me a solution without using certificate authority details how i can connect to https sites?.janhess wrote:I think you need to read the http adapter documentation and anything relating to web access.
you need to use
-URL HTTPS://user:pass@host[:port]][/dir[/file]]
The other parameters are only necessary if certificates are used.
-URL HTTPS://user:pass@host[:port]][/dir[/file]]
The other parameters are only necessary if certificates are used.
-
- Participant
- Posts: 17
- Joined: Tue Oct 24, 2006 4:20 am
- Location: Bangalore
Webservices calling methods
I tried many ways to connect https site (our source site is secured website), i tried u r method also but iam getting error as below .janhess wrote:you need to use
-URL HTTPS://user:pass@host[:port]][/dir[/file]]
The other parameters are only necessary if certificates are used.
"WSAConnectSSL: SSL_ERROR_SSL: SSL handshake protocol failure.
WSAConnectSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
WSAConnectSSL:
No connection."
through proxy server iam accessing internet so iam using this command
-t -URL https://xxxx.com/ -PROXY HTTP://user:pass@host:port
using same scenario i am reaching http websites. but i am not able to reaching https site(our source) give me a solution for this it is very helpful for me.
do you need to set the ssl protocol?
SSL Protocol (-SPROTO)
Use the SSL Protocol adapter command (-SPROTO) to set the Secure Socket Layer
(SSL) protocol level. SSL enables the adapter to process HTTPS URLs. If -SPROTO
is not specified, the SSL Protocol defaults to SSLv23.
-SPROTO {SSLv2|SSLv3|SSLv23|TLSv1}
Option Description
SSLv2 Specify SSL protocol version 2.
SSLv3 Specify SSL protocol version 3.
SSLv23 Specify SSL protocol version 2, version 3 or
TLSv1.
Note Whenever the protocol method of
SSLv23 is specified, the protocol of first
choice is TLSv1, with fallback to SSLv3,
and then to SSLv2.
TLSv1 Specify Transport Layer Security (TLS) protocol
version 1.
SSL Protocol (-SPROTO)
Use the SSL Protocol adapter command (-SPROTO) to set the Secure Socket Layer
(SSL) protocol level. SSL enables the adapter to process HTTPS URLs. If -SPROTO
is not specified, the SSL Protocol defaults to SSLv23.
-SPROTO {SSLv2|SSLv3|SSLv23|TLSv1}
Option Description
SSLv2 Specify SSL protocol version 2.
SSLv3 Specify SSL protocol version 3.
SSLv23 Specify SSL protocol version 2, version 3 or
TLSv1.
Note Whenever the protocol method of
SSLv23 is specified, the protocol of first
choice is TLSv1, with fallback to SSLv3,
and then to SSLv2.
TLSv1 Specify Transport Layer Security (TLS) protocol
version 1.
-
- Participant
- Posts: 17
- Joined: Tue Oct 24, 2006 4:20 am
- Location: Bangalore
Webservices calling methods
when i used below command i am not connecting internet proxy server too pls find log . in my system accessing internet through internet proxy server.
-t -url https://<user>:<pass>@10.201.50.71:8080 /<removed>.com/pages/customerlogin.jsp -SPROTO SSLv2
Server host is '10.201.50.71'.
Using port '8080' for the connection.
Connecting to '10.201.50.71'.
Socket Opened.
WSAConnectSSL: SSL_ERROR_WANT_READ: SSL Timeout.
WSAConnectSSL:
No connection.
Socket Closed.
Connection closed.
when i using proxy adapter and ssl protocol adapter i am getting same error " Server error"
-t -url https://<removed>.com/pages/customerlogin.jsp -PROXY HTTP://<user>:<pass>@10.201.50.79:8080 -SPROTO SSLv2
Can you pls suggest me in this.
-t -url https://<user>:<pass>@10.201.50.71:8080 /<removed>.com/pages/customerlogin.jsp -SPROTO SSLv2
Server host is '10.201.50.71'.
Using port '8080' for the connection.
Connecting to '10.201.50.71'.
Socket Opened.
WSAConnectSSL: SSL_ERROR_WANT_READ: SSL Timeout.
WSAConnectSSL:
No connection.
Socket Closed.
Connection closed.
when i using proxy adapter and ssl protocol adapter i am getting same error " Server error"
-t -url https://<removed>.com/pages/customerlogin.jsp -PROXY HTTP://<user>:<pass>@10.201.50.79:8080 -SPROTO SSLv2
Can you pls suggest me in this.
Are you using the correct port? Port 443 is the default SSL port (as port 80 is the default for plain HTTP).
-t -url https://<user>:<pass>@10.201.50.71:8443 /<removed>.com/pages/customerlogin.jsp -SPROTO SSLv2
Try not specifying the port no to use the default.
Also have you got the correct username and password?
-t -url https://<user>:<pass>@10.201.50.71:8443 /<removed>.com/pages/customerlogin.jsp -SPROTO SSLv2
Try not specifying the port no to use the default.
Also have you got the correct username and password?
-
- Participant
- Posts: 17
- Joined: Tue Oct 24, 2006 4:20 am
- Location: Bangalore
Webservices calling methods
I am getting same error (pls see the trace file), i tried with or with out port also and confirmed, i got correct user id and password , when i connect other https sites also i am getting below same error.
pls tell me how to resolve this issue??
Server host is '10.201.50.71'.
Using port '8080' for the connection.
Connecting to '10.201.50.71'.
Socket Opened.
Connected.
<GET https://system. HTTP/1.1
Host: system.<removed>.com
Proxy-Authorization: Basic c3JpbGFndTpkZGQkJCREREQ=
User-Agent: HTTP-Adapter/8.0(105)
Content-Type: application/octet-stream
Content-Length: 0
X-Abandon-After: 2147483647
(0 bytes sent)
>HTTP/1.1 500 Server Error (F)
(5 lines received)
(284 bytes received)
Server type is 'NetCache appliance (NetApp/6.0.4)'.
Detected a Connection: close, disconnecting.
Socket Closed.
Connection closed.
pls tell me how to resolve this issue??
Server host is '10.201.50.71'.
Using port '8080' for the connection.
Connecting to '10.201.50.71'.
Socket Opened.
Connected.
<GET https://system. HTTP/1.1
Host: system.<removed>.com
Proxy-Authorization: Basic c3JpbGFndTpkZGQkJCREREQ=
User-Agent: HTTP-Adapter/8.0(105)
Content-Type: application/octet-stream
Content-Length: 0
X-Abandon-After: 2147483647
(0 bytes sent)
>HTTP/1.1 500 Server Error (F)
(5 lines received)
(284 bytes received)
Server type is 'NetCache appliance (NetApp/6.0.4)'.
Detected a Connection: close, disconnecting.
Socket Closed.
Connection closed.
you still seem to be using port 80
Code: Select all
Server host is '10.201.50.71'.
Using port '8080' for the connection.
Connecting to '10.201.50.71'.
Socket Opened.
Connected
-
- Participant
- Posts: 17
- Joined: Tue Oct 24, 2006 4:20 am
- Location: Bangalore
Webservices calling methods
In DSTX while connecting to https sites how encryption will happen if i used http(s) adapter and what are all commands required for to connect https site??
our client website implemented by 128-bit encryption with https/ssl at the transport level.
our client website implemented by 128-bit encryption with https/ssl at the transport level.
-
- Participant
- Posts: 17
- Joined: Tue Oct 24, 2006 4:20 am
- Location: Bangalore
Re: Webservices calling methods
While importing WSDL file has type tree , i am getting error like "Empty sequence value for platform msgs"
can u pls suggest me how to come out this error.
wsdl file validated successfully.
can u pls suggest me how to come out this error.
wsdl file validated successfully.