Chapter 3 Service Endpoint Design
73
Parameters with
standard type
mapping
Implicit
binding
Web
Parameters without
SOAP request/
standard type
service
response
Parameter/
endpoint
Implicit
mapping
if (de)serializer
return value
registered
SOAP document
fragment
Java object
XML/Data
binding
Figure 3.3
Binding Parameters and Return Values with JAX RPC
Parameters for Web service method calls may be standard Java objects and
types, XML documents, or even nonstandard types. Whether you use the Java to 
WSDL approach or the WSDL to Java approach, each type of parameter must be
mapped to its XML equivalent in the SOAP message. Figure 3.3 shows how the
binding happens for various types of parameters.
3.4.1.3.1 Java Objects as Parameters
Parameters for Web service calls can be standard Java types and objects. If you use
the Java to WSDL approach, you specify the parameter types as part of the argu 
ments of the method calls of your Java interface. If you use the WSDL to Java
approach, you specify the parameter types as the 
type
 or 
element
 attributes of the
part
 element of each 
message
 in your WSDL. The type of a parameter that you use
has a significant effect on the portability and interoperability of your service. 
The platform supports the following Java data types. (Refer to the JAX RPC
specification at 
http://java.sun.com/xml/jaxrpc/
 for the equivalent WSDL
mappings for these Java data types.)
<





New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

 

Our web partners:  Jsp Web Hosting  Unlimited Web Hosting  Cheapest Web Hosting  Java Web Hosting  Web Templates  Best Web Templates  Web Design Templates  Interland Web Hosting  Cheap Web Hosting  Filemaker Web Hosting  Tomcat Web Hosting  Quality Web Hosting  Best Web Hosting  Mac Web Hosting

 
 

Virtualwebstudio. Business web hosting division of Vision Web Hosting Inc. All rights reserved

Web Hosting Apache