473,473 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

graphical.weather.gov sometimes executing fine and sometimes failing with same record

1 New Member
HI All

Currently I am working with weather api and cosuming this web api by passing parameter Latitude and Longitude, on the basis of passed api it returns temperature of location.
But sometimes code executing and returning expected output sometimes it fails.

Web Service Url: https://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl.

I am working with MS Dynamics CRM Plugins, if i am executing same source code with Console application it executes without any error. But in Plugins i am getting errors.

Any suggestion or help will helpful for me.

Thanks
Feb 16 '18 #1
1 1231
Luuk
1,047 Recognized Expert Top Contributor
It helps to know what you actually tried, and what error was returned

ie, when posting NDFDgenByDay:

Expand|Select|Wrap|Line Numbers
  1. <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ndf="https://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl">
  2.    <soapenv:Header/>
  3.    <soapenv:Body>
  4.       <ndf:NDFDgenByDay soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  5.          <latitude xsi:type="xsd:decimal">38</latitude>
  6.          <longitude xsi:type="xsd:decimal">-77</longitude>
  7.          <startDate xsi:type="xsd:date">18</startDate>
  8.          <numDays xsi:type="xsd:integer">3</numDays>
  9.          <Unit xsi:type="xsd:string">e</Unit>
  10.          <format xsi:type="xsd:string">13 hourly</format>
  11.       </ndf:NDFDgenByDay>
  12.    </soapenv:Body>
  13. </soapenv:Envelope>
you will get an error saying
Expand|Select|Wrap|Line Numbers
  1. <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
  2.    <SOAP-ENV:Body>
  3.       <SOAP-ENV:Fault>
  4.          <faultcode xsi:type="xsd:string">SERVER</faultcode>
  5.          <faultactor xsi:type="xsd:string"/>
  6.          <faultstring xsi:type="xsd:string">format needs to be either 24 hourly or 12 hourly</faultstring>
  7.          <detail xsi:type="xsd:string">input format was "13 hourly"</detail>
  8.       </SOAP-ENV:Fault>
  9.    </SOAP-ENV:Body>
  10. </SOAP-ENV:Envelope>
This means that the parameter 'format' is wrong. it should be '24 hourly' or '12 hourly'

It would help to see what error you are getting, because 'I am getting errors' does not help!
Feb 17 '18 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Steve | last post by:
I have a form, primary subform and secondary subform. A tab control takes up all the area of the primary subform. There are about 15 tabs on the tabcontrol. Each tab contains fields from the same...
4
by: Jim M | last post by:
Two questions: 1) I have a scheduling application (Access 2002) that allows multiple staff members to edit notes on their meetings and appointments from their offices. A receptionist views a...
3
by: helpful sql | last post by:
Hi, I am working on an app that will display the list of all scheduled call records in our database to the users. All users of the application will see the same list of call records and will...
19
by: rich | last post by:
I am building an app using php and postgresql. My questionis this. How do you handle people wanting to make parallel changes to a record. Since in web apps you are doing a select, bring over a...
1
by: beat1078 | last post by:
I have a table with information about an individual and their supervisory chain and what job title the employee is. If done correctly the top of the supervisory chain will be entered in first and...
8
by: ivijayan | last post by:
HI. I have the following query:- How do i create field which updates its contents on the basis of data in another field in same record. especially if I have a Date field, how can I change the...
10
klarae99
by: klarae99 | last post by:
I am working on an Inventory Database in Access 2003. I am having trouble with a report I designed to show current inventory in stock. I have a form (frmInventory) that is unbound. There are four...
1
by: rhector31 | last post by:
Hi, I have this file that some lines are related to the same record. I need to analize it but I need to create a flat file. I want to every time that the record start with an ENT split it and add...
22
by: paul | last post by:
A crude, unlikely scenario just so I can get my head around this: Split DB; front end back end. Each user has the FE locally the BE is stored on a server. 1. UserA opens customerA's record and...
4
by: Amarantine | last post by:
I have a from and a subform and I need to stay on the same record when I move from the main form to the subform. I have a "next" button with a macro on the last page of the form which navigates to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.