473,473 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Unmanaged C++ .NET client / Axis web server / 2-D array

When calling a webmethod that returns a struct that has a 2-D array the
webmethod outputs the following error message:

ATLSOAP: CSoapRootHandler::GetElementEntry -- duplicate element was sent.

Any ideas on what I should do to fix the error?
(See below for the WSDL.)

Thanks!

Chris

--------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:intf="http://ws.attedit.riag.com"
xmlns:impl="http://ws.attedit.riag.com"
targetNamespace="http://ws.attedit.riag.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" targetNamespace="http://ws.attedit.riag.com">
<xsd:element name="key" type="xsd:string" />
<xsd:element name="attributeId" type="xsd:string" />
<xsd:complexType name="ColumnNameStringArray">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="columnName"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RowStringArray">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="columnData"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TableData">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="row"
type="impl:RowStringArray" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AttributeEditorRecordSet">
<xsd:sequence>
<xsd:element name="columnCount" type="xsd:int" />
<xsd:element name="columnNames" type="impl:ColumnNameStringArray" />
<xsd:element name="rowCount" type="xsd:int" />
<xsd:element name="rowData" type="impl:TableData" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getDependencyRecordsResponse"
type="impl:AttributeEditorRecordSet" />
<xsd:element name="input" type="xsd:string" />
<xsd:element name="output" type="xsd:string" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="getDependencyRecordsRequest">
<wsdl:part name="key" element="impl:key" />
<wsdl:part name="attributeId" element="impl:attributeId" />
</wsdl:message>
<wsdl:message name="testStringResponse">
<wsdl:part name="output" element="impl:output" />
</wsdl:message>
<wsdl:message name="testStringRequest">
<wsdl:part name="input" element="impl:input" />
</wsdl:message>
<wsdl:message name="getDependencyRecordsResponse">
<wsdl:part name="getDependencyRecordsResponse"
element="impl:getDependencyRecordsResponse" />
</wsdl:message>
<wsdl:portType name="AttributeEditorWebService">
<wsdl:operation name="getDependencyRecords" parameterOrder="key
attributeId">
<wsdl:input name="getDependencyRecordsRequest"
message="impl:getDependencyRecordsRequest" />
<wsdl:output name="getDependencyRecordsResponse"
message="impl:getDependencyRecordsResponse" />
</wsdl:operation>
<wsdl:operation name="testString" parameterOrder="input">
<wsdl:input name="testStringRequest" message="impl:testStringRequest" />
<wsdl:output name="testStringResponse"
message="impl:testStringResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AttributeEditorWebServiceSOAPSoapBinding"
type="impl:AttributeEditorWebService">
<wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getDependencyRecords">
<wsdlsoap:operation
soapAction="http://ws.attedit.riag.com/AttributeEditorWebService/getDependencyRecords" />
<wsdl:input name="getDependencyRecordsRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getDependencyRecordsResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="testString">
<wsdlsoap:operation soapAction="http://ws.attedit.riag.com/testString"
/>
<wsdl:input name="testStringRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="testStringResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AttributeEditorWebService">
<wsdl:port name="AttributeEditorWebServiceSOAP"
binding="impl:AttributeEditorWebServiceSOAPSoapBin ding">
<wsdlsoap:address
location="http://nyc-opusweb-xp.tlr.thomson.com:8080/AttributeEditorWebService/services/AttributeEditorWebServiceSOAP" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Dec 16 '05 #1
1 1691
Can anyone shed any light on this error? Or, how about how we can go about
passing a struct back from an Axis web service that has a 2-D array within it
back to a C++/MFC client application.
"cyourch" wrote:
When calling a webmethod that returns a struct that has a 2-D array the
webmethod outputs the following error message:

ATLSOAP: CSoapRootHandler::GetElementEntry -- duplicate element was sent.

Any ideas on what I should do to fix the error?
(See below for the WSDL.)

Thanks!

Chris

--------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:intf="http://ws.attedit.riag.com"
xmlns:impl="http://ws.attedit.riag.com"
targetNamespace="http://ws.attedit.riag.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" targetNamespace="http://ws.attedit.riag.com">
<xsd:element name="key" type="xsd:string" />
<xsd:element name="attributeId" type="xsd:string" />
<xsd:complexType name="ColumnNameStringArray">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="columnName"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RowStringArray">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="columnData"
type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TableData">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="row"
type="impl:RowStringArray" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AttributeEditorRecordSet">
<xsd:sequence>
<xsd:element name="columnCount" type="xsd:int" />
<xsd:element name="columnNames" type="impl:ColumnNameStringArray" />
<xsd:element name="rowCount" type="xsd:int" />
<xsd:element name="rowData" type="impl:TableData" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getDependencyRecordsResponse"
type="impl:AttributeEditorRecordSet" />
<xsd:element name="input" type="xsd:string" />
<xsd:element name="output" type="xsd:string" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="getDependencyRecordsRequest">
<wsdl:part name="key" element="impl:key" />
<wsdl:part name="attributeId" element="impl:attributeId" />
</wsdl:message>
<wsdl:message name="testStringResponse">
<wsdl:part name="output" element="impl:output" />
</wsdl:message>
<wsdl:message name="testStringRequest">
<wsdl:part name="input" element="impl:input" />
</wsdl:message>
<wsdl:message name="getDependencyRecordsResponse">
<wsdl:part name="getDependencyRecordsResponse"
element="impl:getDependencyRecordsResponse" />
</wsdl:message>
<wsdl:portType name="AttributeEditorWebService">
<wsdl:operation name="getDependencyRecords" parameterOrder="key
attributeId">
<wsdl:input name="getDependencyRecordsRequest"
message="impl:getDependencyRecordsRequest" />
<wsdl:output name="getDependencyRecordsResponse"
message="impl:getDependencyRecordsResponse" />
</wsdl:operation>
<wsdl:operation name="testString" parameterOrder="input">
<wsdl:input name="testStringRequest" message="impl:testStringRequest" />
<wsdl:output name="testStringResponse"
message="impl:testStringResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AttributeEditorWebServiceSOAPSoapBinding"
type="impl:AttributeEditorWebService">
<wsdlsoap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="getDependencyRecords">
<wsdlsoap:operation
soapAction="http://ws.attedit.riag.com/AttributeEditorWebService/getDependencyRecords" />
<wsdl:input name="getDependencyRecordsRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="getDependencyRecordsResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="testString">
<wsdlsoap:operation soapAction="http://ws.attedit.riag.com/testString"
/>
<wsdl:input name="testStringRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="testStringResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AttributeEditorWebService">
<wsdl:port name="AttributeEditorWebServiceSOAP"
binding="impl:AttributeEditorWebServiceSOAPSoapBin ding">
<wsdlsoap:address
location="http://nyc-opusweb-xp.tlr.thomson.com:8080/AttributeEditorWebService/services/AttributeEditorWebServiceSOAP" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Dec 20 '05 #2

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

Similar topics

0
by: Anand Natrajan | last post by:
Hi! I have a VB .NET client that is accessing an rpc/encoded service deployed in Axis 1.2. One of the operations, whoami, returns a string array. The server-side Java signature of this method is...
2
by: Weston Fryatt | last post by:
(Sorry for spamming multiple groups, But I need a solution to this problem) I think this should be a simple question on Memory Allocation in a managed DLL and passing a memory pointer over to an...
1
by: Falk Sippach | last post by:
Hello, I've written an Axis Webservice in Java. Everything works fine with clients in Java or .net. Now I'm trying to write a client in C++. I've downloaded the latest Axis C++ distribution. If...
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
2
by: Marco | last post by:
Hello, I am realizing an application client in VisualStudio .NET 2002 with Framework 1.1 in VisualBasic, and must communicate with a server realized in java with Apache Axis version 1.2RC2. I...
7
by: Jamie Phillips | last post by:
I'm sure this topic has been "around the block" a few times, but I have not been able to find ANY solutin that fits this particular problem. I have written a Java Axis web service that has a method...
5
by: vthakur | last post by:
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the...
0
by: karazy | last post by:
I have been reading all the forums and understand whats going wrong but am not sure how to fix it. I have written a basic doc/literal web service. But when it is called by a .net client it will...
11
by: David R | last post by:
This is a repost, with additional information. I have a Net 2.0 client (C# Winform) calling an Axis web service. The .NET client can authenticate, create requested objects, serialize the objects...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.