Webservices

Ads
 

Webservices

Hi, this is chinna, i am trying to develop a web service that has to return one table data. i have taken table data in a two dimensional array

for soap request i have passed one value to get table data in soap response i am getting in the following format value1 value2 value3 value4 how to identify which value belongs to which field because here both values belongs to item & item can you please tell me how to change returning value item & item to other names for identification like value1 value2 value3 value4

This is my web service code

public String[][] ProjectDetails(@WebParam(name = "ProjectDefinition") String ProjectDefinition) throws JCoException { String[][] projects = new String[codes.getNumRows()][2]; for (int i = 0; i < codes.getNumRows(); i++) { codes.setRow(i); projects[i][0] = codes.getString("WBS_ELEMENT"); String des1 = codes.getString("DESCRIPTION"); String des = des1; String v1 = "¼??"; String v2 = "¾??"; String v3 = "½??"; if (des1.contains(v1)) { des = des1.replaceAll("¼??", "1/4"); } else if (des1.contains(v2)) { des = des1.replaceAll("¾??", "3/4"); } else if (des1.contains(v3)) { des = des1.replaceAll("½??", "1/2 "); } projects[i][1] = des; System.out.println("I VALUE :" + i + "WBS :" + projects[i][0] + "DES" + projects[i][1]); } return projects; }

View Answers

Ads









Related Tutorials/Questions & Answers:
webservices
webservices  can any one tell me how to develop and execute ---------- j2ee webservices example in weblogic server with (netbeans or eclipse
webservices in java
webservices in java  what is the real time use of webservices in java
Advertisements
WebServices In Java
WebServices In Java  Need Web Services Examples in eclipse. Regards, Sathya
WebServices In Java
WebServices In Java  Sample Example with screen shots using eclipse in java.it contain lower level to higher level example
webservices security
webservices security  am doing project in web services security. can one sugesst me a best application for web service
WebServices In JAVA
WebServices In JAVA  need sample example for webservice in java platform(web application)   Hi, Please check Web Services Examples in NetBeans. Thanks
What is webservices?
What is webservices?  What is web-services and what are the different types of web-services? It would be great if someone explain me the difference between these types of web-services in Java
Webservices
ModuleNotFoundError: No module named 'webservices'
ModuleNotFoundError: No module named 'webservices'  Hi, My Python... 'webservices' How to remove the ModuleNotFoundError: No module named 'webservices' error? Thanks   Hi, In your python environment
What is SOA and Webservices?
What is SOA and Webservices?  Hi, I want to learn SOA and Webservices. Can anyone tell me What is SOA and Webservices? Thanks   Hello, Check the tutorial: SOA and Web Services Thanks
webservices adding in eclipse
webservices adding in eclipse  hi team, i am working on webservices, please guide me how to add webservices in eclispe with step by step and give...://www.roseindia.net/webservices/buildingsimplewebservice.shtml
writing webservices in php
writing webservices in php  How to write a simple web service in PHP
WebServices Study Material
WebServices Study Material  Hello, I want deatail study material with program examples, is this possible to mail me
Version of geronimo>geronimo-webservices dependency
List of Version of geronimo>geronimo-webservices dependency
ModuleNotFoundError: No module named 'chembl_webservices'
ModuleNotFoundError: No module named 'chembl_webservices'  Hi, My... named 'chembl_webservices' How to remove the ModuleNotFoundError: No module named 'chembl_webservices' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'tornado-webservices'
ModuleNotFoundError: No module named 'tornado-webservices'  Hi, My... named 'tornado-webservices' How to remove the ModuleNotFoundError: No module named 'tornado-webservices' error? Thanks   Hi
webservices in websphere server using eclipse
webservices in websphere server using eclipse  can websphere server used instead of tomcat??...if so any changes to be made? Please elaborate
Maven Dependency geronimo-webservices >> 1.0
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-webservices version1.0 in your project
Maven Dependency geronimo-webservices >> 1.1
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-webservices version1.1 in your project
Maven Dependency geronimo-webservices >> 1.0-M4
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-webservices version1.0-M4 in your project
Maven Dependency geronimo-webservices >> 1.0-M5
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-webservices version1.0-M5 in your project
Maven Dependency geronimo-webservices >> 1.1.1
You should include the dependency code given in this page to add Maven Dependency of geronimo >> geronimo-webservices version1.1.1 in your project
calling webservices that return complexTypes in android using ksoap2
calling webservices that return complexTypes in android using ksoap2   Can anyone direct me to a site or show me an example ,on how to call a webservice which returns a complexType as the result, in an android app
Tictactoe game-2 players- using jax webservices & jsp
Tictactoe game-2 players- using jax webservices & jsp  Hi all, Could anyone please suggest the code /post source code of tictactoe game for 2 players with x & 0 as markers and use mysql database to persist the moves
reg tutorial http://www.roseindia.net/webservices/netbeans/JAX-RPCAdvanceConcepts.shtml
reg tutorial http://www.roseindia.net/webservices/netbeans/JAX-RPCAdvanceConcepts.shtml  I'm using netbeans 7.2.1. I followed the steps of the tutorial as given in http://www.roseindia.net/webservices/netbeans/JAX
calling webservices that return complexTypes in android using ksoap2
calling webservices that return complexTypes in android using ksoap2   Here's my code for android application,to call aweb service method and return a complexType object from it. package com.example.gramaniladharidetails
Database driven webservices
WebServices Example In this tutorial we will develop a simple user registration Webservices. The user registration/account registration form will be presented...; the serverside JSP will call the webservice to register the user. This webservices
Web Service
; Creating webservices in NetBeans. In this example program I will show you how you can make webservices in the Netbeans IDE. NetBeans IDE provides necessary GUI.... In this example we will a) Develop webservices b) Test the webservice c) Develop client
pf
webservices tutorials  Web services tutorials  Webservices Tutorials
Web service
Web service  webservices in JSP
websevices
websevices - how to import webservices in eclipse and netbeans  hi how to import webservices in eclipse and netbeans.give a detailed step by step... visit the following link: http://www.roseindia.net/webservices

Ads