Home > Ask the SOA Experts > SOA governance and standards Questions & Answers > Specifying the type inside an apachesoap:Vector type
Ask The SOA Expert: Questions & Answers
EMAIL THIS

Specifying the type inside an apachesoap:Vector type

Anne Thomas Manes EXPERT RESPONSE FROM: Anne Thomas Manes

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 01 March 2004
How do you specify the type inside an apachesoap:Vector type? I have a complex type with sub-elements inside a Vector and don't know how to express this in WSDL.

I have a work-around for the problem:
I specify a dummy field of the type I want inside the vector somewhere else in the WSDL; this way that class is generated in Java and the de-serialization also works fine. However, I would like to know the right way to do this.

>
First and foremost -- don't expose Java collections through your WSDL interface. Turn that Vector into an array. Your WSDL interface should consist only of simple types, structures of simple types and arrays of simple types and/or structures of simple types.

Second -- if you insist on exposing collections through your interface, then your work-around (creating a dummy type to generate the serializer) is the right way to go. But be aware that you will encounter lots of interoperability issues.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
SOAP (Simple Object Access Protocol)
On the road to SOA – Part 1, Boubez on early insights
Progress/Actional SOA diagnostic tool builds on Mindreef purchase
InterSystems Ensemble environment adds binary SOAP messaging
User combines open source ESB with data services to speed customer reports
WSDLs get a report card
Simple Object Access Protocol (SOAP) Tutorial
Web services for Windows CE
SOA for pets uses REST and SOAP
Netrics uses SOAP to clean data
Mindreef updates SOA testing tools
SOAP (Simple Object Access Protocol) Research

SOA governance and standards
UDDI clients and UDDI implementations
Creating an enterprise data dictionary
Hard vs. live real time systems
Service contract tools
Open source UDDI tools
SOA policy management
Service reuse rules
WSDM lagging behind WS-Management
The status of JBI
WSDL 1.1 vs. WSDL 2.0

Apache Web services
CXF open source framework merges SOAP toolkit with Celtix ESB
SOA for pets uses REST and SOAP
More coders feeling Groovy
SpringSource buys Covalent
Sun acquiring MySQL
IBM says it's sticking by Geronimo
Geronimo's days numbered?
Apache Wicket with Ajax updates
When choice is Ajax or Flex
Apache releases open source ESB

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
DIME  (SearchSOA.com)
endpoint reference  (SearchSOA.com)
SOAP  (SearchSOA.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SOA Governance White Papers - BPM, EDA, IT Governance
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2001 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts