473,507 Members | 2,504 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
ReferencedBinary 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.

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

An error occurred processing this WSDL. More information:
System.Exception: Schema Validation failed.
at ClientGen.Xsd.Compile(XmlSchemas userSchemas)
at ClientGen.Xsd.ImportSchemasAsClasses(String outputdir, ICodeGenerator
code
Gen, String fileExtension, XmlSchemas schemas, String ns, String uri, IList
elem
ents, StreamWriter writer)
at ClientGen.ClientGen.WriteSchemaClasses(ServiceDesc ription desc,
StreamWrit
er writer)
at ClientGen.ClientGen.GenerateCode(ServiceDescriptio n desc, String
outputFil
e, XmlSchemas schemas)
at ClientGen.ClientGen.GenerateCode(String descriptionFile, String
outputFile
, XmlSchemas schemas)
at ClientGen.Class1.Main(String[] arguments)

C:\Program Files\Microsoft WSE\v2.0\Tools\Wsdl>
<xsd:schema elementFormDefault="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:complexType name="ReferencedBinary">
<xsd:simpleContent>
<xsd:restriction base="xsd:base64Binary">
<xsd:annotation>
<xsd:appinfo>
<content:mediaType
value="application/octetstream"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:attribute ref="ref:location" use="optional"/>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>
Nov 12 '05 #1
1 3540
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
ReferencedBinary 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.

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

An error occurred processing this WSDL. More information:
System.Exception: Schema Validation failed.
at ClientGen.Xsd.Compile(XmlSchemas userSchemas)
at ClientGen.Xsd.ImportSchemasAsClasses(String outputdir, ICodeGenerator
code
Gen, String fileExtension, XmlSchemas schemas, String ns, String uri, IList
elem
ents, StreamWriter writer)
at ClientGen.ClientGen.WriteSchemaClasses(ServiceDesc ription desc,
StreamWrit
er writer)
at ClientGen.ClientGen.GenerateCode(ServiceDescriptio n desc, String
outputFil
e, XmlSchemas schemas)
at ClientGen.ClientGen.GenerateCode(String descriptionFile, String
outputFile
, XmlSchemas schemas)
at ClientGen.Class1.Main(String[] arguments)

C:\Program Files\Microsoft WSE\v2.0\Tools\Wsdl>
<xsd:schema elementFormDefault="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:complexType name="ReferencedBinary">
<xsd:simpleContent>
<xsd:restriction base="xsd:base64Binary">
<xsd:annotation>
<xsd:appinfo>
<content:mediaType
value="application/octetstream"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:attribute ref="ref:location" use="optional"/>
</xsd:restriction>
</xsd:simpleContent>
</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
1091
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,...
0
1063
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...
3
988
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...
4
1535
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
1347
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: ...
0
1044
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...
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...
1
2225
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...
2
1395
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. ...
0
7223
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,...
1
7030
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...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5041
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...
0
4702
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...
0
3191
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...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
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...

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.