Author: rineholt
Date: Mon Oct 2 09:09:42 2006
New Revision: 452103
URL: http://svn.apache.org/viewvc?view=rev&rev=452103
Log:
skirt around wire connection seems to have an issue with generics and arrays.
use inteface wsdl .. some how it work
Modified:
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteService.java
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteServiceImpl.java
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
incubator/tuscany/java/sampleapps/bigbank/account/src/main/resources/wsdl/AccountService.wsdl
incubator/tuscany/java/sampleapps/bigbank/account/src/main/webapp/WEB-INF/default.scdl
Modified:
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteService.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteService.java?view=diff&rev=452103&r1=452102&r2=452103
==============================================================================
---
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteService.java
(original)
+++
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteService.java
Mon Oct 2 09:09:42 2006
@@ -21,14 +21,12 @@
import java.rmi.RemoteException;
import java.util.Map;
-import org.apache.tuscany.api.annotation.DataType;
-
/**
* This is the business interface of the HelloWorld service component.
*/
//@DataType(name="commonj.sdo.DataObject")
public interface StockQuoteService {
- public Map<String, StockQuote> getQuotes(String[] symbols) throws
RemoteException;
+ public Map getQuotes(String[] symbols) throws RemoteException;
}
Modified:
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteServiceImpl.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteServiceImpl.java?view=diff&rev=452103&r1=452102&r2=452103
==============================================================================
---
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteServiceImpl.java
(original)
+++
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteServiceImpl.java
Mon Oct 2 09:09:42 2006
@@ -31,7 +31,7 @@
static Hashtable<String, StockQuote> stocks = new Hashtable<String,
StockQuote>();
- public synchronized Map<String, StockQuote> getQuotes(String[] symbols)
throws RemoteException {
+ public synchronized Map getQuotes(String[] symbols) throws RemoteException
{
Map<String, StockQuote> ret = new Hashtable<String, StockQuote>();
for (String sym : symbols) {
sym = sym.toUpperCase();
Modified:
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java?view=diff&rev=452103&r1=452102&r2=452103
==============================================================================
---
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
(original)
+++
incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/stockquote/StockQuoteWebservicexServiceImpl.java
Mon Oct 2 09:09:42 2006
@@ -50,7 +50,7 @@
* @throws RemoteException
* @see
bigbank.account.services.stockquote.StockQuoteService#getQuotes(String[])
*/
- public Map<String, StockQuote> getQuotes(final String[] symbols) throws
RemoteException {
+ public Map getQuotes(final String[] symbols) throws RemoteException {
try {
assert null != stockQuoteService : "stockQuoteService was not set
by the SCA runtime!";
StringBuilder sb = new StringBuilder(5 * symbols.length);
Modified:
incubator/tuscany/java/sampleapps/bigbank/account/src/main/resources/wsdl/AccountService.wsdl
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/account/src/main/resources/wsdl/AccountService.wsdl?view=diff&rev=452103&r1=452102&r2=452103
==============================================================================
---
incubator/tuscany/java/sampleapps/bigbank/account/src/main/resources/wsdl/AccountService.wsdl
(original)
+++
incubator/tuscany/java/sampleapps/bigbank/account/src/main/resources/wsdl/AccountService.wsdl
Mon Oct 2 09:09:42 2006
@@ -76,7 +76,7 @@
</xsd:complexType>
<xsd:complexType name="StockSummary">
- <xsd:attribute name="id" type="xsd:int" />
+ <!-- xsd:attribute name="id" type="xsd:int" / -->
<xsd:attribute name="purchaseLotNumber"
type="xsd:int" />
<!-- unique id for this purchase -->
<xsd:attribute name="symbol" type="xsd:string"
/>
Modified:
incubator/tuscany/java/sampleapps/bigbank/account/src/main/webapp/WEB-INF/default.scdl
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/account/src/main/webapp/WEB-INF/default.scdl?view=diff&rev=452103&r1=452102&r2=452103
==============================================================================
---
incubator/tuscany/java/sampleapps/bigbank/account/src/main/webapp/WEB-INF/default.scdl
(original)
+++
incubator/tuscany/java/sampleapps/bigbank/account/src/main/webapp/WEB-INF/default.scdl
Mon Oct 2 09:09:42 2006
@@ -23,8 +23,9 @@
<service name="AccountService">
- <!-- interface.wsdl
interface="http://soapinterop.org/#wsdl.interface(DocTestPortType)"/ -->
- <interface.java interface="com.bigbank.account.AccountService"/>
+ <!-- interface.java interface="com.bigbank.account.AccountService"/-->
+ <interface.wsdl
interface="http://www.bigbank.com/account#wsdl.interface(AccountService)"
wsdli:wsdlLocation="http://www.bigbank.com/account wsdl/AccountService.wsdl" />
+
<binding.ws
endpoint="http://www.bigbank.com/account#wsdl.endpoint(AccountService/AccountServiceSOAP)"
conformanceURIs="http://ws-i.org/profiles/basic/1.1"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]