RPC Fault at Transport level?
One of our Flash programmers is receiving the following error in Flex when connecting to an external MS-SQL DB server.
"[RPC Fault faultString="A Transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 -- The specified network name is no longer available.)" faultCode="Server.Processing" faultDetail="null"]
Apparently my googlefu is no good today as I've not found anything remotely close yet. Any assistance would be greatly apparectiated.
Thanks
Please see attached images which I have got,
I am using:
Latest BlazeDS + Flex 3.0 plugin.
Server JBoss 4.0.2
I am not getting exactly why this is working so?
Similar Messages
-
RPC fault in HTTPService.
I have successfully deployed my application on a server that
hosts Flex Data Services. However during a HTTPService call from my
application I get the following error. Please can someone throw
some light as what needs to be done. I know am missing a link to
define a channel for RPC call. However I am not sure how to
configure that.
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 500"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.messaging::Channel/mx.messaging:Channel::connectFailed()
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()
at
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()
TIA
~ShishirHi Pete,
Thank for your reply. I have tried to answer the queries you
have put in as your reply.
>> In your HTTPService tag, have you set
useProxy="true"?
Yes,
>>If so, are you using your own destination, or are you
relying on the default destination for the proxy service, i.e.
>>DefaultHTTP?
Not Sure, but I guess the defualt destination , coz I have
not created any of my own destinations.
>>Have you looked at the default channels defined for
the proxy service (these are used if you have not explicity
referenced >> any channels in your destination)? Or perhaps
you do have channels referenced in your destination's config?
Am confused. :(. I have not defined anything of my own. No
channels, destinations, or end points.
>>Either way, these references point to a channel
definition in the top level /WEB-INF/flex/services-config.xml. Do
any of >>these channel definition enpoint uris have a
{context.root} token in them? If so, did you specify a
--context-root=/flex >>command line argument to the mxmlc
compiler or flex builder compiler when building your SWF? Did you
also specify a
>>--services=c:/path/to/your/services-config.xml command line
argument when compiling so that the channel definitions
>>make it into the SWF?
How do I specify these command line arguments to the compiler
, while compiling from within the flex builder.
>>Can you test browsing to the channel endpoints and
check they're alive?
No idea, how to do that.
>>Have you got the debug version of the Flash Player?
If so, have you tried adding a <mx:TraceTarget level="0" />
to ensure >>all connectivity information is reported in the
trace output?
No , I dont think I have the debug version, I just downloaded
the file available from the site.
>>Perhaps you're making changes to the configuration
files and forgetting to restart the server? Or perhaps Flex Builder
>>isn't really recompiling your SWF? Can you try forcing a
clean and recompile?
I have not made any changes to any of the config files, and
therefore I dont need to restart the server I guess. How do I know
if the Flex Builder is really compiling my SWF.
Even more so , with all these hindrances, I am really
baffeled by the fact that when I run my application directly from
the flex builder, the application can access the URLs and retrieve
data. However when I deploy the same onto my OC4J app server (which
has FDS) I start getting this errror. Can you please clarify why
this is so, that my application fails to access internet when I run
it from the server and also how different it is to run the
application from the flex builder than to run it from an
application server with FDS(flex data services).
In anticipation of your reply.
Thanks,
Shishir -
Hi,
Posting in the 'General' forums as well. Did not yet get any response for the topic posted in the 'Configuration and Getting Started Discussion' forum.
I am having nightmares to call the POST method of a REST service thru Flex. Initially tried with the HTTPService without any proxy server. Wasn't able to call POST, though the GET method was successfully called. Please see the post here (http://www.flexdeveloper.eu/forums/actionscript-3-0/how-to-acces-post-method-of-rest-web -service-thru-flex/)
b THEN I tried with BlazeDS
, but with the same results!
I have set up BlazeDS with the integrated Tomcat option. I have also set up the Flex project as mentioned in the instructions. It is working fine when I run the sample projects.
But the problem is that
i when I try to access a
b POST for a REST service,
i I get the "HTTP/1.1 415 Unsupported Media Type" fault.
b The complete fault I'm getting is: [RPC Fault faultString="HTTP/1.1 415 Unsupported Media Type" faultCode="Server.Proxy.Request.Failed" faultDetail="HTTP/1.1 415 Unsupported Media Type"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev \3.1.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:218]
at mx.rpc::Responder/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:53 ]
at mx.rpc::AsyncRequest/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
at HTTPMessageResponder/resultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messagin g\channels\HTTPChannel.as:871]
at HTTPMessageResponder/completeHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messag ing\channels\HTTPChannel.as:940]
at ChannelRequestLoader/callEventCallback()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\mess aging\channels\HTTPChannel.as:1155]
at ChannelRequestLoader/completeHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messag ing\channels\HTTPChannel.as:1191]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
I have added correct entry to the policy-config.xml (I know this because the GET for the same REST service is working).
b Only the POST thing is giving me the fault!
Appreciate any inputs. (am in need of 'em badly)
thanks
BJGMy guess is that the Server/Rest service doesn't like the content type of the request. HTTPService uses a content type of application/x-www-form-urlencoded by default. Maybe the Rest service is expecting the request to be XML? If that's the case, you need to set the contentType property of the HTTPService to application/xml.
Sometimes an HTTP sniffer/proxy such as Charles can be useful for debugging these kinds of issues. If my suggestion doesn't help, capture the HTTP request and response using a HTTP sniffer like Charles and post back to this thread with it and someone will take a look at it for you. Thanks.
-Alex -
HTTPS (Transport Level Security)
Hi SDNers,
I have a question regarding securing a SOAP Sender scenario using HTTPS. We are on PI 7.11 and have a SOAP-PI-RFC scenario. I have used a HTTP Sender instead of a SOAP channel to configure the option of 'HTTPS without Client Authentication'. I have generated the WSDL for this and tested successfully using SOAP UI.
But our client needs a SSL certificate for this. As far as I understand SSL certificates are used only for message level security. But here they are OK with just transport level security. Do we need any certificates in this case? Please clarify.
Another question I have is, is there any way of using HTTPS (transport level security) using SOAP Sender adapter? The option of 'HTTPS without Client Authentication' is not available anymore from PI 7.1 SP1 onwards. That is the reason I used a HTTP sender adapter.
Any help is much appreciated <text removed>
Thanks & regards,
Sudheer
Edited by: Matt on Oct 12, 2011 6:49 AMHi Abhishek,
I am not able to see that option in the SOAP Sender channel configuration. Besides, the help link from SAP also does not show this option.
Here is the link for EHP1:
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/3555240bea31c3e10000000a42189d/content.htm
and here is the link you gave,
http://help.sap.com/saphelp_nwpi71/helpdata/EN/fc/5ad93f130f9215e10000000a155106/content.htm
Clearly, both are for configuring the sender SOAP channel, but the options are different if you notice.
I am not able to understand where I am going wrong.
Appreciate your quick response.
Regards,
Sudheer -
Our .net application throws an error when the wireless laptop switches from wireless access point to another inside a building. it seems like SQL is closing the existing connetion without notifying the application which thinks that sqlconnetion is still
in OPEN state. why does SQL close a connection without notifying the application? Our programming team does not want to open and close the connection on each transaction because they think it will slow down the application.
Error:
"A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)"I would expect a disconnect error in such a case.
I don't think SQL Server has a design feature to follow mobile wireless devices.
Threads:
Timeout issue when connection to SQL Server in Wireless environment
Having disconnections with SQL Server using a wireless connection
QUOTE: "Ah, SQL Server connections (and the connection pooling mechanism) are not at
all tolerant of WiFi connections. I suggest you use a replication technology
as exposed by the SQL "Server" Compact Edition and ADO.NET 3.5 Sync
Services. This gives you a local DBMS to work with and connectivity designed
to work over an occasionally (and unreliable) connection."
You may try to adjust the TCP/IP Keep Alive parameter, but no guarantee though.
BOL: "Keep Alive
This parameter (in milliseconds) controls how often TCP attempts to verify that an idle connection is still intact by sending a
KEEPALIVE packet. The default is 30000 milliseconds."
LINK:
http://technet.microsoft.com/en-us/library/ms190771(v=sql.105).aspx
Related thread:
Wireless connections to SQL Databases
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
RPC Fault faultString="HTTP request error"
Hi I built a project from an existing fxp file.. But when I try to run it I receive tthis error.. What is wrong??
[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032:
I am sure that the fxp file is correct as I tested it to another computer.....
Please it is urgent!!
the whole error is this
[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:8888/*/Applications/MAMP/htdocs/*/php/get_course.php"]. URL: http://localhost:8888/*/Applications/MAMP/htdocs/V3_tutor_for_CODE_2/php/get_course.php"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:290]
at mx.rpc::Responder/fault()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\Responder.a s:58]
at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\AsyncReq uest.as:103]
at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx \messaging\channels\DirectHTTPChannel.as:368]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()Maybe the URL you are accessing is not available from that computer.
-
Hi guys
i have problem when i run my windows application exe in windows server 2003
it give me this exception error :
I using sql server 2005
visual studio 2008
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at Sales.SalesClass.ShowSalesData(String ConnectionString)
at Sales.Form1.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
Sales
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/administrator.ALTAWIREADYMIX.000/Desktop/Sales.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Why this error show and how to solve it
if possible help me
Why this exception show and how to solve it.
Notes this exception not close my application and not affect in result show but i don't know why it showThe problem can be caused by certain issues of long-running queries, which are reported improperly. Try increasing the timeout:
http://support.microsoft.com/en-us/kb/555938 -
SQL Exceptions, transport-level errors on SharePoint 2010 App Server
SharePoint 2010 becomes inaccessible 2-3 times per day. It happens at approximately the same times: 8 PM, 1 AM and 1 PM. It is inaccessible for about 3-4 minutes and then comes back on its own.
During the time it is down, we see the following errors in the event viewer on the application server:
EventID: 5586 Task Category: Database -
Unknown SQL Exception 64 occurred. Additional error information from SQL Server is included below.A transport-level error has occurred when receiving results from the server.
(provider: TCP Provider, error: 0 - The specified network name is no longer available.)
EventID: 3 Task Category: None -
.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error:
0 - The specified network name is no longer available.)
EventID: 6398 Task Category: Timer -
The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition (ID f9db48f1-f115-47ab-99b6-552460cbb782) threw an exception. More
information is included below. A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
EventID: 8086 Task Category: Business Data -
The BDC Service application failed due to a SQL Exception: SQLServer host ums1spd1v. The error returned was: 'A transport-level error has occurred when sending the request to
the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)'
The SharePoint logs have errors during the same time period saying the same kinds of things: Sql exception raw message: A transport-level error has occurred when receiving results from the server,
The specified network name is no longer available, etc.
Our network administrator has looked at the issue and cannot find any network problems.
He setup a continuous ping from the app server to the database server.
Even during the times these errors are occurring, the app server is still able to reach the database server.
However, you cannot ping the app server itself during this time.
Our database administer cannot find any SQL Server issues.
There are no errors in the event viewer or the SQL logs on the database server.
In Central Admin, we can see that one or two jobs fail with SQL errors during the times these errors take place.
It is almost always the “User Profile Service Application – User Profile Language Synchronization Job” and often the “Health Statistics Updating” or “Crawl Log Report for Search Application Search Service Application”.
These jobs run successfully at many other times during the day.
Is there a good way to tell if the database, network or SharePoint itself is the root of these problems?
The database and network guys say there are no problems in their areas, but all I can find in the SharePoint logs is that it can’t reach the database server.
Thank you for any suggestions you may have!Since these seem to happen at very specific times, I would run a NetMon trace at that window to capture what is going back and forth (or perhaps the timer service is just unable to reach the SQL server).
Trevor Seward, MCC
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Question on Transport level acknowledgment
Hi all,
I use an acknowledgment at transport level in a send step of a BPM, to send an IDoc to a R/3 system.
I have seen that when PI sends a lot of IDocs to R/3 from multiple BPMs in a short time, transport acknowledgments are not sent when R/3 receives one IDoc, but they are all sent in the same moment, after a few minutes.
Is there a way to change that and immediatly send transport acknowledgment after receiving an IDoc? Because BPMs wait a long time to continue their processes if there are a lot of them executed in the same time.
Thanks for your help,
GregHi Barry,
Thank you for your reply.
In we20, the processing is set to "Trigger Immediately".
Thx,
Greg -
RPC fault when calling a CFC from flex
Hello there,
I'm having some startup problems getting Flex and Colfusion 8
to play nice with FDS. I'm using Flexbuilder 2.0.1 and Coldfusion 8
developer edition on IIS on a windows box (XP professional).
I use a very simple test CFC in my coldfusion site with just
one function called 'getstring' which, surprise, surprise returns a
string. I want to show this string on a label in my Flex frontend
by using <mx:remoteobject>, the whole thing compiles
perfectly, I use this mxml:
<mx:RemoteObject id="TestService"
source="cfc.DataTest"
destination="ColdFusion"
concurrency="multiple"
makeObjectsBindable="true"
showBusyCursor="true">
<mx:method name="getString"
result="doResult(event.result)" fault="doFault(event.fault)"/>
</mx:RemoteObject>
but after calling the remote method I get this error back:
[RPC Fault faultString="coldfusion.xml.rpc.CFCServlet cannot
be cast to coldfusion.runtime.CFPage" faultCode="Server.Processing"
faultDetail="null"]
Which is the same type of error I get when I call a CFC
directly through the address bar in my browser, for example
http://localhost/cfc/datatest.cfc
I tried googling the error message but so far found nothing
that indicated what I'm doing wrong...
I'd really appreciate some help here, if you need more info
let me know...
thanx in advanceOk, nevermind, I figured out what I was doing wrong. I had
accidentally setup my application.cfc in a wrong way, I had set all
of the onrequest en onapplication event handlers to
access="package" instead of "public", this generated an error
ofcourse...
I'll just go bang my head against a wall for a while
now.... -
I built a simple RPC web service, deployed successfully on
Tomcat/Axis2-1.3. I tested it and it is working.
I built a "SimpleWeatherClient.mxml" that seems to send the
request to the server, receive a response, but fail to process the
result. I've attached the error message, the source code for the
client, and the WSDL. Is this a bug?
Error message:
[RPC Fault faultString="Cannot find definition for type '
http://data.pojo.sample/xsd::Weather'"
faultCode="DecodingError" faultDetail="null"]
at mx.rpc.soap::Operation/
http://www.adobe.com/2006/flex/mx/internal::processResult()
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::resultHandler()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at private::DirectHTTPMessageResponder/completeHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
at [io]Any chance you could try out a nightly build of the Flex 3
SDK Beta from Adobe Labse?
http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html
If you're using Flex 2.0.1, some fixes have been backported
to the Flex 2.0.1 branch and are also available through the night
builds on Labs:
http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html -
Sending Transport-level Secured messages to OSB
Hi all,
I'm working with OSB, I created a proxy service to expose a Business Service as HTTP, the Proxy has Transport-level security set with XACMLAuthenticator for a Role. I can test it in the test console perfectly however I don't know how to call it any other way.
I would need to call it from an SCA and from a JSP. I'd like to know how to add the credentials to the message.
Thanks,
PabloHi Pablo,
If it is a WSDL based web-service then you may use SOAPUI (http://www.soapui.org/) to test this service.
I would need to call it from an SCA May I know which type of proxy service you have created and what is the input and output type expected?
and from a JSP. I'd like to know how to add the credentials to the message.http://blogs.oracle.com/mneelapu/2010/09/how_to_serve_html_through_osb.html
Quite a similar implementation could be done to call it from a JSP.
Regards,
Anuj -
Transport level - Basic Authentication
Hi,
How do we set transport level basic authentication credentials (username, password) after creating a webservice proxy project. I tried the requestContext, and I think it should be somewhere else, as the service provider is using transport level basic authentication.
Any help or direction is appreciated.
Thank you,
VJThis worked for me. If this helps anyone-
I closed the existing application. Created a new application, and then created the web service proxy. After which, in the ServiceSoap12BindingQSPortClient commented out the
existing setPortCredentialProviderList(requestContext), and have added the following:
reqContext.put(BindingProvider.USERNAME_PROPERTY,"user");
reqContext.put(BindingProvider.PASSWORD_PROPERTY,"password");
reqContext would be - Map<String, Object> reqContext = ((BindingProvider) sersServiceV3PortType).getRequestContext();, which is generated already.
I would be using this standalone project as a component.
Thanks,
VJ
Edited by: VJ on Jul 27, 2011 9:08 AM -
I've got a very complex ~9k lines of code front and back end
that I've been developing over the past two months. I've done all
of my development work using Firefox, and today when I went to show
the client - guess what!
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 200"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\dev\enterprise_gmc\framework s\mx\rpc\AbstractInvoker.as:192
at
mx.rpc::Responder/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\Responder.as:56]
at
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_gmc\frameworks\mx\rpc\AsyncRequest.as:107]
at
mx.messaging::ChannelSet/mx.messaging:ChannelSet::faultPendingSends()[C:\dev\enterprise_g mc\frameworks\mx\messaging\ChannelSet.as:962]
at
mx.messaging::ChannelSet/channelFaultHandler()[C:\dev\enterprise_gmc\frameworks\mx\messag ing\ChannelSet.as:710]
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.messaging::Channel/mx.messaging:Channel::connectFailed()[C:\dev\enterprise_gmc\framewo rks\mx\messaging\Channel.as:736]
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()[C:\dev\enterprise_gmc\frameworks\mx\messaging\channels\PollingChannel.as:203]
at
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()[C:\de v\enterprise_gmc\frameworks\mx\messaging\channels\AMFChannel.as:294]
This is the first time I have run as complex an application
as this in IE. The application uses a ColdFusion back end via
RemoteObject method calls. As I've stated the compiled swf's run
fine under Firefox, but I get the above error in IE.
Anyone have any thoughts?It appears from reading your error message that the file is
linked to a fixed location
Flex can't access local file system resources so you're going
to have to either supply a URL to the file or move it so it is in
the same directory as the Flex files and remove the filepath to the
file. -
Error #1009: RPC Fault - (Really strung out here!)
Did some searches on this but can't seem to find anything
definitive. I have an ASP.NET Web Service that I have test via IE
and it is working. I have FB2 and FDS, but just trying to call a
simple WebService direcly like (extracts of the code below):
============================================
<mx:WebService id="srv"
useProxy="false"
wsdl="
http://localhost/RM_Starter/Find_Patterns.asmx?wsdl"
>
<mx:operation name="ShowMyPatterns" >
<mx:request>
<param1>
param1
</param1>
<param2>
param2
</param2>
</mx:request>
</mx:operation>
</mx:WebService>
================================
And I fire off the send from a button like this. I know this
gets fired off and works and I see IIS log the GET for it:
private function initBtn():void
srv.ShowMyDayPatterns.send();
=======================================================
But when that fires I get the following error message:
[RPC Fault faultString="Error #1009: Cannot access a property
or method of a null object reference." faultCode="EncodingError"
faultDetail="null"]
at mx.rpc.soap::Operation/
http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[C:\dev\enterprise_gmc\fram eworks\mx\rpc\soap\Operation.as:582
at mx.rpc.soap::Operation/
http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()[C:\dev\enterprise_gmc\frame works\mx\rpc\soap\Operation.as:428
at
mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls()[C:\dev\enterprise_gmc\fr ameworks\mx\rpc\soap\WebService.as:861]
at mx.rpc.soap::WebService/
http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()[C:\dev\enterprise_gmc\frameworks \mx\rpc\soap\WebService.as:667
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc.soap::WSDLParser/dispatchEvent()[C:\dev\enterprise_gmc\frameworks\mx\rpc\soap\WSDL Parser.as:788]
at
mx.rpc.soap::WSDLParser/mx.rpc.soap:WSDLParser::parseCompleted()[C:\dev\enterprise_gmc\fr ameworks\mx\rpc\soap\WSDLParser.as:305]
at mx.rpc.soap::WSDLParser/
http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()[C:\dev\enterprise_gmc\fram eworks\mx\rpc\soap\WSDLParser.as:181
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
IT WASN"T THIS HARD BEFORE! Is there something in the FDS
files that have to be configured? What am I missing here?FlashPlayer 9.0.124 has increased restrictions with its
security model.
For URL based access (FlashLoader) you need the
crossdomain.xml in the server root. For socket based access you
need a socket policy file and a policy file server (assumingly).
I haven't been able to get the latter working. See my cry for
help here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1360744
Adobe has more info here:
http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
Maybe you are looking for
-
Cannot send mail from icloud from iPhone?
Since updating to iCloud I cannot send mail. I can receive. Error message says password incorrect. Using same Password on mac book works fine and I am able to send mail
-
Hello, We are thinking about implementing the BI 7.0 and publishing some reports with it in Portal. Question is should we use the BI portal or SAP EP portal? We are already having SAP EP 7.0 installed and BI portal (with BI) is also installed. For p
-
Error while Deploying & Run Webdynpro
Hi, Please look into this problem while deploying & Run the webdynpro,I developed a interactive form..and designed the form with Adobe Live cycle designer... An Error Has occured failed to process the request.. Please contact your system administarta
-
Droid 3 (if that matters...)
My Droid 3 suddenly started automatically running or offering apps which are not installed EVERY time I turn my phone on. They're usually offers for some crap and I can't continue with what I want to do until I hit No Thanks or something. If I tap on
-
When I download a graphic, photo, or PDF, I can get information about it, including size and the web address of the download, using Get info. But in Mountain Lion, after I look at a file once, this information disappears. This wasn't true of Snow Leo