Help with setting up basic web service
Hi guys-
I am just getting started with Flex and I am looking to
create a really simple app that uses the XigniteQuotes web service
http://www.xignite.com/xQuotes.asmx).
I know I have to authenticate myself with my email and I have been
looking for some tutorials online but they all seem a little too
advanced for me or they are for Flex Builder 1 (I'm using Flex
Builder 2). If someone could refer to some tutorials I might have
missed or if you wouldn't mind giving me some sample code to get me
started I would really appreciate it. I seem to be running into a
lot of errors trying on my own. Thank you,
-Dan
Hi there,
This tutorial has a section on craeting web requests. It's
not too hard in Flex 2.0
<mx:HTTPService id="idofservice" method="POST"
url="url_to_service.php?" useProxy="false">
<mx:request xmlns="">
<!-- this is where the data you want to send to the script
goes -->
<username>{username.text}</username>
<!-- assuming you had a text input field named username of
course. -->
<password>{password.text}</password>
Take a look at the tutorial.
Hope it helps!
</mx:request>
</mx:HTTPService>
Similar Messages
-
Help with Radio Group and Web Service
Hi,
I created a Radio Group with Dynamic Entry List (Web Service). It seems my list keeps coming back empty. I am on SP10.
When I deploy I get warnings that "Entry List is missing output fields mapping. I think this is a warning only because I don't have my form connected to any other components. I just want to see the radio group populated. I don't think this is the cause.
I see references out there to this "Dynamic List" not working until SP12? Can anyone add some insight to what is wrong? unsupported until later?
Thanks!I created a new model and the new model works fine. Something must be cached.
-
Novice Help with Creating Opportunities Using Web Services 2.0
Hello,
I recently took over our CRM integration services and was asked to push some data via our custom portal.
We use our portal to automate the creation of new opportunities in our Oracle CRM System.
The code was developed using Web Services 1.0
I was recently asked to add data to the "Parent Opportunity" field upon creation of a new Opportunity. Now I may be mistaken and if I am I will be very pleased, but it seems to me this field isn't available in 1.0
If I am mistaken and there IS a way to push data to the "parent opportunity" field using 1.0 Please completely disregard what I have typed below.
Upon looking at the WSLD for 2.0 I see "ParentoptyID" as an available field.
I took it upon myself to try and move this process over to 2.0 but I have hit a few major stumbling blocks. Here is the working code for 1.0:
Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal Account As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal AnnBudget As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal Territory As String, ByVal Owner As String, ByVal Opp As String) As String
Dim opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
Dim input As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
Dim results As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
Dim strPriority As String = "1-High,2-Medium,3-Low"
Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
CRMAddFinalShipmentOpportunity2 = ""
' Validate Data (CRM will validate if owner is valid)
If Owner = "" Then
AddError("Error: Missing Owner")
Exit Function
End If
If Subject = "" Then
AddError("Error: Missing Subject")
Exit Function
End If
If strType.IndexOf(Type) < 0 Then
AddError("Error: Invalid or Missing Type")
Exit Function
End If
If strStatus.IndexOf(Status) < 0 Then
AddError("Error: Invalid or Missing Status")
Exit Function
End If
If strPriority.IndexOf(Priority) < 0 Then
AddError("Error: Invalid or Missing Priority")
Exit Function
End If
If Not IsDate(DueDate) Then
AddError("Error: Invalid or Missing DueDate")
Exit Function
End If
Try
opportunity.Url = Session.GetURL()
opportunity.CookieContainer = Session.GetCookieContainer()
'Create the opportunity
Dim tmpAry(0) As nkkcrm.SiebelOpportunity20.Opportunity
input.ListOfOpportunity(0) = tmpAry
input.ListOfOpportunity.SetValue(New nkkcrm.SiebelOpportunity20.Opportunity, 0)
'Assign the opportunity Properties
input.ListOfOpportunity(0).Owner = Owner
input.ListOfOpportunity(0).OpportunityName = Subject
input.ListOfOpportunity(0).AccountName = Account
input.ListOfOpportunity(0).SalesStage = "Rebuy"
input.ListOfOpportunity(0).CloseDate = Date.Today
input.ListOfOpportunity(0).Territory = Territory
input.ListOfOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
input.ListOfOpportunity(0).SourceCampaign = "Rebuy"
input.ListOfOpportunity(0).OpportunityType = oppType
input.ListOfOpportunity(0).Revenue = AnnBudget
input.ListOfOpportunity(0).Description = Description
input.ListOfOpportunity(0).bRebuy = "Y"
input.ListOfOpportunity(0).ProductInterest = partNumber
input.ListOfOpportunity(0).plCurrency_Type = currency
'input.ListOfOpportunity(0).ParentoptyId = Opp
'insert the opportunity
results = opportunity.OpportunityInsert(input)
If results.ListOfOpportunity.Length > 0 Then
CRMAddFinalShipmentOpportunity2 = results.ListOfOpportunity(0).OpportunityId
End If
Catch webex As WebException
AddError(webex.Message)
Catch ex As Exception
AddError(ex.Message)
End Try
End Function
What changes might I need to make in order to make this function correctly using Web Services 2.0?
Currently I get the following errors- For every line of input.ListOfOpportunity(0) I get: '..cannot be indexed because it has no default property.'
Another example of an issue I'm running into is: 'SetValue' is not a member of 'nkkcrm.SiebelOpportunity20.ListOfOpportunityData'We were able to make this work by re-modeling my code after a code sample I found that creates new Activities.
Here's my code in case it helps someone scanning these forums in the future (Disregard the Opportunity entries that are missing when you compare this to my earlier code- Those weren't relevant to making this work or not work, I simply am not using them now.):
Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Owner As String, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal POValue As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal servername As String, ByVal pass As String, ByVal usrname As String) As String
'Get SessionID
Dim sessionId As String
sessionId = getSessionLogin(usrname, pass, servername)
Dim Opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
Dim OppInput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
Dim OppOutput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
Dim strPriority As String = "1-High,2-Medium,3-Low"
Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
'Validate Data (CRM will validate if owner is valid)
If Owner = "" Then
AddError("Error: Missing Owner")
Exit Function
End If
If Subject = "" Then
AddError("Error: Missing Subject")
Exit Function
End If
If strType.IndexOf(Type) < 0 Then
AddError("Error: Invalid or Missing Type")
Exit Function
End If
If strStatus.IndexOf(Status) < 0 Then
AddError("Error: Invalid or Missing Status")
Exit Function
End If
If strPriority.IndexOf(Priority) < 0 Then
AddError("Error: Invalid or Missing Priority")
Exit Function
End If
If Not IsDate(DueDate) Then
AddError("Error: Invalid or Missing DueDate")
Exit Function
End If
'Instantiate OpportunityData
Dim objListOfOpportunity As nkkcrm.SiebelOpportunity20.ListOfOpportunityData
Dim objOpportunity As nkkcrm.SiebelOpportunity20.OpportunityData()
Try
objOpportunity = New nkkcrm.SiebelOpportunity20.OpportunityData(0) {}
objListOfOpportunity = New nkkcrm.SiebelOpportunity20.ListOfOpportunityData()
objOpportunity(0) = New nkkcrm.SiebelOpportunity20.OpportunityData
'Assign the opportunity Properties
objOpportunity(0).Owner = Owner
objOpportunity(0).OpportunityName = Subject
objOpportunity(0).AccountName = "UNKNOWN"
objOpportunity(0).SalesStage = "Rebuy"
objOpportunity(0).CloseDate = Date.Today
objOpportunity(0).Territory = "North America"
objOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
objOpportunity(0).SourceCampaign = "Rebuy"
objOpportunity(0).OpportunityType = oppType
objOpportunity(0).Revenue = POValue
objOpportunity(0).Description = Description
objOpportunity(0).bRebuy = True
objOpportunity(0).ProductInterest = partNumber
objOpportunity(0).plCurrency_Type = currency
'Connect the Opportunity to ListOfOpportunity
objListOfOpportunity.Opportunity = objOpportunity
'Connect ListofOpportunity to Input Parameter
OppInput.ListOfOpportunity = objListOfOpportunity
Opportunity.Url = servername & "/Services/Integration;jsessionid=" & sessionId
'Opportunity.CookieContainer = Session.GetCookieContainer()
Opportunity.OpportunityInsert(OppInput)
Return "success"
Catch webex As WebException
AddError(webex.Message)
Catch ex As Exception
AddError(ex.Message)
End Try
End Function
Public Function getSessionLogin(ByVal usrname As String, ByVal pass As String, ByVal servername As String)
Dim loginurl As String = servername & "/Services/Integration?command=login"
'MessageBox.Show(loginurl);
Dim req As HttpWebRequest = DirectCast(WebRequest.Create(loginurl), HttpWebRequest)
' username and password are passed as HTTP headers
req.Headers.Add("UserName", usrname)
req.Headers.Add("Password", pass)
' cookie container has to be added to request in order to
' retrieve the cookie from the response.
Dim cookie As Cookie
req.CookieContainer = New CookieContainer()
' make the HTTP callby
Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse)
If resp.StatusCode = System.Net.HttpStatusCode.OK Then
' store cookie for later...
cookie = resp.Cookies("JSESSIONID")
If cookie Is Nothing Then
Return "invalid session"
End If
Return cookie.Value
Else
Return "invalid session"
End If
End Function -
Problem with java and flex web service
Hi,
I have a basic web service written in java using jax ws 2.1
ri. I need to call it from Flex using the WebService class
Annotations for the java web method :
@WebMethod
public void Login(
@WebParam(name="server") String serverURL,
@WebParam(name=AUTHENTICATE_HEADER,header=true,mode=WebParam.Mode.INOUTHolder<Authenticate Header>
authHeader)
When I try and call the service from Flex , it can't find the
login method and attempts to call it fail. If I set the web service
to RPC based using @SOAPBinding , the method is found but then
there are issues with the authentication header.
What do I need to do to get flex web services communicating
succesfully with java ?
Are there are any known compatibility issues ? Or guidelines
for going about this ?
Any help would be appreciatedwell Shay,
i've used JDev's tools to developer and to deploy the web service: the war and ear files are automatically generates you to the end of the process.
I have included all the files java and the compiled classes, but I do not have files jar.
But don't works: if i create only one java class with all code inside then it works fine!!
Daniele -
Can anyone help with setting up AirPrint on my iPhone 4
Can anyone help with setting up AirPrint on my iPhone 4. Printer is ready.
you have a compatable printer correct? http://support.apple.com/kb/ht4356
if you do may i introduce you to a hassel free app for your mac called printopia i use it also very easy to set up and use
http://www.udeo.com/mac/printopia/
hope thats helped
Goody -
Error communicating with the Cluster Manage Web Service
Hi,
i connected oracle database with the Endeca Studio but while uploading Departments dataset i m getting this error
"Error communicating with the Cluster Manage Web Service" so plz can anyone explain me wat is this error about.
thanks in advanceI actually ran into this myself- as Pat notes, it's hard to say without seeing log files, but I think that perhaps the default domain profile that the Endeca Server uses for domains created using Provisioning services has not been created. First see what domain profiles exist. Navigate to wherever endeca-cmd lives (e.g., user_projects/domains/endeca_server_domain/EndecaServer/bin), and use the list-dd-profile command:
-bash-3.2$ ./endeca-cmd.sh list-dd-profiles
The profiles that exist will be returned in your terminal window:
prov_dd_profile
default
If you only see 'default', then you will need to create 'prov_dd_profile'
./endeca-cmd.sh put-dd-profile prov_dd_profile
Then try uploading your file again in Studio.
Cheers,
Andrew -
Purchased extreme to replace modem/router DSL used telephone cord need help with set up
Prior to purchasing Airport Extreme had a standard modem/ wireless router from ATT for DSL. I have two macbooks both dropped connections while online with older modem.
Airport Extreme purchased to correct connection issues I need help with set up. The older modem just used telephone cord. I tried to use telephone with extreme it did not work.
How do I get extreme to work as the modem and router ?How do I get extreme to work as the modem and router ?
you can't. the extreme is only a router. you need a separate modem (or disable the wireless part of your old router and use it as a modem - if that's possible). -
I need help with setting up time machine for backup
I would like help with setting up time machine for backup.
You will need an external hard drive (formatted for a Mac).
Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
The backups are automatic.
Barry -
I need help with setting up my Sun Java Studio Creator
Hello all, i need help with setting up the Studio Creator, i"m new to all that staff so is there anyone to help me just a little with all that if yes email me at [email protected] or get me on AOL Instant Messanger with the screen name: wretch17
thanks :-)Hi,
Welcome to the Creator community! Thanks for your interst in Sun Java Studio Creator. Please feel free to post any question related to creator on this forum .
Take a look the creator website at
http://developers.sun.com/prodtech/javatools/jscreator/
CreatorTeam -
Export with crystal reports as web service
In order to create 3 tier architecture for security enhancments, I am using crystal feature to publish report as web service. As far displaying these reports on viewer is concerned, I have got that part working by setting the datasource to asmx and then using the viewer to set the parameters and logon information.
However currently I also have export button on the UI which basically used the ReportDocument and wrote the excel to Http stream. And this is the part where I am now struggling with crystal as web service as it does not expose ReportDocument. I have scanned all forums and have been googling for a while but reaching nowhere.
Please help if someone has already dealt with similar problem.
Thank you.I don't think you will be able to do this from the button. Reason is that the web service only works with the viewer and there is are no exposed export API associated with the viewer. The only export APIs are based off of the report document object.
Ludek
Follow us on Twitter
http://twitter.com/SAPCRNetSup -
BMC Remedy Integration with AD using a Web Service
Hi All,
We are running BMC Remedy for ticketing. The goal is to automatically add a computer to a security group once the ticket is approved. So, user raises a ticket with his computer details. The workflow for approval in BMC is already set, once approved the computer
name entered by the user will get added to a Security Group in AD.
We already have built a web service for BMC Remedy for a completely different purpose. My plan is to utilize the same web service in SCORCH. So, SCORCH will check BMC using the WebService and check the state of the new Service Request - Once the state
is approved it will add the computer to that group - Runbooks Basically.
Will the above approach work?
Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"Duplicate:https://social.technet.microsoft.com/Forums/en-US/796fad9e-9f69-40f0-98aa-2816793fc38c/bmc-remedy-integration-with-scorch-and-ad?forum=sco3pip
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Help with Flash code in web page
I have a Flash file in the masthead of my web site that shows
a slideshow. I want to code the page so that if the viewer doesn't
have Flashplayer, an alternative jpeg comes up in the masthead
instead of the file with the flash slideshow. I'm afraid I'm new to
most of this.... I'd very much appreciate help with the
programming.
Thank you!
Here's the file:
http://www.ewgaphilly.com/cs3index.html
(the slide show isn't working at the moment -- a server issue). The
alternate file I want to put in is:
http://www.ewgaphilly.com/alternate_mast.jpgI'm sorry to be so dull on this, but I'd appreciate if you
could tell me specifically which is the embed code (the codes in
the <head>? What to I change here? I really appreciate your
help.
Here is what I get when I publish the movie and the open the
html file:
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>main_slideshow_philly</title>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 7;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -->
</script>
<script language="VBScript" type="text/vbscript">
<!-- // Visual basic helper required to detect Flash
Player ActiveX control version information
Function VBGetSwfVer(i)
on error resume next
Dim swControl, swVersion
swVersion = 0
set swControl =
CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))
if (IsObject(swControl)) then
swVersion = swControl.GetVariable("$version")
end if
VBGetSwfVer = swVersion
End Function
// -->
</script>
<script language="JavaScript1.1"
type="text/javascript">
<!-- // Detect Client Browser type
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ?
true : false;
var isWin =
(navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true :
false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ?
true : false;
jsVersion = 1.1;
// JavaScript helper required to detect Flash Player PlugIn
version information
function JSGetSwfVer(i){
// NS/Opera version >= 3 check for Flash plugin in plugin
array
if (navigator.plugins != null &&
navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] ||
navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? "
2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" +
swVer2].description;
descArray = flashDescription.split(" ");
tempArrayMajor = descArray[2].split(".");
versionMajor = tempArrayMajor[0];
versionMinor = tempArrayMajor[1];
if ( descArray[3] != "" ) {
tempArrayMinor = descArray[3].split("r");
} else {
tempArrayMinor = descArray[4].split("r");
versionRevision = tempArrayMinor[1] > 0 ?
tempArrayMinor[1] : 0;
flashVer = versionMajor + "." + versionMinor + "." +
versionRevision;
} else {
flashVer = -1;
// MSN/WebTV 2.6 supports Flash 4
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1)
flashVer = 4;
// WebTV 2.5 supports Flash 3
else if
(navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1)
flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv")
!= -1) flashVer = 2;
// Can't detect in all other cases
else {
flashVer = -1;
return flashVer;
// If called with no parameters this function returns a
floating point value
// which should be the version of the Flash Player or 0.0
// ex: Flash Player 7r14 returns 7.14
// If called with reqMajorVer, reqMinorVer, reqRevision
returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer,
reqRevision)
reqVer = parseFloat(reqMajorVer + "." + reqRevision);
// loop backwards through the versions until we find the
newest version
for (i=25;i>0;i--) {
if (isIE && isWin && !isOpera) {
versionStr = VBGetSwfVer(i);
} else {
versionStr = JSGetSwfVer(i);
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
tempArray = versionStr.split(" ");
tempString = tempArray[1];
versionArray = tempString .split(",");
} else {
versionArray = versionStr.split(".");
versionMajor = versionArray[0];
versionMinor = versionArray[1];
versionRevision = versionArray[2];
versionString = versionMajor + "." + versionRevision; //
7.0r24 == 7.24
versionNum = parseFloat(versionString);
// is the major.revision >= requested major.revision AND
the minor version >= requested minor
if ( (versionMajor > reqMajorVer) && (versionNum
>= reqVer) ) {
return true;
} else {
return ((versionNum >= reqVer && versionMinor
>= reqMinorVer) ? true : false );
return (reqVer ? false : 0.0);
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable
version
var oeTags = '<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="780" height="444"'
+ 'codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="main_slideshow_philly.swf"
/><param name="quality" value="high" /><param
name="bgcolor" value="#ffffff" />'
+ '<embed src="main_slideshow_philly.swf" quality="high"
bgcolor="#ffffff" '
+ 'width="780" height="444" name="main_slideshow_philly"
align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="
http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'alternate.giv';
document.write(alternateContent); // insert non-flash
content
// -->
</script>
<noscript>
// Provide alternate content for browsers that do not
support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content
requires the Macromedia Flash Player.
<a href="
http://www.macromedia.com/go/getflash/">Get
Flash</a>
</noscript>
</body>
</html>
Here is my existing code in my home page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>EWGA Greater Philadelphia Executive Women's Golf
Association</title>
<style type="text/css">
<!--
@import url("/ewgacss.css");
-->
</style>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<style type="text/css" media="screen">
<!--
@import url("p7tbm/p7tbm_center_08.css");
-->
</style>
<script type="text/javascript"
src="p7tbm/p7tbmenu.js"></script>
</head>
some other stuff goes in here!!
then...
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','780','height','444','title','EWGA
Greater
Philadelphia','src','/main_slideshow_philly','quality','high','pluginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','/main_slideshow_philly'
); //end AC code
</script>
<noscript>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
width="780" height="444" title="EWGA Greater Philadelphia">
<param name="movie" value="/main_slideshow_philly.swf"
/>
<param name="quality" value="high" />
<embed src="/main_slideshow_philly.swf" quality="high"
pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="780"
height="444"></embed>
</object>
</noscript> -
Getting errors with tag lib using Web Service
I have created a web service client in my WEB-INF/classes catalogue. Im having problems because i get this error message when I compile:
myServices/myCardValidate$Documents/verifyCreditCard_SOAPXML.jsp [-1:-1] This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application
myServices/myCardValidate$Documents/verifyCreditCard_TAGLIB.jsp [-1:-1] File "/WEB-INF/Service1Soap.tld" not found
Errors compiling Web module compiling..
anyone got a clue ?
My other .jsp pages located in the WEB-INF catalogue has the http://java.sun.com/jstl/core uri and works fine...
thanks in advance..Answering my own post to help others with the same problem:
Im using Sun One Studio 5. What causes the error is that Sun Studio generates by default presentation jsp's etc. for the Web service client. At the properties tab of the client I set the Generate presentation parameter to False. No presentation jsp's are now generated and compiling and deployment of the web module works out fine.
yours Aqoiiye -
Problem with CLOB in PLSQL Web Service.
Hi-
I have Oracle Package that accepts CLOB as IN parameter and another CLOB as an OUT parameter. I went thru the tutorial in how to publish a database
PLSQL package as a web service with out any problem. I was able to publish and call successfully my PLSQL web service thru a browser and thru a simple C# application. It's been working fine until I receive an XML file which is bigger than 32766:
java.sql.SQLException: setString can only process strings of less than 32766 chararacters at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)]
JDeveloper version: JDeveloper 10g (10.1.2.2.0) Build 1929
Oracle Application Server 10g
I'm newbie in JDeveloper so any help is greatly appreciated.
Thanks!well Shay,
i've used JDev's tools to developer and to deploy the web service: the war and ear files are automatically generates you to the end of the process.
I have included all the files java and the compiled classes, but I do not have files jar.
But don't works: if i create only one java class with all code inside then it works fine!!
Daniele -
Creating a new project with custom fields using web services
I've been trying unsuccessfully for the last week or so to successfully create a new project from web services and I believe the main problem that I've been running into is that one of the required fields is a custom field. I've tried creating the Project
in a couple of different ways and haven't had any success up to this point, so any help would be appreciated. I've tried creating it with both a REST call to /_api/ProjectServer/Projects and a SOAP call to /_vti_bin/PSI/Project.asmx. Below are the best shots
I've made at the two different calls with the errors I received. If anyone has any leads on the best way to do this the help would be appreciated!
REST POST /_api/ProjectServer/Projects
'odata.type' : 'PS.PublishedProject',
'Name' : 'OData Name',
'Custom_9d77d62aa92e4d40adc8446c90eb7456' : "O&M"
Response
error: {
code: "11713, Microsoft.ProjectServer.PJClientCallableException"
message: {
lang: "en-US"
value: "PJClientCallableException: CustomFieldRequiredValueNotProvided CustomFieldRequiredValueNotProvided mdpropuid = 9d77d62a-a92e-4d40-adc8-446c90eb7456"
SOAP POST /_vti_bin/PSI/Project.asmx
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proj="http://schemas.microsoft.com/office/project/server/webservices/Project/" xmlns:projds="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
<soapenv:Header />
<soapenv:Body>
<proj:QueueCreateProject>
<proj:dataset>
<ProjectDataSet xmlns="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
<Project>
<PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
<PROJ_NAME>Proj Dept Test 2</PROJ_NAME>
<PROJ_TYPE>0</PROJ_TYPE>
</Project>
<ProjectCustomFields>
<CUSTOM_FIELD_UID>4802a711-62a0-4f84-8e08-c7d22daadb5b</CUSTOM_FIELD_UID>
<PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
<MD_PROP_UID>9d77d62a-a92e-4d40-adc8-446c90eb7456</MD_PROP_UID>
<FIELD_TYPE_ENUM>21</FIELD_TYPE_ENUM>
<CODE_VALUE>a47930d6-b89d-4f3a-b4e3-522015fe82a1</CODE_VALUE>
</ProjectCustomFields>
</ProjectDataSet>
</proj:dataset>
<proj:validateOnly>true</proj:validateOnly>
</proj:QueueCreateProject>
</soapenv:Body>
</soapenv:Envelope>
Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:Server</faultcode>
<faultstring xml:lang="en-US">ProjectServerError(s) LastError=GeneralUnhandledException Instructions: Pass this into PSClientError constructor to access all error information</faultstring>
<detail>
<errinfo>
<general>
<class name="General Unhandled Exception in _Project.QueueCreateProject_">
<error id="42" name="GeneralUnhandledException" uid="184feeaf-906a-e411-9b2a-00155d388b02" Exception="System.Data.StrongTypingException: The value for column 'PROJ_TYPE' in table 'Project' is DBNull. ---> System.InvalidCastException: Specified cast is not valid.
at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
--- End of inner exception stack trace ---
at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
at Microsoft.Office.Project.Server.BusinessLayer.Project.FixupProjectType(ProjectDataSet projDS)
at Microsoft.Office.Project.Server.BusinessLayer.Project.QueueCreateProject(Guid jobUid, ProjectDataSet dataset, Boolean validateOnly)
at Microsoft.Office.Project.Server.Wcf.Implementation.ProjectImpl.<>c__DisplayClasse.<QueueCreateProject>b__d()
at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions)"/>
</class>
</general>
</errinfo>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>Julie,
You can create the fields that are project specifc & you can create fields that apply to all projects but have specific options for projects. Your goal is to create fields that are specific to each project, but right now you get all fields from you old project - is this correct?
From your description below it appears that the fields in your original project are marked as applied to all projects & hence when you create a new project they are inherited. If you mark those fields as applied to certain project & then create a new project those fields will not be inherited.
But you are right in the sense that it is limiting that there is no multi-select for "applies to" field.
Maybe you are looking for
-
Hi can any one give me some example of GL accounts which will maintain open item management accounts other GR/IR and rent clearing accounts. ramesh
-
I have deleted and re-installed it, but to no avail. I cannot access my ITunes from my PC. What must I do to get access to iTunes and my library of music?
-
How can I change the colors of this image?
I want to change the color scheme of this image, not just re-color it one color. I have the original file, this is just the shutterstock preview image. Any tips would be much appreciated! Thanks
-
Interaction record text replication issue
Hi, I am trying to create contacts on BCT0 for some of the newly created class and actions. I am able to create them in ISU and it is getting replicated to CRM as Interaction records. However for some of the contacts , the text of class and action (C
-
Scan to Application will not stop and cannot close
I recently scanned a phot to my mac and then imported to iphoto . I scanned using a HP deskjet 3050. The scan to application appears to still be running in the background as a moving cog appears in the top right hand menu bar next to network preferen