logo       

migrating from apache-soap (unable to generate WSDL): msg#00852

Subject: migrating from apache-soap (unable to generate WSDL)
Hi people :)

I have developed a webservice app using apache-soap and just trying to
tweak abit in axis just to generate the WSDL for my service. I deployed
it with a .jws file, had tomcat already running, but somehow when I
access http://localhost:8080/axis/myService.jws?wsdl, nothing shows..
a.k.a. just plain white blank page. Did I miss anything here now?

[g]

ps. Here's the code I wanted to migrate.. please inform me about
anything I had to modify just to be able to generate a WSDL. Another
thing, I had a serializer specially made to handle a complex type,
should I also migrate this class into axis.. or is it possible that I
can use the exact class directly in axis?

Code:
package serverFTUGM;

import org.openisis.*;
import java.io.IOException;
import java.util.Date;
import java.util.Vector;
import java.net.URL;
import java.lang.*;
import java.util.*;
import java.io.*;
import javax.xml.parsers.*;
import org.w3c.dom.*;
import org.xml.sax.*;
import org.apache.soap.util.xml.*;

public class serverFTUGM {
        private static final String EMPTY = "";
        private static Db dbs;
        private static String dberr = EMPTY;
        private static int ROWS = 5;
        
        public HashMap[] searchFTUGM(String searchKey) {
                try {
                        String[] args = new String[] { "-db",
"c:/isis/data/buku/buku", "-v", "error", "-encoding", "Cp850" };
                        dbs = Db.open(null,args);
                } catch (IOException e) {
                        dberr = e.toString();
                }
                int[] nset = dbs.search(searchKey, Db.QRY_KEYAT);
                HashMap[] sMap = new HashMap[nset.length];
                
                for(int j = 0; j < nset.length; j++) {
                        HashMap item = new HashMap();
                        Rec recval = dbs.readRow(nset[j]);
                        if(recval == null) {
                                continue;
                        }
                        int m = Db.MDL | Db.PS | Db.HTA;
                        String r13 = "<br>&nbsp;&nbsp;";
                        item.put("nomer",recval.v("","", 99,m,0,0,
r13,"")); //nomer
                        item.put("judul",recval.v("","",245,m,0,0,
r13,"")); //judul
                        item.put("edisi",recval.v("","",250,m,0,0,
r13,"")); //edisi
                        item.put("seri",recval.v("","",440,m,0,0,
r13,"")); //seri
                        item.put("penulis",recval.v("","",100,m,0,0,
r13,"")); //penulis
                        item.put("penerbit",recval.v("","",260,m,0,0,
r13,"")); //penerbit
                        item.put("tahun1",recval.v("","",982,m,0,0,
r13,"")); //tahun1
                        item.put("tahun2",recval.v("","",983,m,0,0,
r13,"")); //tahun2
                        item.put("catatan",recval.v("","",500,m,0,0,
r13,"")); //catatan 
                        item.put("eks",recval.v("","",985,m,0,0,
r13,"")); //eks
                        item.put("ktkunci",recval.v("","",695,m,0,0,
r13,"")); //ktkunci
                        item.put("lokasi",recval.v("","",850,m,0,0,
r13,""));//lokasi
                                                              
                        sMap[j] = item;
                }
                return (HashMap[]) sMap;
        }
} 




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe