You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Brady Johnson <bj...@roguewave.com> on 2007/09/26 22:01:21 UTC
[SCA Native] WSDL Message Types stored incorrectly in the SDO DataFactory
I created a JIRA for this and am currently working on localizing where
the problem is.
https://issues.apache.org/jira/browse/TUSCANY-1813
Basically, it appears that the types are being stored in the SDO
DataFactory as follows (copied from Utils::printTypes() ):
URI= http://www.bigbank.com/AccountService
<http://www.bigbank.com/AccountService>
Type=http://www.bigbank.com/AccountService#getAccountReport
<http://www.bigbank.com/AccountService#getAccountReport>
Its not necessary to store the namespace for the type name.
--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com
<ma...@roguewave.com>
RE: [SCA Native] WSDL Message Types stored incorrectly in the SDO DataFactory
Posted by Brady Johnson <bj...@roguewave.com>.
I figured out the problem.
It's a matter of how DataFactory::create() is called, since the type in
question is an anonymous type.
Calling like this does not work:
DataFactory::create( "http://www.bigbank.com/AccountService",
"getAccountReport" )
But this does:
DataFactory::create( "http://www.bigbank.com/AccountService",
"http://www.bigbank.com/AccountService#getAccountReport" )
The best way to get the DataObject is like this:
const Property &prop =
XSDHelperPtr->getGlobalProperty(
"http://www.bigbank.com/AccountService", "getAccountReport", true );
DataObjectPtr sdoObj = dataFactory->create( prop.getType() );
I'll close the JIRA.
--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com
-----Original Message-----
From: Brady Johnson [mailto:bjohnson@roguewave.com]
Sent: Wednesday, September 26, 2007 2:01 PM
To: tuscany-dev@ws.apache.org
Subject: [SCA Native] WSDL Message Types stored incorrectly in the SDO
DataFactory
I created a JIRA for this and am currently working on localizing where
the problem is.
https://issues.apache.org/jira/browse/TUSCANY-1813
Basically, it appears that the types are being stored in the SDO
DataFactory as follows (copied from Utils::printTypes() ):
URI= http://www.bigbank.com/AccountService
<http://www.bigbank.com/AccountService>
Type=http://www.bigbank.com/AccountService#getAccountReport
<http://www.bigbank.com/AccountService#getAccountReport>
Its not necessary to store the namespace for the type name.
--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com
<ma...@roguewave.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org