Getting an "Unable to load WSDL" error - asp.net

I'm getting this error when I try to load the WSDL for my Asp.Net WebService.
faultCode "Server.Error.Request"
faultDetail "Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://myurl/web/Service.asmx?WSDL)"
faultString "HTTP request error"
here is the code:
service = new WebService();
service.addEventListener("fault", onServiceFault);
service.addEventListener(LoadEvent.LOAD, onWSDLLoaded);
service.loadWSDL(url);
I've done a ton of googling and found several possible solutions but it does not appear to be any of them. I'll go through what I've tried.
I can open the link in a browser IE and FF.
There's no user signed certificate required
My crossdomain is setup correctly
Here's the really interesting part, it works if I compile and run with Flex SDK 3.2 but I was trying to integrate AIR 2.5 for some features that are required and so I updated to Flex 3.5 w/ AIR 2.5 on top. If I build with this SDK it does not work.
I've used an HTTP traffic montior(Fiddler) to looked at the requests and noticed that with the 3.5 SDK it does not ever send out the request. So it must be something in the flex side, because it's obviously never getting to my service.
Does anyone have any other suggestions on what to try or is anyone else having this problem?

I'm having the exact same problem with Flex 4.0/AIR 2.5 when the .air is installed on a Windows OS. On Mac OS it works perfectly fine. When running/debugging from code, it works perfectly fine. The code is set up to do a .loadWSDL() on a webservice that is behind a valid SSL certificate.
Downgrading to AIR 2.0 fixes it.
Any suggestions here would be great. Thanks to the original poster for articulating this problem.
UPDATE: Turns out it's an AIR 2.5 problem with setting the Flex Framework files to be RSLs. I have helped Adobe track it down and they have recreated it now: http://forums.adobe.com/message/3345972#3345972

Related

ERROR ITMS-9000: “No architectures in the binary"

I am getting an error trying to upload an app to the iOS store.
The application was developed using FlashBuilder 4.7 and Flex 13.0.
ERROR ITMS-9000: “No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.” At SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
Does anyone have any ideas as to what this error is? Any help would be appreciated.
Thanks.
Try to fix your application.xml:
<iPhone>
<InfoAdditions><![CDATA[...
<key>MinimumOSVersion</key>
<string>6.0</string>
]]></InfoAdditions>
I found solution of my question after lots of try. After updating an air sdk still I got this issue.
Solution of this issue is simple.
We don't need to use any digit in app Id.
for example:
App was not submitteds app id contains digit like com.adobe.sample.7th
then I created new app having app id like com.adobe.sample.seventh and I was able to submit this app to store.

Error 2032 in Chrome using pepflashplayer.dll

I have a flex application that worked just swell until chrome got a new player: 21.0.1180.83\PepperFlash\pepflashplayer.dll
The application must break when it loads parameters from the xml file. It hangs displaying the loader of the application and on the bottom is the "Error #2032" msg.
Application still works on my localhost and in onther browser but not on the production server (IIS7). This unfortunately also means its a bit harder to debug...
Some suspicions of what might be wrong:
If I disable the pepflashplayer it works again in chrome (on the old player) so I am confident its related to the player.
Could it be related to a crossdomain file? I only have the crosdomain.xml file on the subdomain (where the parameters.xml resides)
Could it be related to mimo type set in IIS for the xml
I also connect to web services. Additionally its a problem as it is http to https call. Could this be the issue.
Ok I solved it. The problem was in an old .actionscriptproperties autogenerated file that included a lot of obsolete references to various crossdomain.xml.
Seems this do not get cleaned on project clean, so a fresh import of the project was needed which fixed the #2032 error.
Hope this helps someone.

Problem in using Ocean's Browsercaps in ASP.NET app to detect spiders

while studying a way of properly detecting crawlers on our ASP.NET application, I came across Owen Brady's broswercaps project.
In order to use it, I did this:
Created App_Browsers folder
Created Spiders folder in the above
Downloaded [OceanSpiders.browser.xml][2] and renamed it to OceanSpiders.browser
so, the final final looking like App_Browsers/Spiders/OceanSpiders.browser
I do have NET Framework 4 installed on my dev machine, but targeting NET Framework 3.5
The problem is a parser error: 'The browser or gateway element with ID 'docomon505i' cannot be found.'
I did google/search on SO, but could not find a solution, hence my reason for posting.
Thank you for any suggestions.
It sounds like the web server is running against 4.0 run time and not the 3.5 run time, as it is reading the new Browser files which do not have docomon505i definition in them.

404 Error using Flash Builder 4 BlazeDS wizard

My issue this time around is trying to use the new DCD BlazeDS wizard in Flash Builder 4. If I set my project up as a combined Java/Flex app I am unable to connect to the RDS servlet using the wizard. I get a 404 error every time.
I'm certain the service is set up correctly since my app can access the exposed java classes and BlazeMonster can see the exposed services.
Is anyone else having this issue and if so has anyone found a work-around? I'd very much like to use the code generation features of the wizard for my project.
Thanks as always,
Codeflayer
You also need to make sure you have the RDSDispatchServlet setup in the web.xml config file.

Config transformations and “TransformXml task failed” error message

I’ve just enabled config transformations on a .NET 3.5 project in VS2010 RC after watching Scott Hanselman’s video on web deployment. Unfortunately every time I go to publish I now get the following error:
The "TransformXml" task failed
unexpectedly.
System.UriFormatException: Invalid
URI: The URI is empty. at
System.Uri.CreateThis(String uri,
Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at
Microsoft.Web.Publishing.Tasks.TransformXml.Execute()
at
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at
Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
taskExecutionHost, TaskLoggingContext
taskLoggingContext, TaskHost taskHost,
ItemBucket bucket, TaskExecutionMode
howToExecuteTask, Boolean& taskResult)
If I take a brand new VS2010 web application which already has the config transformations by default I don’t have a problem so I suspect my issue is project related. Has anyone come across this before or have any ideas on a fix?
Looks like the answer was simple yet obscure; I had an app setting (a password), which contained a ">" symbol. I tried converting the app to .NET 4 then back to .NET 3.5 and everything ran fine as during the process the symbol had been escaped to ">". Never had a problem with this character until config transformations came along but at least the fix is now simple.
Edit: blogged about in a bit more detail: Visual Studio 2010 Config Transformations TransformXml task failure
FYI: my project was already targeting .NET 4.0, so I switched it to 3.5 and then back to 4.0 and it works that way as well.

Resources