473,830 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Amazon Web Service Merchant Integration

I'm having a problem with generating a proxy class for the Amazon Web Service
for Merchant Integration.

Per their instructions I installed WSE 2.0 and referenced the dime version
of their web service.

Using VS 2003 I end up with a missing location property for their
ReferencedBinar y object.

When I use the command line tool wsewsdl2.exe I get the following message.
The section of xml that seems to be causing the problem is below the error
message.

C:\Program Files\Microsoft WSE\v2.0\Tools\ Wsdl>wsewsdl2
merchant-interface-dime.
wsdl test.cs CS
Microsoft (R) WSDL to SoapClient Utility
[Microsoft (R) Web Services Enhancements, Version 2.0]
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

SchemaValidatio n Warning! Details: Namespace
'http://schemas.xmlsoap .org/ws/2002
/04/reference/' is not available to be referenced in this schema.
SchemaValidatio n Error! Details: Undefined complexType
'http://www.w3.org/2001/X
MLSchema:base64 Binary' is used as a base for complex type restriction".

An error occurred processing this WSDL. More information:
System.Exceptio n: Schema Validation failed.
at ClientGen.Xsd.C ompile(XmlSchem as userSchemas)
at ClientGen.Xsd.I mportSchemasAsC lasses(String outputdir, ICodeGenerator
code
Gen, String fileExtension, XmlSchemas schemas, String ns, String uri, IList
elem
ents, StreamWriter writer)
at ClientGen.Clien tGen.WriteSchem aClasses(Servic eDescription desc,
StreamWrit
er writer)
at ClientGen.Clien tGen.GenerateCo de(ServiceDescr iption desc, String
outputFil
e, XmlSchemas schemas)
at ClientGen.Clien tGen.GenerateCo de(String descriptionFile , String
outputFile
, XmlSchemas schemas)
at ClientGen.Class 1.Main(String[] arguments)

C:\Program Files\Microsoft WSE\v2.0\Tools\ Wsdl>
<xsd:schema elementFormDefa ult="qualified"
targetNamespace ="http://systinet.com/attachments"
xmlns:content=" http://schemas.xmlsoap .org/ws/2002/04/content-type/"
xmlns:ref="http ://schemas.xmlsoap .org/ws/2002/04/reference/"
xmlns:tns="http ://systinet.com/attachments">
<xsd:complexTyp e name="Reference dBinary">
<xsd:simpleCont ent>
<xsd:restrictio n base="xsd:base6 4Binary">
<xsd:annotation >
<xsd:appinfo>
<content:mediaT ype
value="applicat ion/octetstream"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:attribut e ref="ref:locati on" use="optional"/>
</xsd:restriction >
</xsd:simpleConte nt>
</xsd:complexType >
</xsd:schema>
Nov 12 '05 #1
1 3555
I finally got a response from Amazon. They had posted the wrong wsdl on there
help system.

"David Specht" wrote:
I'm having a problem with generating a proxy class for the Amazon Web Service
for Merchant Integration.

Per their instructions I installed WSE 2.0 and referenced the dime version
of their web service.

Using VS 2003 I end up with a missing location property for their
ReferencedBinar y object.

When I use the command line tool wsewsdl2.exe I get the following message.
The section of xml that seems to be causing the problem is below the error
message.

C:\Program Files\Microsoft WSE\v2.0\Tools\ Wsdl>wsewsdl2
merchant-interface-dime.
wsdl test.cs CS
Microsoft (R) WSDL to SoapClient Utility
[Microsoft (R) Web Services Enhancements, Version 2.0]
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

SchemaValidatio n Warning! Details: Namespace
'http://schemas.xmlsoap .org/ws/2002
/04/reference/' is not available to be referenced in this schema.
SchemaValidatio n Error! Details: Undefined complexType
'http://www.w3.org/2001/X
MLSchema:base64 Binary' is used as a base for complex type restriction".

An error occurred processing this WSDL. More information:
System.Exceptio n: Schema Validation failed.
at ClientGen.Xsd.C ompile(XmlSchem as userSchemas)
at ClientGen.Xsd.I mportSchemasAsC lasses(String outputdir, ICodeGenerator
code
Gen, String fileExtension, XmlSchemas schemas, String ns, String uri, IList
elem
ents, StreamWriter writer)
at ClientGen.Clien tGen.WriteSchem aClasses(Servic eDescription desc,
StreamWrit
er writer)
at ClientGen.Clien tGen.GenerateCo de(ServiceDescr iption desc, String
outputFil
e, XmlSchemas schemas)
at ClientGen.Clien tGen.GenerateCo de(String descriptionFile , String
outputFile
, XmlSchemas schemas)
at ClientGen.Class 1.Main(String[] arguments)

