Reading complex types of a Web Service using Axis.
Hi,
I am trying to read a WSDL using AXis APIs. Lets say I use this WSDL.
http://www.dataaccess.com/webservicesserver/conversions.wso?WSDL
This contains 3 complex types and 7 simple types.
SymbolTable symbolTable = wsdlParser.getSymbolTable();
BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName());
Collection c = bEntry.getParameters().values();
Now when I read through the collection I get only 7 simple types contained in the complex types. Can I read the complex types only when they are registered. I expect this to be available because the parser is expected to read the WSDL. I get only these types.
Urgent !! So please help !!
(java.util.HashMap$Values) [
returnParam = (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, NumberToWordsResult, OUT)
faults = {}
signature = null
(inputs, inouts, outputs) = (1, 0, 1)
list = [(QName: unsignedLong
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, ubiNum, IN)],
returnParam = (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, TitleCaseWordsResult, OUT)
faults = {}
signature = null
(inputs, inouts, outputs) = (2, 0, 1)
list = [(QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, sText, IN), (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, sToken, IN)],
returnParam = (QName: string
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, NumberToDollarsResult, OUT)
faults = {}
signature = null
(inputs, inouts, outputs) = (1, 0, 1)
list = [(QName: decimal
name: null
isReferenced? true
Class: org.apache.axis.wsdl.symbolTable.BaseType
Base?: true
Undefined?: false
isSimpleType? false
Node: null
Dims:
isOnlyLiteralReferenced: false
RefType: null
, dNum, IN)]]
Hi Shiva
just check the following link
http://wiki.apache.org/ws/FrontPage/Axis/StaticDeployment
thanks & regards
Shishir Shah
Similar Messages
-
Creating a java Web Service Using Axis
I need to write a Java web Service using Axis which send a file as an DIme attachement and It should to be invoked by .NET Client .
I need to know how to attach a file to Soap response and how to read a file from the response at Client.
I am new to web Services ,,please help me......Hi
You can use a java web service to publish a Web service from a Java class.
A wizard creates the WSDL document and deployment files needed to publish your code as a Web service. After you select the class and methods you want to publish, the wizard generates deployment descriptors, a JAX-RPC mapping file, and a WSDL document that can be deployed to an application server.
You can refer : \bpel\samples\tutorials\102.InvokingProcesses\ws sample to invoke a WS using JAX-RPC Call.
Hope that helps!
Cheers
A -
Publishing pl/sql as web services using axis
Hello,
I am a newbie to web services.
I want to publish pl/sql packages as web services using axis and tomcat. Can you please tell me where to start - I will appreciate any information, links to tutorials and docs. Can you please tell me what I need to deploy and run the services.
Thank you very much in advance!
EkaHello,
The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
and you can use advanced features of JDBC and JPublisher if needed:
Simplifying Database Access
Regards
Tugdual Grall -
Web services using axis /eclipse/tomcat
Hi all
I am trying to develop web services using apache axis in Eclpise.
I got an error Unexpected element "wsdl:definitions" definitions
and even I cant get a target to specify while building.
Can some one help me out?hi,
ask scott from http://onlinecares.com about Java classes, he would be able to help you out.
Edited by: jimwar on Nov 20, 2007 4:00 AM -
Complex types returned from web services
I'm having problems getting values from a complex type from a
CFC web service. Are there any tutorials that show you how this is
done? The only tutorials I've seen have been returning simple
types.
I have tried everything I know, which is not a lot I must
admit, I'm just a beginner! *L*
Thanks in advance.I'm having problems getting values from a complex type from a
CFC web service. Are there any tutorials that show you how this is
done? The only tutorials I've seen have been returning simple
types.
I have tried everything I know, which is not a lot I must
admit, I'm just a beginner! *L*
Thanks in advance. -
How to display complex type result from web service?
Hi,
I am trying to invoke a web service with the following code
but I can't display the result. Can someone help me how to display
the result?
<cfset randomID = CreateUUID()>
<cfset today = Now()>
<cfset args = StructNew()>
<cfset args.login = "wanna">
<cfset args.key = "#DateFormat(today, 'YYYY-MM-DD')#
#TimeFormat(today, 'hh:mm:ss')#:#Left(randomID,12)#">
<cfset args.hash= LCase(Hash("123456" & args.key,
"SHA"))>
<CFINVOKE webservice="
http://sandbox.voxbone.com/ws/services/VoxService?wsdl"
METHOD="getCountriesList"
AuthenticationToken="#args#"
RETURNVARIABLE="Result">
<cfoutput>#Result#</cfoutput>I have tried using that that it display the following. I was
expecting a list of coutries but it display the following text
only. Can you guide me in displaying list of countries?
"object of
voxbone.webservices.services.containers.ArrayOfCountry"
Methods hashCode (returns int)
equals (returns boolean)
getCountry (returns
[Lvoxbone.webservices.services.containers.Country;)
getCountry (returns
voxbone.webservices.services.containers.Country)
getSerializer (returns interface
org.apache.axis.encoding.Serializer)
getDeserializer (returns interface
org.apache.axis.encoding.Deserializer)
getTypeDesc (returns org.apache.axis.description.TypeDesc)
setCountry (returns void)
setCountry (returns void)
getClass (returns java.lang.Class)
wait (returns void)
wait (returns void)
wait (returns void)
notify (returns void)
notifyAll (returns void)
toString (returns java.lang.String) -
How to pass in complex data to a web service using dynamic client
I wrote to dynamic client to access the complex example in weblogic 7.000, I would
like to know how I passed in a complex type to a dynamic client.An example of using dynamic client is attached:
regards,
-manoj
"fkeita" <[email protected]> wrote in message
news:3d051775$[email protected]..
>
I wrote to dynamic client to access the complex example in weblogic 7.000,I would
like to know how I passed in a complex type to a dynamic client.[call4.jar] -
How to get the cookie from a web service using Axis
I used the AXIS wizard to consume a WSDL and create a bunch of boiler plate code. It works great in that I can talk to the web service and submit requests.
The problem is that I need to retrieve the cookie from the login request and use it when making subsequent requests. I have been unable to find the cookie and would appreciate a point in the right direction.
Currently I'm trying something like this
String cookie = (String)((Stub)service)._getCall().getMessageContext().getProperty(HTTPConstants.HEADER_COOKIE);
Thanks in advance.Answered on my own:
Just have to use
x_result = http_client->response->get_data( ).
instead of
x_result = http_client->response->to_xstring( ).
Just don't knwo why the filesize is wrong also - but I can work with this image! -
2 way SSL in web services [using Axis]
Hi,
Can anyone tell me how to implement 2 way SSL handshake before making a web service call , using Axis.
This is what i have to start off with:
1. wsdl, which i use to create the client side files [using eclipse] do meet the business needs.
2. I also have my [client] key and cert and the servers root cert, required for SSL handshake
Thanks for the help,
SandyHi,
Do you have created a Service Key provider and attached the same to proxy service.
Oracle Service Bus verifies that you have associated a service key provider with the proxy service and that the service key provider contains a key-pair binding that can be used as a digital signature.
Service Key Providers
Regards,
Abhinav -
Consuming a web service using UTL_HTTP, Complex XML types
this is the first time i have encountered a complex type calling a web service from PLSQL. i have sucsessfully called other methods from this same web service so i know its working.
this is what i have to pass in:
<xs:complexType name="AddJobRequestStructure">
<xs:sequence>
<xs:element name="AffectedUnits" type="ro:UnitIdentificationStructureArray" />
<xs:element name="ServiceCode" type="xs:string" />
<xs:element name="RecordTypeCode" type="xs:string" />
<xs:element name="MultipleDescriptionCodes" type="ro:DescriptionSeverityStructureArray" />
</xs:sequence>
</xs:complexType>
concentraiting on the parameter "AffectedUnits" type =
<xs:complexType name="UnitIdentificationStructure">
<xs:sequence>
<xs:element name="UnitID" type="xs:string" />
<xs:element name="StreetID" type="xs:string" />
<xs:element name="UniqueStreetReferenceNumber" type="xs:string" />
<xs:element name="UnitNumber" type="xs:string" />
<xs:element name="Location" type="xs:string" />
<xs:element name="PAON" type="ro:AONstructure" />
<xs:element name="Easting" type="xs:double" />
<xs:element name="Northing" type="xs:double" />
</xs:sequence>
</xs:complexType>
for simple types i build the XML such as:
request.body := request.body||'<ServiceCode xsi:type="xs:string">'||some_value||'</ServiceCode>';
(request being a type that holds the namespace,method,body and envelope tag)
just to re-itterate, i have other web service methods (from the same web service) working this way, however im not sure where to start with this complex type, so any help would be great
Cheers.Thanks for the response, I’m not familiar with XML or web services so I appreciate the input. There is indeed an intermediate type. The web service documentation I have does state that the complex type can take multiple records, however we will only ever be passing one, it was this mention of an array that threw me, i asumed the array was the complex type - rather than there being an array of complext types for the handling of multiple records.
<xs:complexType name="UnitIdentificationStructureArray">
<xs:complexContent>
<xs:restriction base="soapenc:Array">
<xs:sequence />
<xs:attribute ref="soapenc:arrayType" n1:arrayType="ro:UnitIdentificationStructure[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/" />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
I assumed I had to pass each element of the complex type in separately and then reference this somehow in the parent, but it sound like, from what you say, I can just pass in XML containing the data in the correct structure
Could you give me a basic example of how this XML fragment might look?
Apologies for the lack of understanding - XML is failry new to me, this is as far as i have got
Cheers -
Not able to access web service with axis and tomcat
Dear all
i am trying to access web service using axis in tomcat.
i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
i had tested axis, its working fine.
i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
plz point me in right direction.
thanks in advance
The error is:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/ArithmeticProcessor.jws
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Apache Tomcat/6.0.14 - Error report</tit
le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
1><HR size="1" noshade="noshade"><p><b>
type</b> Status report</p><p><b>message</b> <u&
gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
ot available.</u></p><HR size="1" noshade="noshade
"><h3>Apache Tomcat/6.0.14</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)/axis/ArithmeticProcessor.jws
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at ArithmeticClient.main(ArithmeticClient.java:50)Hi ,
Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
www.scribd.com/doc/19255987/Web-Services-in-Abap -
Complex xml types in a web service request
Hello,
I'm a newcomer to APEX and wondered how to create complex data types in a web service reference, and how to address these fields from a page item type. I have a wsdl containing nested lists of strings and don't know how to solve this in APEX, can anyone help me?hi Jonjeao,
i too searching the steps and refrerences for my project.
i found the solution from
http://www.oracle.com/technology/products/database/application_express/pdf/Using_Oracle_Application_Express_to_Interact_with_XML-RPC_Style_Web_Services.pdf
please try your url with xml to web service.
Thanks
~Logaa
Edited by: Logaa on Apr 2, 2009 1:35 AM -
Create BCS External Content Type or a list based on a WCF Web Service using Visual Studio
Hi ,
How to create a BCS External Content Type or a list Based on a WCF Web Service using Visual Studio.
The link provided here shows the requirement through Designer. http://msdn.microsoft.com/en-us/library/office/ee556431(v=office.14).aspx but I want this to be through VS code..
Please help ..Appreciate your help..
Thanks,
SatheeshHI Sateeshlt,
You can see the below link also;
http://www.fabiangwilliams.com/2013/10/14/part-2-of-3-blog-update-on-sharepoint-bcs-with-full-crud/
Best Regards,
Brij K -
Unable to pass xmlbeans object in weblogic web services using OEPE
Migrating Weblogic web services from Weblogic Workshop 10.3 to Oracle Enterprise for Eclipse...Passing xmlbean generated types in arguments of webservice call
How to work around the following errors? I do not have this error when in workshop 10.3 only in OEPE eclipse
"oracle.eclipse.tools.webservices.compiler.CompilationException: Errors: JAX-WS web services must not have xmlBean parameter or return type"
PLease note that I want DocType to be xmlbeans generated or inherited from org.apache.xmlbeans.XmlObject....
@WebMethod
public void upload(String filename, DocType doc) {
Hi, I have legacy codes from Weblogic workshop 10.1 and 10.3.....
I am able to compile and run in Weblogic workshop 10.3 by passing the xmlbean generated DocType as arguments in the web services call.... but why am I not able to do this in Oracle Enterprise for Eclipse OEPE......
If I were to generate the web service from teh wsdl...it will generate it's own DocType.class in the jar files and not use the xmlbean generated class one....
How to get iOEPE to generate the classes in build\jws\ for
testWSService-annotation.xml
weblogic-webservices.xml etc like in workshop
How can I resolve this??? Am I stuck with Workshop on this?? How to work around??
Any help or clarifications would be much appreciated.
Inside testWS.java,
package ws;
import java.io.File;
import javax.jws.*;
import org.example.doc.DocType;
@WebService
public class testWS {
@WebMethod
public void upload(String filename, DocType doc) {
try {
doc.save(new File(filename));
catch(Exception e) {
System.out.println(e);
Inside xmlbeans generated DocType.java.....and DocTypeDocuments.java
* XML Type: DocType
* Namespace: http://www.example.org/doc
* Java type: org.example.doc.DocType
* Automatically generated - do not modify.
package org.example.doc;
* An XML DocType(@http://www.example.org/doc).
* This is a complex type.
public interface DocType extends org.apache.xmlbeans.XmlObject
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(DocType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.testWSTypeSystem").resolveHandle("doctypec217type");
* Gets the "element1" element
java.lang.String getElement1();
* Gets (as xml) the "element1" element
org.apache.xmlbeans.XmlString xgetElement1();
* Sets the "element1" element
void setElement1(java.lang.String element1);
* Sets (as xml) the "element1" element
void xsetElement1(org.apache.xmlbeans.XmlString element1);
* Gets the "element2" element
java.lang.String getElement2();
* Gets (as xml) the "element2" element
org.apache.xmlbeans.XmlString xgetElement2();
* Sets the "element2" element
void setElement2(java.lang.String element2);
* Sets (as xml) the "element2" element
void xsetElement2(org.apache.xmlbeans.XmlString element2);
* A factory class with static methods for creating instances
* of this type.
public static final class Factory
public static org.example.doc.DocType newInstance() {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static org.example.doc.DocType newInstance(org.apache.xmlbeans.XmlOptions options) {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static org.example.doc.DocType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
public static org.example.doc.DocType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static org.example.doc.DocType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
public static org.example.doc.DocType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
public static org.example.doc.DocType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
public static org.example.doc.DocType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
public static org.example.doc.DocType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
public static org.example.doc.DocType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
public static org.example.doc.DocType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
public static org.example.doc.DocType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
public static org.example.doc.DocType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
public static org.example.doc.DocType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
public static org.example.doc.DocType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
public static org.example.doc.DocType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.example.doc.DocType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.example.doc.DocType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (org.example.doc.DocType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
private Factory() { } // No instance of this class allowed
Edited by: user11079482 on Jan 1, 2010 2:09 AMOk just as I expected. So I guess I am left with the following two options
1) either I switched to using JAXB in my apps instaed of xmlbeans....
2) or if I still wanna use the old JAX-RPC web services to deploy on the Weblogic 10gR3 server i will have to create my own ant task jwsc directly......as shown below in your docs
Programming Web Services for WebLogic Server (ant tasks)
http://download.oracle.com/docs/cd/E13222_01/wls/docs92/webserv/anttasks.html
Getting Started With WebLogic Web Services Using JAX-RPC
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv_rpc/index.html
Will OEPE be supporting the old JAX-RPC anytime in the near future release? or have to create own build ant task to call jwsc ant task directly to compile JAX-RPC web services?? -
Creating Web Services using Java Implementation
Hi,
This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
Here are my Version specs,
I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
I have been provided an XML schema from the client which is quite complex.
Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
The Web service aim is to accept some parameters and return some data from the Oracle Database. The
XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
tables and map each fields/column to the required XML output (defined in the XML schema).
I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
to the required output. Can this mapping task be controlled within the Java program?
Thanks in advance.Hi,
This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
Here are my Version specs,
I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
I have been provided an XML schema from the client which is quite complex.
Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
The Web service aim is to accept some parameters and return some data from the Oracle Database. The
XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
tables and map each fields/column to the required XML output (defined in the XML schema).
I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
to the required output. Can this mapping task be controlled within the Java program?
Thanks in advance.
Maybe you are looking for
-
Sharper Image Projector EC-PJ10
I know that this projector isn't going to be the best thing since sliced bread, but I'd expect more from their manufacturer. I sent an email asking their manufacturer a simple question, what's the specifications of the product, resolution, lumens out
-
System preferences icon bug?
Hey, Look at this: http://tagus.ist.utl.pt/~pedro.nogueira/hum.jpg You'll surely notice two icons that are wrong! Those on/off switches in place of the Software Update and Startup Disk icons... I made a clean install a few days ago... and I dont thin
-
Can't get back into system after OS X Mavericks install
I just tried to install Mavericks on my Mac Mini. After it started, a dialog box said I would need to use another account for the installation. I didn't have a guest account or any others on my system, so I clicked Restart, assuming I could create on
-
PSP XI & exif...to Lightroom
I won't talk about Lightroom much right now (still testing)... After importing several hundred images (mixed raw and jpeg), I've discovered: 1. PaintshopPro doesn't preserve complete exif data when saving image. To be more precise: complete Makernote
-
Campaign-marketing organization
Hi, Present i am working on crm 5.0,i created org structure for Marketing organization,but i am not able to find marketing org structure on Basic data tab page of marketing plan. if there is any settings required to access Marketing organization stru