473,403 Members | 2,183 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Generate abstract classes for WSDL

17
Hi,

I am new to wsdl.I am using weblogic server to generate a wsdl.

I am writting my own inner abstract classes using schemas and then generating a wsdl file.In my schema I have a value as simpleContent .

My output in test browser is <param><name></name></param> since the inner class i wrote as

public static class queryParameters
implements java.io.Serializable
{
public param param;

}
public static class param
implements java.io.Serializable
{
public java.lang.String name;

}


I want the output as <param name="">value</param>
what changes i need to make in abstract classes to get the above output
the schema is

<xs:element name="queryParameters">

<xs:complexType>

<xs:sequence>

<xs:element name="param" minOccurs="6" maxOccurs="6">

<xs:complexType>

<xs:simpleContent>

<xs:extension base="parameters">

<xs:attribute name="name" type="attribute" use="required" />

</xs:extension>

</xs:simpleContent>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

expected output
<queryParameters>

<param name="customer">Absent</param>
<param name="accountNo">576576</param>
<param name="Source">75677</param>
<param name="Type">525</param>
</queryParameters>


Pls help.

Thanks
Sep 19 '06 #1
0 1465

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Tran Tuan Anh | last post by:
Dear all: I need your advice on this matter. I am working on a program which takes some pieces of System-C code in and generate some other System-C code. (System-C code is just C++ with some...
0
by: Allistar | last post by:
Hi there, I am using Visual Studio C++ .Net 2003 and am consuming a wsdl file using the "Project->Add Web Reference" option. The wsdl file contains types that are subclassed from other types, and...
2
by: svendtofte | last post by:
Hello, I've used wsdl.exe, to generate stub code for a WS at work. an example of the stub code is: ========================== /// <remarks/> public abstract class NavigatePublicationTarget :...
0
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below...
1
by: Sek | last post by:
Folks, >From my understanding of web services, an ASP.net C# web service is written first and .wsdl file is made available to the client. The client generates the proxy class code using the...
0
by: Jiho Han | last post by:
I have an abstract class and a couple of derived classes. I didn't like the default schema exposed by wsdl, so I decided to implement XmlSchemaProvider. The schema is exposed properly for the...
0
by: Jiho Han | last post by:
I have a web method that accepts an abstract class. The abstract class includes an XmlIncludeAttribute that specifies derived classes. Wsdl gets generated fine that includes both schema for the...
5
by: =?Utf-8?B?a3Jpcw==?= | last post by:
I created a simple webservice .asmx on Visual Studio 2005. As I plan to deploy it to Sharepoint Portal 2003, I copied asmx to \web server extensions\60\ISAPI directory of the server, where all...
4
by: newtonwong | last post by:
I have a web reference WSDL, but it doesn't really create an XSD. I'm trying to generate datasets from the WSDL file but not sure how to do so. I successfully created the proxy class, but the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.