View previous topic :: View next topic
|
Author |
Message |
boo_sri
New User
Joined: 26 Jul 2005 Posts: 36 Location: charlotte
|
|
|
|
Hi -
I am consuming web services from the external Vendor and i am using the below command to Invoke Web Service from CICS Environment.
Code: |
MOVE 'http://www.webservicex.net/CurrencyConvertor.asmx'
TO WS-URI-ENDPOINT
MOVE 'GetInfoByZip' TO WS-WEBSERVICE-NAME
MOVE 'GetInfoByZip' TO WS-OPERATION-NAME
EXEC CICS PUT CONTAINER(WS-CONTAINER-NAME)
CHANNEL(WS-CHANNEL-NAME)
FROM(ConversionRate)
FLENGTH(LENGTH OF ConversionRate)
END-EXEC
EXEC CICS INVOKE WEBSERVICE('CurrencyConvertor')
CHANNEL(WS-CHANNEL-NAME)
URI(WS-URI-ENDPOINT)
OPERATION('ConversionRate')
RESP(COMMAND-RESP) RESP2(COMMAND-RESP2)
END-EXEC
|
The above request is giving invalid request request. But when i use IP Address (http://111.222.33.4444:55/ConvertTemperature.asmx) instead of URL its working. So the DNS resolve is not working here and not able to fix this issue. Need some suggestion / guidelines for resolving this issue.
Ip Address edited
I have created the following entries successfully.
- wsbind file
- PIPE
- Web Service (In Service)
Thanks,
Boopathy |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Perhaps one of the moderators could mask that IP address for you. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
I took the time to check
both url and ip address posted is not sensitive information ( nor is any URL/IP address IMHO )
as per
whois.arin.net/rest/net/NET-173-201-0-0-1/pft
and
173.201.44.188/ws/default.aspx
Quote: |
Web services enable to quickly integrate applications across multiple platforms, systems and even across businesses. Emerging web services standards such as SOAP, WSDL and UDDI will enable system-to-system communication that is easier and cheaper than ever before.
WebserviceX.NET provides programmable business logic components and standing data that serve as "black boxes " to provide access to functionality and data via web services |
so no need to mask !
add on
a whois WebserviceX.NET
returned
Quote: |
Registrant:
Generic Objects Technologies Ltd
Finchley House,707 High Road
London N12 0BT
United Kingdom
|
|
|
Back to top |
|
|
boo_sri
New User
Joined: 26 Jul 2005 Posts: 36 Location: charlotte
|
|
|
|
WebServicesX.net is a open site which hosts free web services for the testing your web application by establishing the connectivity. By the way any fruitful response other than masking. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
By the way any fruitful response other than masking. |
You might get better answers by refraining from making stupid/condescending comments on the replies given
and before complaining learn to post consistent info ...
'http://www.webservicex.net/CurrencyConvertor.asmx'
VS.
'http://173.201.44.188:80/ConvertTemperature.asmx'
the issue is that You are invoking two different URIs
check better next time
You should know that changing two things at the same time when testing is just a waste of time for everybody |
|
Back to top |
|
|
boo_sri
New User
Joined: 26 Jul 2005 Posts: 36 Location: charlotte
|
|
|
|
Sorry there is a typo. The correct URL and IP is given below:
'http://www.webservicex.net/ConvertTemperatur.asmx'
VS.
'http://173.201.44.188:80/ConvertTemperature.asmx' |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
'http://www.webservicex.net/ConvertTemperatur.asmx' |
another typo...
Quote: |
'http://173.201.44.188:80/ConvertTemperature.asmx' |
typoloop |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
very little we can do from here...
You will have just to recheck all the definitions!
are there any other ones working ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
So the DNS resolve is not working here and not able to fix this issue. Need some suggestion / guidelines for resolving this issue. |
This would be an issue AT YOUR SITE with the way your site has defined its TCP/IP configuration on the mainframe and the DNS resolution on your internal network.
So why do you think a forum can answer a question about the specific way your site is set up? Don't you think, perhaps, it would be a good idea to consult your site support group for questions about your site? Since we don't work at your site, there's absolutely no chance we have any idea about your site configuration. |
|
Back to top |
|
|
boo_sri
New User
Joined: 26 Jul 2005 Posts: 36 Location: charlotte
|
|
|
|
I verified everything and all the resource definitons are correct. Not sure the DNS Resolve alone is not working. Do we need to install any other services (like Name Server) to enable DNS resolve?
Pls suggest. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Do we need to install any other services (like Name Server) to enable DNS resolve? |
You need to work with your local network support people to see what needs to be done to correct this. |
|
Back to top |
|
|
cmsmoon
New User
Joined: 17 Jun 2010 Posts: 75 Location: Chennai
|
|
|
|
boo_sri wrote: |
Hi -
I am consuming web services from the external Vendor and i am using the below command to Invoke Web Service from CICS Environment.
Code: |
MOVE 'http://www.webservicex.net/CurrencyConvertor.asmx'
TO WS-URI-ENDPOINT
MOVE 'GetInfoByZip' TO WS-WEBSERVICE-NAME
MOVE 'GetInfoByZip' TO WS-OPERATION-NAME
EXEC CICS PUT CONTAINER(WS-CONTAINER-NAME)
CHANNEL(WS-CHANNEL-NAME)
FROM(ConversionRate)
FLENGTH(LENGTH OF ConversionRate)
END-EXEC
EXEC CICS INVOKE WEBSERVICE('CurrencyConvertor')
CHANNEL(WS-CHANNEL-NAME)
URI(WS-URI-ENDPOINT)
OPERATION('ConversionRate')
RESP(COMMAND-RESP) RESP2(COMMAND-RESP2)
END-EXEC
|
The above request is giving invalid request request. But when i use IP Address (http://111.222.33.4444:55/ConvertTemperature.asmx) instead of URL its working. So the DNS resolve is not working here and not able to fix this issue. Need some suggestion / guidelines for resolving this issue.
Ip Address edited
I have created the following entries successfully.
- wsbind file
- PIPE
- Web Service (In Service)
Thanks,
Boopathy |
The above code works?
what value should give for channel name? |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3051 Location: NYC,USA
|
|
Back to top |
|
|
|