Axis 2.0  or JWSDP 2.0

Hi,
I have worked in Webservices using JWSDP2.0. and never worked using AXIS 2.0.
Would like to know the major differences or advantages over one another and which is best to use and easy in creating the webservices.
Thanks,
Narendra

Hi,
I have worked in Webservices using JWSDP2.0. and never worked using AXIS 2.0.
Would like to know the major differences or advantages over one another and which is best to use and easy in creating the webservices.
Thanks,
Narendra

Similar Messages

  • Invoking Native Dll in Java

    Hi,
    We have tried to invoke a native dll method using JNI in java.
    While invoking the dll method(below native code dll) we face the "Access violation error".
    But the very same native implementation code is working successfully when invoked from VC++ Exe application.
    We have given the Java class file, header file, CPP implementation of the method and the error report below.
    Can anybody let us know if there is some fault in the way code we have coded?
    *{color:#0000ff}Source Code:{color}
    {color:#0000ff}---------------------{color}
    _______________________________________WsqLib.java____________________________________________________________________
    class WsqLib
    private native int BitmapToWSQ();
    private native int WsqToBitmap();
    public static void main(String[] args)
    WsqLib wsqlib=new WsqLib();
    System.out.println("wsqlib.BitmapToWSQ() ==> "+wsqlib.BitmapToWSQ());
    static
    System.loadLibrary("WsqLib");
    # Create a class (WsqLib.java) that declares the native method.
    # We use javac to compile the WsqLib source file, resulting in the class file WsqLib.class.
    # We use javah to generate a C header file (WsqLib.h) containing the function prototype for the native method implementation.*
    _______________________________________WsqLib.h*_______________________________________________________________________
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include "jni.h"
    /* Header for class WsqLib */
    #ifndef IncludedWsqLib
    #define IncludedWsqLib
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: WsqLib
    * Method: BitmapToWSQ
    * Signature: ()I
    JNIEXPORT jint JNICALL Java_WsqLib_BitmapToWSQ
    (JNIEnv *, jobject);
    * Class: WsqLib
    * Method: WsqToBitmap
    * Signature: ()I
    JNIEXPORT jint JNICALL Java_WsqLib_WsqToBitmap
    (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endif
    # CPP implementation (WsqLib.cpp) of the native method is as below.
    # We compiled the cpp implementation into a native library, creating WsqLib.dll.
    # We use the WsqLib.dll in WsqLib.java.
    _______________________________________WsqLib.cpp______________________________________________________________________
    #include "stdafx.h"
    #include "WsqLib.h"
    #include "_vcclrit.h"
    #include "gdiplus.h"
    #include <afxstr.h>
    #include <atlimage.h>
    #include "WsqLib1.h"
    static const GUID guidBmp =
    { 0x557cf400, 0x1a04, 0x11d3, { 0x9a, 0x73, 0x00, 0x00, 0xf8, 0x1e, 0xf3, 0x2e } };
    extern "C"
    int debug = 0;
    JNIEXPORT jint JNICALL Java_WsqLib_BitmapToWSQ(JNIEnv *, jobject)
    Gdiplus::Bitmap *pBitmap = Gdiplus::Bitmap::FromFile(L"temp.bmp", TRUE);
    Gdiplus::BitmapData lockedBitmapData;
    Gdiplus::Rect rect(0, 0,pBitmap->GetWidth(),pBitmap->GetHeight());
    //Error occured in this Line.
    pBitmap->LockBits( &rect, Gdiplus::ImageLockModeRead, PixelFormat8bppIndexed, &lockedBitmapData );
    int byteCount = pBitmap->GetWidth() * pBitmap->GetHeight() * (int)(8 / 8);
    unsigned char *pPixelData2 = new unsigned char[byteCount];
    memset(pPixelData2, 0, (size_t)byteCount);
    unsigned char pBytes = (unsigned char) lockedBitmapData.Scan0;
    for (int index = 0; index < byteCount; index++)
    pPixelData2[index] = pBytes[index];
    pBitmap->UnlockBits(&lockedBitmapData);
    unsigned char *pPixelData = pPixelData2;
    int pixelsPerInch = (int)pBitmap->GetHorizontalResolution();
    float compressionFactor = (float)( (float)((int)75) / 100.0);
    unsigned char *pWsqBytes = NULL;
    int wsqBytesCount = 0;
    int result = 0;
    result = wsq_encode_mem(
    &pWsqBytes, // Output data buffer
    &wsqBytesCount, // Length of output data buffer
    compressionFactor, // Determines the amount of lossy compression.
    pPixelData, // Input pixel data
    pBitmap->GetWidth(), // Pixel width of the pixmap
    pBitmap->GetHeight(), // Pixel height of the pixmap
    8, // Depth (bits) of the pixmap
    pixelsPerInch, // Scan resolution of the image in integer units of pixels per inch
    (char *)NULL // Optional (we do not want to use this - we may even want to remove the implementation)
    if (result == 0)
    FILE *fptr1;
    fptr1=fopen("C:\\saran2.wsq_1.0","wb");
    fwrite(pWsqBytes,wsqBytesCount,1,fptr1);
    fclose(fptr1);
    return 10;
    JNIEXPORT jint JNICALL Java_WsqLib_WsqToBitmap(JNIEnv *, jobject)
    BYTE gData[242998];
    Gdiplus::Bitmap* image;
    CFile file;
    file.Open("temp.wsq_1.0",CFile::modeRead,NULL);
    file.Read(gData,242998);
    unsigned char pByteArray =(unsigned char)gData;
    unsigned char *pPixelData = NULL;
    int bitmapWidth = 0;
    int bitmapHeight = 0;
    int pixelDepth = 0;
    int pixelsPerInch = 0;
    int lossyFlag = 1;
    int byteArrayLength = 242998;
    int result = 0;
    result = wsq_decode_mem(
    &pPixelData, // Output image buffer
    &bitmapWidth, // Pixel width of the pixmap
    &bitmapHeight, // Pixel height of the pixmap
    &pixelDepth, // Depth (bits) of the pixmap
    &pixelsPerInch, // Scan resolution of the image in integer units of pixels per inch
    &lossyFlag, // Is the image lossy? F.I.I.K.
    pByteArray, // Input data buffer
    byteArrayLength // Input data buffer length
    if (result == 0 && pixelDepth == 8)
    image = new Gdiplus::Bitmap(bitmapWidth, bitmapHeight);
    Gdiplus::Rect bound( 0, 0,bitmapWidth,bitmapHeight);
    Gdiplus::BitmapData lockedBitmapData;
    image->LockBits( &bound, Gdiplus::ImageLockModeWrite, PixelFormat8bppIndexed, &lockedBitmapData );
    int imageRowSize = bitmapWidth * (8/8);
    unsigned char pBitmapPixelData = (unsigned char )lockedBitmapData.Scan0;
    int byteCount = bitmapWidth * bitmapHeight;
    for (int index = 0; index < byteCount; index++)
    pBitmapPixelData[index] = pPixelData[index];
    image->UnlockBits( &lockedBitmapData );
    else
    return result;
    image->Save(L"C:\\temp.bmp", &guidBmp);
    return 0;
    {color:#0000ff}Error report:{color}
    {color:#0000ff}-------------------{color}
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x03920780, pid=380, tid=3572
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode, sharing)
    # Problematic frame:
    # C 0x03920780
    --------------- T H R E A D ---------------
    Current thread (0x00036d88): JavaThread "main" [_thread_in_native, id=3572]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000004
    Registers:
    EAX=0x00000000, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000
    ESP=0x0007f9a8, EBP=0x0007fa70, ESI=0x00000000, EDI=0x00000000
    EIP=0x03920780, EFLAGS=0x00010246
    Top of Stack: (sp=0x0007f9a8)
    0x0007f9a8: 00000000 00000000 00000000 00000000
    0x0007f9b8: 039204ba 00000001 00000000 000be780
    0x0007f9c8: 03726248 0007fa10 00000000 00000000
    0x0007f9d8: 03920430 0007fa2c 7a32b4fa ffffffff
    0x0007f9e8: 0007fa38 79e7bba9 79e7bbb1 cce41966
    0x0007f9f8: ffffffff 0007fa68 000a4b30 00000000
    0x0007fa08: 00000000 00000000 00000000 00000000
    0x0007fa18: 00000000 00000000 00000000 00000000
    Instructions: (pc=0x03920780)
    0x03920770: 03 00 74 05 e8 85 1b 77 76 33 d2 89 14 24 8b fe
    0x03920780: 8b 4e 04 8d 14 24 e8 05 65 e0 ff 8b d8 8b d3 8b
    Stack: [0x00040000,0x00080000), sp=0x0007f9a8, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x03920780
    C 0x031e3171
    j WsqLib.BitmapToWSQ()I+0
    j WsqLib.main([Ljava/lang/String;)V+24
    v ~StubRoutines::call_stub
    V [jvm.dll+0x87599]
    V [jvm.dll+0xdfbb2]
    V [jvm.dll+0x8746a]
    V [jvm.dll+0x8e6ac]
    C [java.exe+0x14c5]
    C [java.exe+0x69cd]
    C [kernel32.dll+0x16d4f]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j WsqLib.BitmapToWSQ()I+0
    j WsqLib.main([Ljava/lang/String;)V+24
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x009f2b28 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3996]
    0x009f1820 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2832]
    0x009f0a68 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=404]
    0x009eb330 JavaThread "Finalizer" daemon [_thread_blocked, id=3304]
    0x009e9eb0 JavaThread "Reference Handler" daemon [_thread_blocked, id=1648]
    =>0x00036d88 JavaThread "main" [_thread_in_native, id=3572]
    Other Threads:
    0x009c8508 VMThread [id=492]
    0x009f0528 WatcherThread [id=2924]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 497K [0x22a50000, 0x22af0000, 0x22f30000)
    eden space 512K, 84% used [0x22a50000, 0x22abc5b8, 0x22ad0000)
    from space 64K, 99% used [0x22ae0000, 0x22aefff8, 0x22af0000)
    to space 64K, 0% used [0x22ad0000, 0x22ad0000, 0x22ae0000)
    tenured generation total 1408K, used 115K [0x22f30000, 0x23090000, 0x26a50000)
    the space 1408K, 8% used [0x22f30000, 0x22f4cc28, 0x22f4ce00, 0x23090000)
    compacting perm gen total 8192K, used 20K [0x26a50000, 0x27250000, 0x2aa50000)
    the space 8192K, 0% used [0x26a50000, 0x26a553b8, 0x26a55400, 0x27250000)
    ro space 8192K, 63% used [0x2aa50000, 0x2af60590, 0x2af60600, 0x2b250000)
    rw space 12288K, 46% used [0x2b250000, 0x2b7f21b0, 0x2b7f2200, 0x2be50000)
    Dynamic libraries:
    0x00400000 - 0x0040d000 C:\WINDOWS\system32\java.exe
    0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
    0x6d640000 - 0x6d7dd000 C:\Program Files\Java\jre1.5.0_12\bin\client\jvm.dll
    0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x6d290000 - 0x6d298000 C:\Program Files\Java\jre1.5.0_12\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_12\bin\verify.dll
    0x6d310000 - 0x6d32d000 C:\Program Files\Java\jre1.5.0_12\bin\java.dll
    0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_12\bin\zip.dll
    0x10000000 - 0x10075000 D:\Jagadeesan\JNI_NEW\WSQ\WsqLib.dll
    0x79000000 - 0x79045000 C:\WINDOWS\system32\mscoree.dll
    0x7c140000 - 0x7c357000 C:\WINDOWS\system32\MFC71D.DLL
    0x10200000 - 0x10287000 C:\WINDOWS\system32\MSVCR71D.dll
    0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
    0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
    0x774e0000 - 0x7761c000 C:\WINDOWS\system32\ole32.dll
    0x4ec50000 - 0x4edf3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x5d360000 - 0x5d36e000 C:\WINDOWS\system32\MFC71ENU.DLL
    0x79e70000 - 0x7a3d1000 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
    0x78130000 - 0x781cb000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\MSVCR80.dll
    0x7c9c0000 - 0x7d1d4000 C:\WINDOWS\system32\shell32.dll
    0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5d090000 - 0x5d127000 C:\WINDOWS\system32\comctl32.dll
    0x790c0000 - 0x79ba6000 C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\bf3b003e3ac7e449bdf8fc9375318452\mscorlib.ni.dll
    0x79060000 - 0x790b3000 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
    0x5e380000 - 0x5e409000 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll
    VM Arguments:
    java_command: WsqLib
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.5.0_12;
    CLASSPATH=C:\Program Files\Apache Software Foundation\Tomcat 5.5\shared\lib\*.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\classes\org\apache\axis\transport\http\*.classs;D:\JONAS_4_6_6\lib\ext\axis.jar;C:\Sun\jwsdp-1.6\jaxp\lib\endorsed\sax.jar;C:\tomcat50-jwsdp\jaxp\lib\endorsed\sax.jar;C:\Files\Java\jdk1.5.0_01\jre\lib;C:\Program Files\Java\jdk1.5.0_12\jre\lib\ext;
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Jagadeesan Backup\DotNet\DynamicLibrary\MathFuncsDll\Debug;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies;C:\Sun\jwsdp-1.6\jaxrpc\bin;C:\Sun\jwsdp-1.6\jaxp\lib;C:\Sun\jwsdp-1.6\jaxp\lib\endorsed;C:\Program Files\Java\jdk1.5.0_12\bin;C:\Sun\jwsdp-1.6\jwsdp-shared\bin;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Sun\jwsdp-1.6\jaxrpc\bin;C:\Sun\jwsdp-1.6\jaxp\lib;C:\Sun\jwsdp-1.6\jaxp\lib\endorsed;C:\Program Files\Java\jdk1.5.0_12\bin;
    USERNAME=Administrator
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 (cores per cpu 1, threads per core 1) family 15 model 1 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 259888k(81380k free), swap 636388k(342588k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for windows-x86, built on May 2 2007 02:07:59 by "java_re" with MS VC++ 6.0

    Is there any other reason for this error?There is one and only one reason for the error code 0xc0000005 - there is a pointer (C/C++) pointing somewhere it shouldn't.
    The above C code working fine while invoking in VC++ Exe application,
    But the error occured only while invoking in java using JNI.Which suggests only that sometimes that it works. It doesn't mean that it always works.
    There are a number of places in the C/C++ code where it could fail and none of them are being checked.

  • Help for mock web service (service skeleton and unmarshalling)

    Hi,
    I need to create mock web service in which I want to read soap/xml responses from my hard drive and send it to web service client. The responses would differ based on some input parameter. (small business logic in mock service)
    Till now, I created my mock service skeleton from Axis and used JAXB (JWSDP) to unmarshall xml to java objects. But problem is we can not cast object unmarshalled by JAXB into response object created by Axis. And so can not return those objects as response.
    So, I want to know if I can use JWSDP or Metro to solve this problem. Will JWSDP or Metro solve my problem if I use it to create service skeleton as well as for unmarshalling?
    If this is not possible, can you please suggest any viable alternative?
    Regards,
    Suraj

    surajmundada wrote:
    SOAP-UI can provide only one static soap response.Incorrect. Look at the [top 3 reasons|http://www.soapui.org/gettingstarted/mocking.html] from soap-ui. You can use Groovy to add the dynamic functionality in your simulated web service.
    And if you don't have the WSDL and you want to simulate the web service. You can use the article [web service simulation using servlet |http://today.java.net/article/2010/02/16/web-service-simulation-using-servlets] to build your own simulator.

  • JWSDP,Axis and Websphere -help!

    Hi everyone,
    I developed a webservice and created a client with Axis 1.1. Then I deployed the webservice both under Apache/Tomcat and everything works fine (ws is alive, client calls correctly the method exposed), and unde WEBSPHERE 5.1 but even if webservice seems installed correctly (WSDL is visible in browser), when I try to call the method exposed i get
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: JAXRPC.JAXRPCSERVLET.30: Internal server error (JAXRPC.JAXRPCSERVLET.43: failed to instantiate service implementor for port "EperWebService")
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace: AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: JAXRPC.JAXRPCSERVLET.30: Internal server error (JAXRPC.JAXRPCSERVLET.43: failed to instantiate service implementor for port &quot;EperWebService&quot;)
    faultActor:
    faultNode:
    faultDetail:
    JAXRPC.JAXRPCSERVLET.30: Internal server error (JAXRPC.JAXRPCSERVLET.43: failed to instantiate service implementor for port "EperWebService")
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
         at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1675)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
         at org.apache.axis.client.Call.invoke(Call.java:2553)
         at org.apache.axis.client.Call.invoke(Call.java:2248)
         at org.apache.axis.client.Call.invoke(Call.java:2171)
         at org.apache.axis.client.Call.invoke(Call.java:1691)
         at it.keytech.EperWebClient.EperWebServiceIFBindingStub.getListaRicambi(EperWebServiceIFBindingStub.java:169)
         at it.keytech.EperWebClient.TestServlet.doGet(TestServlet.java:35)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1723)
         at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1673)
         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:783)
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:945)
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:800)
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)
    Any ideas? thanks in advance ....

    Did you ever figure this out. Havew the same problem

  • AXIS vs. JWSDP ?

    Hello,
    While I might be an experienced Java developer, I am going CRAZY trying to figure out all of these web service paradigms and acronyms. Specifically, I have yet to find a whitepaper that explains the differences between:
    Axis2
    Java WSDP 2.0
    Can anyone help me there?
    What I need to do is set up a web service that allows private clients to submit data, and either get back a synchronous response, asynchronous response, or an email at a later time. Now, the data is formatted in XML, however, I don't think I necessarily need it passed via SOAP (the raw XML is fine with me).
    Finally, I do NOT want to have to install Tomcat or other application server. Can anyone tell me if I need to use Axis2, JWSDP2, or a combination of both of them to achieve my goals, which are:
    - define a web service to transfer xml data (doesn't NEED to be in SOAP envelope)
    - do not want to be forced to use Tomcat or any other J2EE application server (i.e. standalone)
    - do not need to call remote methods (RPC)
    In fact, the more I think about this, the more I see all these new technologies as overhead. Having a public web service defined in some type of registry is useful, but isn't there a ton of overhead with the SOAP envelop and all of the communication mechanisms back/forth?
    What above technolog(ies) would I need to use if I wanted to implement my own web service client and server and transfer raw XML, without needing Tomcat?
    Thank You,
    Eric

    I can't speak for Axix, but I can tell you what JAX-WS is capable of.
    JAX-WS can deal with any XML based message, it doesn't have to be SOAP.
    You can use the Dispatch interface on the client and Provider on the Server to
    have direct access to the message.
    JAX-WS can proxies can be generated with asynchronous call methods. These methods let the client application use either polling or callback when the response is returned. Currently the response still comes on the transport back channel. The next release of JAX-WS will be more flexible and will allow WS-Addressings non-anonymous replies.
    JAX-WS and and Endpoint interface that one can use to publish a lightweight
    endpoint that can be used as a callback if necessary. This interface does not require a web container such as tomcat.
    Best of all, JAX-WS will be part of Java 6 and you can get all of this functionality without additional jar files. However, it does also run on Java 5.
    You can read more about JAX-WS at http://jax-ws.dev.java.net.

  • Deploying JAXRPC service on NON-JWSDP Tomcat

    Hi,
    I saw a similar question earlier, but not an answer..
    I'm in a situation where I want to deploy a JAXRPC service on a Tomcat 4.1.12. I use the JSWDP kit from Sun to develop and test, and then I would like to be able to package my service as a .war file and deploy in on a Tomcat 4.1.12 - and still be able to use it as when its deployed in the JWSDP Tomcat. That should not be a problem - right?!
    Unfortunatly (for me) I can't make it work.....not even with the veeery simple JAXRPC hello example program included in the JWSDP tutorial.
    Under the JWSDP Tomcat everything is fine..
    Then I try to use the Tomcat 4.1.12: I copy the .war file to the /webapps directory and restarts Tomcat - it shows up in the Manager as deployed, but I can't create a communication to it from the client!! I get a RemoteException: "Cannot connect to server: /hello-jaxrpc/hello..".
    Can someonegive me a pointer on this one??
    Thanks in advance,
    Kim Vestergaard

    Hi again,
    I did try for a few days without getting near to a solution.
    Instead I started to look at the Apache Axis kit (http://xml.apache.org/axis) - In the latest version it includes support for JAXRPC, and thats what I need. The kit is easier (for me anyway ;-) to figure out, because it is not tight bundled with Tomcat as JWSDP is - Tomcat is still the servletengine-of-choice.
    When I found http://www.javaworld.com/javaworld/jw-01-2002/jw-0125-axis-p3.html the installation and setup was straight forward. I now have Tomcat 4.1.12 / Axis 1.0 running my JAXRPC based webservice....
    /Kim

  • I am new with webservices. what platform should i use? wasp, glue, jwsdp .

    hello i just study web services. i am very new of this. there
    are many soap-based web services platform such as axis,
    glue, wasp ,jwsdp etc. i don't know much about these
    platform. what platform should i use in my project ? i use
    java in my project. anyone have any recommend for me?
    every recommend is important for me. thank you

    If you're not currently involved with a web service project that is using a particular server (e.g., WebSphere, WebLogic, etc.), I suggest starting with Axis. Apache software tends to be adopted by other vendors as a basis for their products. Also, the Axis mailing lists are very active and you're more likely to get your questions answered quickly. Once you're comfortable with Axis, it's probably worthwhile to download the evaluation version of WebSphere or WebLogic to learn how to deploy web services on a commercial platform.
    Good luck,
    Mike W.

  • JWSDP 2.0 Installation problem

    Hi
    I am trying to install JWSDP 2.0, but can not be successful yet.
    OS: "Windows XP SP2"
    Java SDK Version: "1.5.0_06-b05"
    D:\Setup files\Programming>java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    JAVA_HOME environment variable is set to: "C:\Program Files\Java\jdk1.5.0_06"
    Others: "Apache Tomcat 5.5.17 Server" is installed.
    "Axis 1.3" has been installed.
    When I run the executable installation file I get the following output:
    Searching for Java(tm) Virtual Machine...
    Searching for Java 1.5.X by Sun Microsystems
    Verifying Java 1.5.X by Sun Microsystems
    .........................................An unhandled error occurred -- specify
    system property "is.debug" for more information.I tried some workarounds for command line executing with parameters but they did not work either.
    e.g.
    D:\Setup files\Programming>jwsdp-2_0-windows-i586.exe -is:javahome "C:\Program Files\Java\jdk1.5.0_06"Anybody has an aswer for this problem?
    Thanks

    hello,
    i had the same problem and it is about for the language settings of windows platform (mine is xp sp2). My language was set to turkish and changed to english (usa).
    It is working well now...
    Good luck !!!

  • Doubt in AXIS-Exception in thread "main" . how can i run this program

    hi
    I am new to axis., I done few webservice program using Jwsdp
    i can't resolve the reason for this exception.
    I have set all the classpath and other path variable that is necessary for axis .,
    I got this example from http://javaboutique.internet.com/tutorials/Axis/index.html
    Can any one help to solve this problem.,
    **************Code***************
    import java.util.*;
    public class NHLService {
      HashMap standings = new HashMap();
      public NHLService() {
        // NHL - part of the standings as per 04/07/2002
        standings.put("atlantic/philadelphia", "1");
        standings.put("atlantic/ny islanders", "2");
        standings.put("atlantic/new jersey", "3");
        standings.put("central/detroit", "1");
        standings.put("central/chicago", "2");
        standings.put("central/st.louis", "3");
      public String getCurrentPosition(String division, String team) {
        String p = (String)standings.get(division + '/' + team);
        return (p == null) ? "Team not found" : p;
    package hansen.playground;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.rpc.namespace.QName;
    import java.net.*;
    public class NHLServiceClient {
       public static void main(String [] args) throws Exception {
           Service service = new Service();
           Call call = (Call)service.createCall();
           String endpoint = "http://localhost:8081/axis/NHLService.jws";
           call.setTargetEndpointAddress(new URL(endpoint));
           call.setOperationName(new QName("getCurrentPosition"));
           String division = args[0];
           String team = args[1];
           String position =
             (String)call.invoke(new Object [] {new String(division), new String(team)});
           System.out.println("Got result : " + position);
    }************ classpath***************
    :/home/sujithkr/webservices/xml-axis/java:
    /home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/axis.jar
    /home/sujithkr/webservices/xml-axis/lib/activation.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/clutil.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/commons-logging.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/jaxrpc.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/log4j-core.jar
    :/home/sujithkr/webservices/xml-axis/webapps/axis/WEB-INF/lib/tt-bytecode.jar
    ********************Error Report*******************************
    java hansen.playground.NHLServiceClient atlantic philadelphia
    Exception in thread "main" Error while compiling: /usr/local/tomcat/webapps/axis//NHLService.java
    at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown Source)
    at org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown Source)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at hansen.playground.NHLServiceClient.main(NHLServiceClient.java:21)
    suse-1:/home/sujithkr/webservices # clear
    suse-1:/home/sujithkr/webservices # java hansen.playground.NHLServiceClient atlantic philadelphia
    Exception in thread "main" Error while compiling: /usr/local/tomcat/webapps/axis//NHLService.java
    at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown Source)
    at org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown Source)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at org.apache.axis.client.Call.invoke(Unknown Source)
    at hansen.playground.NHLServiceClient.main(NHLServiceClient.java:21)
    thank you for helping me in your hectic schedule....

    Please post your code using code tags.
    When I try to compile or build i cant.What is your question? Exactly what error message do you get?

  • Has anyone successfully installed JAXM 1.1.2 with JWSDP 1.2?

    I'm unable to get the /jaxm-provider app from jaxm 1.1.2 running on jwsdp 1.2. Tomcat gives a failure message when I try to start the app manually but no detailed error message is logged. The jaxm samples that do not use a messaging provider are working fine. Has anyone else gotten the jaxm 1.1.2 provider to run?
    Thanks,
    Mike

    Problem solved. I had installed Axis 1.1 as a web app. log4j-1.2.8.jar is copied to JWSDP_HOME/common/lib as part of the Axis installation. When I removed that jar, /jaxm-provider started with no problem. Axis complains about the missing jar but it seems to work anyway.
    Mike

  • WSDP vs. Axis

    These are some pretty basic questions:
    -Does WSDP utilize Apache Axis? If not, which is a better choice for building and consuming web services (WSDP or Axis)?
    -Where can I find a simple example of consuming a web service with WSDP?
    -Can you use the regular Apache Tomcat 5.0 with WSDP, or does it have to be Tomcat for WSDP?
    Thanks!

    Hi
    WSDP does not use Axis, it uses Sn's own JAX-RPC implementation (The "SI" or "Reference Implementation"). As for an example, I would recommend looking at the Web Services section of the J2EE Tutorial (http://java.sun.com/j2ee/1.4/docs/tutorial/doc/).
    And finally, yes, you can use regular Tomcat 5 with the JWSDP (or in theory any other web container that is compliant with the Servlats API 2.3+) - I have been doing so.

  • Jwsdp+jni

    Hi
    I have a little server side Class, which calls a c Library with jni under Linux
    public class NagJniLibrary implements NagJniLibraryIF
      static
          System.loadLibrary("NagJniLibrary");
        public native double sin(double x);
    }if I use ant to build the Service, I get the following error messages at Taget "run-wsdeploy"
    ant build
    Buildfile: build.xml
    clean:
    [delete] Deleting directory /home/j_shen/tmp/NagJniLibrary/build
    prepare:
    [echo] Creating the required directories....
    [mkdir] Created dir: /home/j_shen/tmp/NagJniLibrary/build/nagservice
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/nagservice
    compile-service:
    [echo] Compiling the server-side source code....
    [javac] Compiling 3 source files to /home/j_shen/tmp/NagJniLibrary/build
    generate-sei-service:
    prepare:
    [echo] Creating the required directories....
    set-wscompile:
    run-wscompile:
    [echo] Running wscompile:
    [echo] /home/j_shen/jwsdp-1.3/apache-ant/..//jaxrpc/bin/wscompile.sh -define -d build -nd build -classpath build config-interface.xml -model build/model.gz
    [delete] Deleting: /home/j_shen/tmp/NagJniLibrary/build/NagJniLibraryService.wsdl
    setup-web-inf:
    [echo] Setting up build/WEB-INF....
    [copy] Copying 4 files to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF/classes/nagservice
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF
    [copy] Copying 1 file to /home/j_shen/tmp/NagJniLibrary/build/WEB-INF
    prepare-dist:
    [echo] Creating the required directories....
    package-service:
    [echo] Packaging the WAR....
    [delete] Deleting: /home/j_shen/tmp/NagJniLibrary/dist/nag-jaxrpc-portable.war
    [jar] Building jar: /home/j_shen/tmp/NagJniLibrary/dist/nag-jaxrpc-portable.war
    set-wsdeploy:
    process-war:
    [delete] Deleting: /home/j_shen/tmp/NagJniLibrary/dist/nag-jaxrpc.war
    prepare:
    [echo] Creating the required directories....
    set-wsdeploy:
    run-wsdeploy:
    [echo] Running wsdeploy:
    [echo] /home/j_shen/jwsdp-1.3/apache-ant/..//jaxrpc/bin/wsdeploy.sh -o dist/nag-jaxrpc.war dist/nag-jaxrpc-portable.war
    [exec] java.lang.reflect.InvocationTargetException
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:324)
    [exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    [exec] Caused by: java.lang.UnsatisfiedLinkError: no NagJniLibrary in java.library.path
    [exec] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    [exec] at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    [exec] at java.lang.System.loadLibrary(System.java:834)
    [exec] at nagservice.NagJniLibrary.<clinit>(Unknown Source)
    [exec] at java.lang.Class.forName0(Native Method)
    [exec] at java.lang.Class.forName(Class.java:219)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.EndpointCompileTool.classExists(EndpointCompileTool.java:80)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.EndpointCompileTool.afterHook(EndpointCompileTool.java:256)
    [exec] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:580)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.process(DeployTool.java:303)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:213)
    [exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
    [exec] ... 5 more
    [exec] Result: 1
    if I comment the "System.loadLibrary("NagJniLibrary")"; such as
    static
         //System.loadLibrary("NagJniLibrary");
    ... it will be builded
    Anyone can help me ? Thanks a lot.

    Hi, i had the same Problem and decided to encapsulate the Native call with an RMI-Wrapper.
    So my topology is now as follows:
    httpClient --> WebService --> RMIServer --> C-library
    I still have some Accesserrors while invoking the native Methods, but i'm sure this is some kind of Axis Security Problem.
    If you got a solution for the problem, please let me know.
    JAN

  • Eclipse WTP + JWSDP + Tomcat

    Hi,
    I am trying to setup eclipse WTP with Java WSDP (1.6) and Tomcat for JWSDP
    (http://java.sun.com/webservices/containers/tomcat_for_JWSDP_1_5.html)
    Any idea whether it is possible to have such development environment or
    would I have to use Netbeans?
    Wouldn't I require a server runtime for (J)WSDP instead of Tomcat's deault
    Axis runtime? Is there such a runtime available?
    Thanks!

    I guess you could say that using Tomcat+WSDP in WTP would "work", but
    not with the same level of integration that you get using the WTP
    supplied Axis. I'm not familiar with JSDP, but I don't think WTP would
    get in the way. However, I can't say if it will provide as much
    "developmental help" as you are looking for.
    Larry
    Neeraj Mahajan wrote:
    > Hi Larry,
    >
    > By "development environment" I mean an intelligent IDE i.e. something
    > like eclipse+WTP that would help me develop/build/deploy/debug Web
    > Services. As you mentioned Tomcat doesnt include Axis runtime, and that
    > is the reasin why, I think, it can be used with Java WSDP too. But AFAIK
    > WTP includes Axis runtime to be used with Tomcat. So the question is,
    > can I use WTP to develop WebServices for Tomcat+WSDP. If yes, then what
    > plugins do I need to use for this.
    >
    > Cheers,
    > Neeraj
    > PS: The reason for using WSDP is beyond my control :(
    >
    > Larry Isaacs wrote:
    >
    >> I'm not sure exactly what you are asking for in the way of a
    >> "development environment". Tomcat doesn't include a default Axis
    >> runtime. I assume the Java WSDP would somehow provide that. WTP has
    >> its own support for developing web services that doesn't involve the
    >> Java WSDP. Have you investigated this support and decided to use Java
    >> WSDP instead?
    >
    >> Cheers,
    >> Larry
    >
    >> Neeraj Mahajan wrote:
    >>> Hi,
    >>>
    >>> I am trying to setup eclipse WTP with Java WSDP (1.6) and Tomcat for
    >>> JWSDP
    >>> ( http://java.sun.com/webservices/containers/tomcat_for_JWSDP_ 1_5.html)
    >>> Any idea whether it is possible to have such development environment
    >>> or would I have to use Netbeans?
    >>> Wouldn't I require a server runtime for (J)WSDP instead of Tomcat's
    >>> deault Axis runtime? Is there such a runtime available?
    >>>
    >>> Thanks,
    >>> Neeraj
    >>>
    >>>
    >

  • JAX-RPC or JAXM or AXIS/GLUE

    Hello,
    I am starting with webservices and am confused with all the APIs out there. Should I start with JAX-RPC or JAXM to develop/consume webservices? Do I need SOAP implementations like AXIS or GLUE?
    Please Help !!!
    -ss

    Yes, it's pretty overwhelming when you're first starting out. My suggestion is to start with JAX-RPC because:
    1. it's easy to understand
    2. most existing web services are RPC-based
    3. there are many nice tools to help you create JAX-RPC based services
    Now you can decide which JAX-RPC implementation to use. Both JWSDP and Axis have JAX-RPC implementations. JWSDP is nice everything-rolled-into-one installation, so it's a good platform for learning (the tutorial version 1.2 isn't available yet but most of the 1.1 tutorial applies to JWSDP 1.2). Just download the JWSDP 1.2 installation package and the tutorial and you're ready to go (Tomcat is bundled with the JWSDP).
    However, I believe that many more commercial web service implementations are based on Axis than JWSDP. If you plan on deploying web services yourself, you may want familiarize yourself with Axis. Just download and install Tomcat, then download and install Axis. The axis-user mailing list at http://ws.apache.org/axis/mail.html is very helpful.
    And don't worry too much about which package is better. Any services you develop with either platform can be ported unchanged to the other.
    Good luck,
    Mike

  • JBoss 4.0.4 GA and Axis 2.0

    Dear all,
    Does Axis 2.0 support Jboss 4.0.4 GA?
    I have a wsdl importing a xsd file.
    I tried wstools of JBoss 4.0.4 GA, wscompile of JWSDP utility to generate both the server and client side interface and its implementations but am having problems creating the interfaces as required.
    Has anyone worked on xsd having simpletype which has restriction element?
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema elementFormDefault="qualified"
    targetNamespace="http://www.ddd.com/SeeteshDD"
    xmlns:opr="http://www.ddd.com/SeeteshDD"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="7.0">
    <xs:include schemaLocation="file:OperationLogCommon.xsd"/>
    <xs:complexType name="TestArray">
    <xs:complexContent>
    <xs:extension base="opr:SeeteshDatabaseRecord">
    <xs:sequence>
    <xs:element name="Details" type="opr:Details"
    minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="emp_id" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:minLength value="0"/>
    <xs:maxLength value="64"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="emp_name" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:minLength value="0"/>
    <xs:maxLength value="64"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="dept_code" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:minLength value="0"/>
    <xs:maxLength value="15"/>
    <xs:enumeration value="HR"/>
    <xs:enumeration value="Sales"/>
    <xs:enumeration value="F&A"/>
    <xs:enumeration value="Accounts"/>
    <xs:enumeration value="Production"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    </xs:schema>

    Well...Axis Data binding, doesnt support the extenstion or restriction of Simple Elements. One would say, ADB doesnt implement all of the XML schema, rather it is 80-20 implementation...
    Regards,
    Sudheer

Maybe you are looking for

  • ALV Report output in Excel format

    Hi , I am facing a different behaviour in two computers , while trying to take an Excel format of an ALV report output. After generating the ALV output ,in one , when I click on the Excel Format button - the Excel spreadsheet opens with the output da

  • Adding pictures from iPhoto to iMovie ?

    I have recently updated to iLife 11. I am a little new to imovie and get on with it quite well but i don't seem to be able to add stills. I am clicking on the photo icon and opening iphoto but then nothing...... what do I do? I have tried dragging an

  • Error 200524 Different number of channels in task and data

    Anyone out there with some information would be greatly appreciated. I  have attached my VI. Essentially I am trying to build a simple PID VI to controll the temperature of a piece of equipment in a system I am building. I have heating wire powered b

  • Columns justification in tables

    LabVIEW version 8.0 Is there any way to independently justify at ones, each column of a table, left or centre or right ? and to justify all columns in a table, for instance all left ? Simbani

  • How to use the ConvertCoordinates in the AIHardSoftSuite in CS5

    Hi, I am trying to make a plugin with the CS5 version on MacOSX. This version has new functions for the rulers. You can have a ruler for each artboard and a global ruler for the document. There are new functions in AIHardSoftSuite to deal with the di