C:\Program Files\Microsoft WSE\v2.0\Tools\ Wsdl>
<xsd:schema elementFormDefa ult="qualified"
targetNamespace ="http://systinet.com/attachments"
xmlns:content=" http://schemas.xmlsoap .org/ws/2002/04/content-type/"
xmlns:ref="http ://schemas.xmlsoap .org/ws/2002/04/reference/"
xmlns:tns="http ://systinet.com/attachments">
<xsd:complexTyp e name="Reference dBinary">
<xsd:simpleCont ent>
<xsd:restrictio n base="xsd:base6 4Binary">
<xsd:annotation >
<xsd:appinfo>
<content:mediaT ype
value="applicat ion/octetstream"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:attribut e ref="ref:locati on" use="optional"/>
</xsd:restriction >
</xsd:simpleConte nt>
</xsd:complexType >
</xsd:schema>

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1110
by: melledge | last post by:
Amazon and Yahoo join illustrious line-up at XML 2005; Over 30 new sessions added XML 2005 http://2005.xmlconference.org/ The Reliable Source for Everything XML Atlanta Hilton Hotel, Atlanta, GA - Reservation Deadline October 21
0
1082
by: Chip Switzer | last post by:
Hi, I'm currently using Versign PayFlow and Nova as the merchant account. I don't recommend either. I'm upgrading the site to .NET and would like to find a slick .NET interface to a transaction processor. I've heard authorize.net is good. How about merchant accounts? Anybody using one they like? Fees are hugely important, as well as ease of doing business. Chip
3
1003
by: Mark | last post by:
Any thoughts on a reliable, easy to use credit card processing company? I'm new to ecommerce and am trying to set up a small store. Can I use a web service to do this? I already have the cart code finished. Thanks, Mark
4
1574
by: Joe | last post by:
We're just starting up a site and would like to add CC processing to it. Are there any recommendations on an inexpensive merchant account (whose also trust worthy)?
16
1380
by: John A. Bailo | last post by:
I was pricing VS.NET Professional 2005 upgrade and found a good price on Amazon -- but then I read the customer reviews and they were terrible: http://www.amazon.com/exec/obidos/ASIN/B000BT8TRG/ref%3Dpd%5Fkar%5F3/103-1460775-6910259 For example: "Lots of nifty features, but unfortunately it needs a few more months of development before it will really be stable. "
0
1057
by: Radi Radichev | last post by:
Hi! I want to use the amazon ecs 4.0 webservice in an movie database application. Ich signed up and looked at the documentations but i can't understand how exactly to do the searches in the amazon database... Does anyone have expirience with the webservice? can you help? i tryed to access the previous version of the service 3.0 and it worked very well. Thanks!
4
323
by: =?Utf-8?B?aGlsZXlq?= | last post by:
Hi, I'm developing a web service that needs to communicate with a custom application on an intranet. There is also a configuration utility which may be run on a different server machine for setting up and altering parameters on the service. This configuration web application may be browsed to via intranet or internet. This is the first work I've done with web services, so sorry for any incorrect terminology or nonsense statements.
1
2246
by: codexxx | last post by:
Hi All, We have setup an Amazon webstore and we anticipate uploading 10,000+ products, and therefore to avoid unnecessary manual labor we wish to automate as much of the process of adding and managing products as possible. The automation process that we have in mind will require some manner of cross scripting. We currently have a database of our products and we are able to upload products to Amazon with no problems. Our database of...
2
1408
anantatbytes
by: anantatbytes | last post by:
hi forum, i m using webservice of amazon to update my product list using xml file. but the wsdl link which is provide is not having all the classes and method. Therefore create a havoc for me. can you please help me or guide me to upload the xml file for the same. i am using following link for wsdl http://sellercentral.amazon.com/help/merchant_documents/WSDL/merchant-interface-dime-dotnet.wsdl
0
9781
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10477
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7740
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6944
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5615
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5777
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4408
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3072
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.