Go Back   TechArena Community > Hardware > Portable Devices
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 30-10-2011
Member
 
Join Date: Oct 2011
Posts: 89
windows phone referring Amazon web service

I’m developing a model application in which I’m referring to Amazon web service to look for results from Amazon site. Im receiving the fault.This sort of 'System.ServiceModel.XmlSerializerFormatAttribute' exists in both 'C:\Program Files (x86)\ReferenceAssemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\System.ServiceMo del.dll' in addition to
.Xml.Serialization.dll'
After getting this I do not understand the concept and can’t proceed further.
Reply With Quote
  #2  
Old 30-10-2011
Member
 
Join Date: Jul 2011
Posts: 1,463
Re: windows phone referring Amazon web service

I should first of all Thanks for your inputs presentation.
The files are not automatically generated other than provided by Amazon. I tried out a new method which requires signing the demand for URL. This is done by transferring the request by means of SignURL in a class SignedRequestHelper is provided by Amazon. I faced the same type of issues with this approach. Then I altered the code which was not well-suited with the WP7 task in the SignedRequestHelper class provided by Amazon. At this instance it?s operating very well I at last found a method to create it work.expect no further issue comes.
Reply With Quote
  #3  
Old 30-10-2011
Member
 
Join Date: May 2011
Posts: 1,721
Re: windows phone referring Amazon web service

It seems that the element exists in two dissimilar namespaces. You require meeting the criteria of the two references you desire to employ. Moreover make use of a "using" declaration or explicitly state your case to the right namespace.
Reply With Quote
  #4  
Old 30-10-2011
Member
 
Join Date: Aug 2011
Posts: 2,175
Re: windows phone referring Amazon web service

Unluckily I am on site at a user and I do not contain access to my Phone 7 stuff. Right off the bat, though, I see a key matter. But if I am not incorrect, you are treating this application like a normal application. Single thing to be conscious of when mounting Phone 7 is that applications are either Silver light or XNA applications. It seems you are making an attempt to build up a console application. I am in no doubt this will not work in Phone 7.The next thing to take reminder of this is that not all essentials of the complete framework are accessible on the phone. You require creating a code you are using from the Amazon samples. Do not reference components that do not exist on the phone. I would recommend starting from a latest silver light application template and start adding in the code to access the Amazon service bit by making definite i compilation along the method. After you get to a bit of code that no longer compiles you should determine the statistics. Hope you got to my point
Reply With Quote
  #5  
Old 30-10-2011
Member
 
Join Date: Oct 2011
Posts: 665
Re: windows phone referring Amazon web service

Following you and after understanding, I also noticed some of the errors I?m receiving
1. 'object' does not hold a definition for 'BeginInvoke'
2. The name of the namespace 'IHttpCookieContainerManager' does not include in the namespace 'System.ServiceModel.Channels'
3. some sort of 'System.ServiceModel.XmlSerializerFormatAttribute' exists in both 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile \WindowsPhone\System.Xml.Serialization.dll' and
'C:\Program Files (x86)\ReferenceAssemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone \System.Servicemodel.dll'
4. The name of the namespace 'XmlDictionaryWriter' not found.
Reply With Quote
  #6  
Old 30-10-2011
Member
 
Join Date: Jul 2011
Posts: 1,787
Re: windows phone referring Amazon web service

Try to import the Amazon Web service Reference within a most recent Silver light (3) project? Tell me the results. You have indication errors concerning some stuff from Silver light 4. That looks odd - because WP7 only covers Silver light 3 if I am correct. As recommended priory - I would begin from scratch with a most recent Silver light 3 app - not a WP7 app. There are a number of issues in the WP7 web service stack right at the present and you should be supposed to test your code with no added difficulties .Last time I tried to right to use the Amazon stuff I was hitting so a lot of walls it was not amusing .- but I was with Java for that. However all the signing and encryption they are doing right now.
Reply With Quote
  #7  
Old 30-10-2011
Member
 
Join Date: Jul 2011
Posts: 2,010
Re: windows phone referring Amazon web service

I have tried adding up the Amazon service on a Silver light 3 project, it is in addition throwing compile errors."IEndpointBehavior does not exist in the accurate framework. Are you omitting some assembly reference". parallel errors are thrown for IClientMessageInspecto. When I try to attach reference to the silver light 3 project of System.ServiceModel from silver light 4, it is not accommodating the reference add.
Reply With Quote
  #8  
Old 30-10-2011
Member
 
Join Date: May 2011
Posts: 1,927
Re: windows phone referring Amazon web service

I didn't have a possibility to appear at this previous. Fine, you cannot attach the Silver light 4 assemblies to a Silver light 3 project. Do you have the version for Silver light 3? As for your earlier post, there is certainly a compatibility problem involving the code you have for the Amazon services and what will run on Windows Phone 7.If you are coming across through this forum you will find a lot of postings regarding the issues with calling safe web services. I want to ask in what way you produced your files. Are they provided by Amazon or are the files that were auto created by Visual Studio when you added the Service reference to your project? You can try to make an attempt adding the Service Reference from inside your Phone 7 app; this practice will be supported by the platform. I will see if I be able to take a glance at this. Just inform about your report.
Reply With Quote
  #9  
Old 30-10-2011
Member
 
Join Date: May 2011
Posts: 1,426
Re: windows phone referring Amazon web service

I?m making use of Amazon Async Item search to obtain search outcomes from Amazon web service. This facility woks okay in a normal asp.net application but when added to a Windows phone 7 project throws compile errors. I?m making use of 3 files provided in a sample application for item search from Amazon.I am planning to write down an app for my T-Mobile Dash Windows Mobile 6.5 Standard using SOAP and Visual Studio 2005. The app will illustrate me the prices of my book list on Amazon. I can?t find out any information regarding how to get in progress.
Reply With Quote
Reply

  TechArena Community > Hardware > Portable Devices
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "windows phone referring Amazon web service"
Thread Thread Starter Forum Replies Last Post
It says Windows Live ID service is unavailable when try to update apps in Windows Phone 7 Wild Kat Portable Devices 5 26-04-2012 08:23 AM
Getting Error ? Windows Live ID service unavailable right now? in windows phone 7 Li-One Portable Devices 4 07-02-2012 08:26 PM
Error when calling existing WCF service in windows phone 7. Nakul2 Portable Devices 4 27-10-2010 01:21 AM
Referring website on Internet Daniel23 Technology & Internet 5 13-01-2010 01:44 AM


All times are GMT +5.5. The time now is 10:21 PM.