Reg : Weather XML Feed service application - urgent please.....!
Hi All,
I hv created a sample weather application which was published in weblog by Prakash with topic "Create a weather magnet using xml feed from weather.com"
Everything works fine....But, when I deploy this one I get foll. error :
Portal Runtime Error
An exception occurred while processing a request for :
iView : com.ust.weather.display
Component Name : com.ust.weather.display
xoap.weather.com.
Exception id: 04:16_03/03/07_0773_1198650
See the details for the exception ID in the log file
I donno where iam going wrong but still.....not able to figure-out exact problem.
I also, added the foll. jars :
com.sap.portal.runtime.application.contentconversion_api.jar
com.sap.portal.runtime.application.contentconverter_api.jar
I request you all gurus.....plz provide me with solution where I went wrong.
Appreciate your time and valuable inputs.
Thanks in advance,
Ravi Kumar.
Hi Swathi,
Thanks for your valuable inputs and reply.
I checked in Javadeveloper >> Tools >>> Logviewer.
I don;t find logviewer option under Tools of Java developer role.
I am rightnow logged in to server via remote server desktop...checking for the logfiles.
Please, let me know any other options/suggestions.
Regards,
Ravi Kumar.
Similar Messages
-
How to create/call dynamic XML feed from CFC - HELP PLEASE!!
Hi All,
First off I'm a newb to web services. I'm trying to create the invoke a web service on a CFC for a XML feed. When I call the CFC directly all looks fine and is correctly formatted etc:
http://www.prevu.tv/cfc/xyzTest.cfc?method=listPlant
Am I correct in outputting it in this way? What if I output as a string instead......would others be able to consume it?
When I try to invoke it as a web service I am getting an error I do not understand. I am trying to call it using (user/pass not required in CFC):
<cfinvoke webservice="test" method="listPlant" returnvariable="foo">
<cfinvokeargument name="username" value="abc">
<cfinvokeargument name="password" value="123">
</cfinvoke>
<cfoutput><cfdump var="#foo#"></cfoutput>
Here is my CFC code:
<cfcomponent>
<cffunction name="listPlant" access="remote" returntype="xml" output="no">
<cfargument name="username" type="string" required="no">
<cfargument name="password" type="string" required="no">
<cfquery datasource="#request.dsn#" name="getPlant">
SELECT *
FROM plant
INNER JOIN plantaddress ON plant.plantID = plantaddress.plantID
WHERE icePlantID IS NULL
AND categoryID NOT IN (9,10,11)
AND statusID = 1
AND activePlantList = 1
ORDER BY plant.plantID LIMIT 5
</cfquery>
<!---Convert Query to xml--->
<cfprocessingdirective suppresswhitespace="Yes">
<cfcontent type="text/xml; charset=utf-8">
<cfxml variable="xmlobject">
<PrevuPlant>
<cfoutput query="getPlant">
<Plant>
<PlantID>#plantID#</PlantID>
<PlantName>#XmlFormat(plantName)#</PlantName>
<Street>#XmlFormat(street)#</Street>
<Suburb>#XmlFormat(suburb)#</Suburb>
<City>#XmlFormat(city)#</City>
<State>#XmlFormat(state)#</State>
<Country>#XmlFormat(country)#</Country>
<PostCode>#XmlFormat(postcode)#</PostCode>
<Latitude>#XmlFormat(latitude)#</Latitude>
<Longitude>#XmlFormat(longitude)#</Longitude>
<CountryCode>#XmlFormat(countryCode)#</CountryCode>
<AreaCode>#XmlFormat(areaCode)#</AreaCode>
<Phone>#XmlFormat(phone)#</Phone>
<Fax>#XmlFormat(fax)#</Fax>
</Plant>
</cfoutput>
</PrevuPlant>
</cfxml>
<!---Convert back to a string--->
<cfset myvar=toString(xmlobject)>
</cfprocessingdirective>
<cfreturn myvar>
</cffunction>
</cfcomponent>
Can anyone please tell me where I am going wrong, or how the output for a XML feed called from a CFC should look in a browser etc?
ThanksHey Dan....thanks for the prompt reply.
I added the wsdl and this is what I get when I call the service from this cfm page: http://www.prevu.tv/xyzTest.cfm
Have never seen output like this. Is this correct?
The web service I'm writing is also for some .net developers so it may be that I need to output as string also - this discussion has not taken place yet. -
Does anyone have a good xml feed or code to set that for the URL IDLE in the enterprise parameters?
As long as your phone have access to Internet (DNS or IP), you can use this.
http://phone-xml.berbee.com/cgi-bin/weather.pl
Phone-xml.berbee.com resolves to 64.73.32.133
HTH
Sankar
PS: please remember to rate posts! -
Multi-Language report in XML Publisher(Its is urgent, Please help)
Hi All,
I am working on Multi-Language report. We have installed just 3 languages (English, Japaneese, Spanish) but my requirement is to display the reports in few more un-installed languages like Korea, chineese etc. I tought of doing the lables (all hard coded fields) to translate using .XLIFF file. When i try to run the report, in language settings (this is the place where the XML report takes the language input)i can see only those languages which are installed. How can pass other languages (un-installed) as a parameter in the XML report?
Please suggest. It is very urgent.
Thanks,
ASfor this functionality, i had to write a custom package to submit the request for that particualr language and set the language while setting the parameters .
Thanks. -
Hi all
I have to design and develop a web service.
Where the client sends automaticaly XML files to b analized. (They get sent whenever a special event happens)
the server recibes it, verify it agaist a DB and the return XML files with an extra STATUS tag.
Ive been reading alot about J2EE, and Im kind of dizzy on how should i do it.
I am good at java but new at J2EE. Although i understand the overall.
Can anyonw help me to find the right path to follow?
How should i design it??
I gotta use SOAP.
Best Regars,Hello!
The best way to develop web service is using AXIS framework.
http://ws.apache.org/axis/ -
How to write this application - URGENT PLEASE HELP
I would like to write a program for a supermarket loyalty card system. The program should have 2 customers and 2 gifts on offer. The customer details and the gift details can be hard coded.
When the program starts the user should be shown a menu which will have options to
view all customer details
add points for a customer
buy a gift
When the user chooses to buy a gift ro to add points, any changes made to the customers' points must be done using methods. Adding or buying gifts should be done using customer id's and gift id's.
The user must be able to see the altered points.
I WILL APPRECIATE IF I COULD GET HELP EVEN FOR PSEUDOCODE.Not as much as this guy tho http://forum.java.sun.com/thread.jsp?forum=31&thread=486327&tstart=150&trange=15
-
Hi all. I have been searching for days for a solution to a problem I am having with SP2013 Enterprise edition.
We recently upgraded from SP2013 Foundation to SP2013 Enterprise. After the upgrade, the search services are no longer working and we are receiving many application log entries indicating the following:
Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (ea2019ef-bb9e-4efe-85ee-5d2307406f31).
Reason: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Technical Support Details:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
as well as:
Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (ea2019ef-bb9e-4efe-85ee-5d2307406f31).
Reason: The object you are trying to create already exists. Try again using a different name.
Technical Support Details:
System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name.
at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
I have tried to remove the search service application and recreate it, and even though the SharePoint Central Administration states that it was created successfully, I am still getting the same errors in the log. If I go to the Search Service Application
Search Administration page, the "System Status" shows the following message:
The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '0359af35-0982-4ede-8838-b1d390e915bf' in search application 'Search Service Application' is in a good state and
try again
Additionally, under the "Search Application Topology" section, it states "Unable to retrieve topology component health states. This may be because the admin component is not up and running" which I assume is normal if the admin is not
running.
Does anyone know how I can resolve this problem?
Thanks!Hi Joaquin,
According to your description, the error occurred when you re-created the Search Service Application.
Based on the error message, I recommend to verify the things below:
1. Check if the association between the Search Service Application proxy and the web application is configured.
Please go to Central Administration > Application Management > Configured service application associations > Click Default to see if the Search Service application is checked.
2. Change the app pool for the Search Service Application to SharePoint Web Services Default in the properties of the Search Service Application.
Please go to Central Administration > Application Management > Manage service applications > Highlight the Search Service Application > Click Properties in the ribbon > Change
the two app pool to SharePoint Web Services Default: App Pool For Search Admin Web Service and Application Pool for Search Query and Site Settings Web Service.
3. Run PS command to check if the search admin timer job is enabled: Get-SPTimerJob
job-application-server-admin-service | fl. If it is not enabled, use PS command to enabled it and then reset Internet Information Services: Enable-SPTimerJob job-application-server-admin-service.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
How to upload XML file from Application server.
Hi,
How to upload XML file from Application server.Please tell me as early as possible.
Regards,
Sagar.Hi,
parameters : p_file type ibipparms-path obligatory.
***DOWNLOAD---->SAP INTO EXCEL
filename1 = p_file.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = filename1
filetype = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_stock
FIELDNAMES =
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Regards,
Deepthi. -
sir
i have a batch file contains fixed no of similar service application .exe files
after the booting i have to check weather all the service application are running successfully or not .Compare between the no of running application and fixed no of application..
If some are not working .. how to start them automatically...
in vb program
Satyajit RathSatyajit,
Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a project management application. I suggest you delete this post and start with the following:
https://social.technet.microsoft.com/Forums/en-US/home?category=usingforums
John -
*** XML MESSAGES (URGENT PLEASE) ***
Hi,
we are using XI 3.0 support pack 20, having some problem to XML messages to emil
tr: SXMB_MONI shows all alerts from different servers, and eamil only my user with Subject: Alert and attachment file...
I didn't define any attachment file, or when I change continer variables nothing changed anyting...
I am sending some screen shot please figure it out where i am getting mistake....
http://www.flickr.com/photos/25222280@N03/
and I am following this doc.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
Note: This is very urgent please
Thanks in advancedI would start with fixing the "unable to convert sender system" error..
Michals blog for solution...
/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
Regards
Ravi Raman -
SOAP vs. XML-RPC for synchronous Web Services applications
Hi everyone, I have to finish one project soon and I have to make a decision. Because I don't have much time I want to ask if anyone can answer me, what are the major differences bettween SOAP vs. XML-RPC for synchronous Web Services applications. I'll be very grateful if you help me!
Thanks in advance!Come on guys i know you can help me, please don't hesitate to write some row
-
Free XML feeds for Stock and Weather ?
Hi All,
Please let me know if there is any XML feed available for Stock and Weather. I googled a lot but couldn't find free XML feed providers.
Thanks,
ManjunathHi,
I tried finance.yahoo.com for stock. I prepared a sample file in which I used 'trace' to see the response. However I can't see any XML data.
I have attached both .fla and .swf files. Could you please check did I miss anything in the actionscript part? -
Xml feeds for weather data in app
Hi,
I'm trying to plug weather related data in my application.I got some weather tools from weather.com. As per the instructions there, I copy the partner id and licence key and code into my app. Being a novice in RSS feeds/ xml feeds, I've hard times to get this work.
Has anyone got this work? Any help in this regard will be greatly appreciated.
Thanks.Hi
Kindly check the following IDoc Type in WE30:
<b>PPCC2RECORDER01</b>
Kindly check the following BAPI:
<b>BAPI_PRODORD_GET_DETAIL</b>
Give the ORDER NUMBER & the ORDER OBJECTS as import parameters to the BAPI.
you will get the PRT details in the following structure of the output in the <b>Tables</b> entries:
<b>PROD_REL_TOOL</b>
best regards,
Thangesh -
Dreamweaver CS4: XML Feeds not working for USGS Water Data Web Service
Hi,
Can anyone look at my code and help me understand why one xml
feed works and the other doesn't?
I'm using Creative Suite 4 Dreamweaver to produce the code.
Here is the code that works and the code that doesn't,Hi,
For this situation, here is an article discuss about the error message and the solution which you could refer to:
http://www.getshifting.com/wiki/setupn
http://stackoverflow.com/questions/9975521/error-connecting-to-wcf-service-with-windows-security
Regards -
Hi All,
Can anyone please, tell me the differences between XML Feed and Webservices.
I donno this is right question to post. Please, clarify me b'coz i'm little confused.
Appreciate all your valuable inputs.
Thanks,
RKHi Ravi,
http://en.wikipedia.org/wiki/Web_feed
http://en.wikipedia.org/wiki/Web_service
Best regards, Maksim Rashchynski.
Maybe you are looking for
-
OIM Email Notification issue with custom E-mail user attribute
Hi All, We have a requirement where we need to send e-mail notification programmatically after a OIM account is created for the user through trusted reconciliation. Post process event handler is being used for this. We have created our own Custom Not
-
Iphone does not sync ical w/macbook
Responses suggest going to ical system preferences and open icloud. My system preferences has NO icloud, only mobileme.
-
Profit transfer postings aren't showing in transaction fmb_pt01
We are running ECC 6.0 and are looking for a budget/actual report other than FMAVCR01. FMB_PT01 looks promising but the report excludes value type 66 - Profit Transfer Postings in the summary. How do I go about including this value type in the repo
-
Authorization object for sales office
Hi, We have a requirement, we have one our head office and there are around 20 sales office, for each sales office there is a different user id (two user logins per sales office ), in customer master for each customer we are assignning one sal
-
My i phone disconnects with my wired headset everytime I answer? Anybody have ideas about what it is or what I could do about it?