Dynamic proxy blocking through IPS

Hi,
Can we block dynamic proxies and skype through IPS?
BR.
Haider                  

You can block everything as long as payload is not encrypted. Generally, if you want to block smth and don't know what to match in your signature rules, just use any kind of packet caputre, look at that capture file using wireshark or smth like that. Find some unique fields/patterns. Then write signature (based on regex, for example) matching that pattern. I personnaly did that for team-viewer, skype and some other things.

Similar Messages

  • Dynamic proxy not working

    Folks,
    I deployed a EJB Webservice(Document Literal) in Sun App Server. I am able to access the method through Static Stub but Dynamic proxy says the below error:
    port: {http://com.venkat.webservice/AllInOne/targ}AllInOneIntfPort does not contain operation: justConcat
         at com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(ConfiguredCall.java:98)
         at com.sun.xml.rpc.client.dii.ConfiguredCall.configureCall(ConfiguredCall.java:69)
         at com.sun.xml.rpc.client.dii.ConfiguredCall.setMethodName(ConfiguredCall.java:50)
         at com.sun.xml.rpc.client.dii.DynamicProxyBuilder.buildDynamicProxyFor(DynamicProxyBuilder.java:66)
         at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:250)
         at wsclient.DynProxy.main(DynProxy.java:50)
    The Code i used to access is as below:
    String UrlString = "http://venkat:8080/AllInOneServiceBean" + "?WSDL";
                String nameSpaceUri = "http://com.venkat.webservice/AllInOne/targ";
                String serviceName = "AllInOneService";
                String portName = "AllInOneIntfPort";
      Service helloService =
                    serviceFactory.createService(helloWsdlUrl,
                        new QName(nameSpaceUri, serviceName));
    AllInOneIntf myProxy = (AllInOneIntf) helloService.getPort(new QName(
                        nameSpaceUri,
                        portName), AllInOneIntf.class);          
                System.out.println(myProxy.justConcat("aasds","as"));The WSDL File is:
    <?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://com.venkat.webservice/AllInOne/targ" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns2="http://com.venkat.webservice/AllInOne/type" name="AllInOneService" targetNamespace="http://com.venkat.webservice/AllInOne/targ">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://com.venkat.webservice/AllInOne/type" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://com.venkat.webservice/AllInOne/type">
    <complexType name="justConcat">
    <sequence>
    <element name="String_1" type="string" nillable="true"/>
    <element name="String_2" type="string" nillable="true"/></sequence></complexType>
    <complexType name="justConcatResponse">
    <sequence>
    <element name="result" type="string" nillable="true"/></sequence></complexType>
    <complexType name="takeCustomObject">
    <sequence>
    <element name="ValueObject_1" type="tns:ValueObject" nillable="true"/></sequence></complexType>
    <complexType name="ValueObject">
    <sequence>
    <element name="comp" type="string" nillable="true"/>
    <element name="name" type="string" nillable="true"/></sequence></complexType>
    <complexType name="takeCustomObjectResponse">
    <sequence>
    <element name="result" type="string" nillable="true"/></sequence></complexType>
    <element name="justConcat" type="tns:justConcat"/>
    <element name="justConcatResponse" type="tns:justConcatResponse"/>
    <element name="takeCustomObject" type="tns:takeCustomObject"/>
    <element name="takeCustomObjectResponse" type="tns:takeCustomObjectResponse"/></schema></types>
    <message name="AllInOneIntf_justConcat">
    <part name="parameters" element="ns2:justConcat"/></message>
    <message name="AllInOneIntf_justConcatResponse">
    <part name="result" element="ns2:justConcatResponse"/></message>
    <message name="AllInOneIntf_takeCustomObject">
    <part name="parameters" element="ns2:takeCustomObject"/></message>
    <message name="AllInOneIntf_takeCustomObjectResponse">
    <part name="result" element="ns2:takeCustomObjectResponse"/></message>
    <portType name="AllInOneIntf">
    <operation name="justConcat">
    <input message="tns:AllInOneIntf_justConcat"/>
    <output message="tns:AllInOneIntf_justConcatResponse"/></operation>
    <operation name="takeCustomObject">
    <input message="tns:AllInOneIntf_takeCustomObject"/>
    <output message="tns:AllInOneIntf_takeCustomObjectResponse"/></operation></portType>
    <binding name="AllInOneIntfBinding" type="tns:AllInOneIntf">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="justConcat">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/></input>
    <output>
    <soap:body use="literal"/></output></operation>
    <operation name="takeCustomObject">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/></input>
    <output>
    <soap:body use="literal"/></output></operation></binding>
    <service name="AllInOneService">
    <port name="AllInOneIntfPort" binding="tns:AllInOneIntfBinding">
    <soap:address location="http://venkat:8080/AllInOneServiceBean" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/></port></service></definitions>
    Please let me what mistake i am doing if any? or is this a bug
    Thanks
    Venkat

    If you are using document/literal, which this WSDL is, you would be much better off using Metro (JAX-WS) as it has a much better dynamic interface in the Dispatch APIs. Metro: http://metro.dev.java.net, JAX-WS: http://jax-ws.dev.java.net.

  • Dynamic Proxy and OutOfMemoryError

    I ran into this problem before when working with Proxied objects.
    I am integrating iBatis into my framework and using Dynamic Proxies to allow a developer to pass in a DAO interface and the Dynamic Proxy will retrieve the correct iBatis SQL Map and run it according to the DAO interface method. Some of these DAO methods take parameters that are lists with 100,000s of records. When I run my batch process using Dynamic Proxies, I get OutOfMemoryError in WebLogic. When I remove the Dynamic Proxy and create a simple implementation for my DAO that I use instead of Proxying it, I get no error and my process runs fine.
    Any thoughts? Does sending huge amounts of data through a Proxy or doing quite a bit of activity inside a Proxied object cause OutOfMemoryErrors?
    Thanks,
    -jay blanton

    Check you don't have an infinite loop or recursion which is wrapping Proxies in Proxies in Proxies...

  • How to block IP addresses or IP blocks through the 5505 ASDM interface, not through command lines?

    Is it possible to block IP addresses or IP blocks through the 5505 ASDM interface, and not through command lines? If so, how?

    Unfortunately I can't share any information on the router. It's company policy. But, if you could let me know where in the GUI interface of the router where I can find the ACL and how to enter the IPs to block I would really appreciate it.

  • Sporadic issues uploading large dynamic content blocks using REST API

    I have been using calls to endpoints like https://secure.eloqua.com/API/REST/1.0/assets/dynamicContent/157 (where "157" is a content block ID) to update existing dynamic content blocks. This has generally worked well for about a month and a half. Starting Saturday morning around Midnight, though, the majority of these calls started failing, with socket error "connection was forcibly closed by remote host".
    That's the .NET verbiage; at a lower level, this is socket error #10054. When using CURL, I get the result pictured below:
    This is sporadic; over the course of today, maybe 25% of these calls have succeeded and 75% have failed. The calls are mostly identical. At other times, we've gone days, maybe weeks without an issue, and I figured that the isolated failures of this sort that we did get related to scheduled downtime, loss of connectivity, and other transient conditions.
    The payload (PUT data) I'm sending up is ~450KB of JSON. It contains the top-level details about the block itself, plus all of the dynamic content / rules criteria, including the default.
    At first, I wondered if some sort of weird character (ampersand, less than / greater than...) had entered my data, flowed into the API call unescaped, and created a problem (e.g. invalid JSON). However, I did some troubleshooting, and the failure we're seeing does not seem to correlate with the absence or presence of any one content / rule item in particular. Rather, it seems to be volume related, i.e. I can send any one of the rules I want to create, or just a few, and that will succeed. But I cannot send all (or most) of the rules at once without experiencing failures most of the time (lately).
    So, if there were a way for me to split up the creation of the block over multiple API calls (one call to create the block, another to add the default content rule, yet another for the first non-default content rule, and so on), I think that would work. I find no indication on Topliners or in the Eloqua API documentation to indicate that this is possible, though.
    It has occurred to me that we are over some API call threshold. I know that some Eloqua installations have a per-day API call limit as low as 20,000. My question is, what do I see when I exceed the limit? Do I get the "forcibly closed" error, or another error perhaps, or is my activity simply throttled by the server? And is there somewhere in Eloqua that I can see where I stand with respect to this limit?
    Finally, I know we've done some things recently that have increased our overall processing load on the Eloqua servers. In particular, a larger number of contacts than previously have been flowing in from our CRM system. One theory I had was that we're allocated a certain amount of total processing power, and that if we overload this capacity complex API calls are subject to timing out. (My communications timeout is set to 10 minutes, and the error message comes up after about 2-3 minutes, but I don't know what kind of timeouts Oracle might have set up on their own equipment.) That being said, my code needs to basically wait indefinitely for this data, and certainly not give up after 2-3 minutes. If there's a way to indicate this fact to Oracle, I'd certainly like to know about that.
    Thank you all for reading and attempting to help!

    Hi James,
    As far as I have been told (by Support) is that the API Limit is a soft limit that is not currently enforced.
    I have seen other API endpoints failing from time to time (mostly on the BULK API) and have had to write logic to redo calls that fail. My failures seems to occur primarily due to server load and I can force them by making allot of exports at the same time.
    In regards to the Dynamic Content Rules I think that you might be able to make the rules one/two rules at the time. What I would test is to make a Dynamic Content with only the default content. Then loop through your rules and only have new rules in the Rules section of the Dynamic Content.
    One more thing. Try using the REST/2.0 endpoint.

  • How to get the payment block through the BAPI_INCOMINGINVOICE_CREATE

    Hi,
    how to populate payment block through the BAPI (BAPI_INCOMINGINVOICE_CREATE).  always it is showing 'R' in MIR4 Transaction after the BAPI is executed.

    check
    BAPI_INCINV_CREATE_HEADER-PMNT_BLOCK
    regards
    Prabhu

  • Jax-ws: dynamic proxy-suppress weblogic's default ws-policy handling

    hi all,
    i am writing my own jax-ws client (dynamic proxy) to call a web service, secured by usernametoken profile.
    the wsdl of the web service do include the ws-policy information.
    sample client side code:
    URL url = new URL("path_to_wsdl_file");
    QName serviceQname = new QName("http://model/", "CalculationService");
    Service service = Service.create(url, serviceQname);
    //add resolver and jax-ws handler to add username token SOAPElement fragment to the SOAP message.
    the above code runs fine in J2SE 6.0 environment (without any weblogic-specific library).
    but when i run the above code in a servlet (running in weblogic), the above code fails with the following error:
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Unable to add security token for identity, token uri =http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken
    at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:196)
    at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy23.add(Unknown Source)
    at client.ServiceLocator.main(ServiceLocator.java:32)
    it seems that the weblogic server will try to handle the ws-policy element (according to those in the wsdl), even though
    i have already added the username-token security header by my own code.
    As i don't add some weblogic-specific code (e.g. weblogic.wsee.security.unt.ClientUNTCredentialProvider), the web service call fails.
    is it possible to disable/suppress such behavior (weblogic runtime handle the ws-policy element) per web service call???
    (i don't want a server scope solution, as there may be other web service client running on the same weblogic server that rely on such behavior).
    i don't want to use weblogic's API (e.g. ClientUNTCredentialProvider) as i want my web service client be portable (username token is easy to be handled by my own code)
    thank you.

    Hi René ,
    i just use plain HTTP, not HTTPS.
    seems don't involve any certificate, am i right?
    in J2SE environment, i can run the webservice client without problem.
    but once i run the client in weblogic, the problem mentioned occurred.
    if i manually delete the ws-policy related tag in the wsdl file (i download it to local filesystem for testing), the client can run in weblogic too.
    so, think there is some setting in weblogic that try to handle the ws-policy by its so-called 'credential provider'(e.g. ClientUNTCredentialProvider ?)
    thank you.

  • Dynamic proxy, several instances, same name, diff ids?

    I'm using a dynamic proxy with a simple invocation handler. Using the proxy for several instances of the target object should yield multiple instances of the proxy. In the debugger, each proxy instance is named $proxy0 with different ids. Can someone please elaborate on this? Specifically, the Proxy instance is created using the target object. Thus, how can each proxy instance have the same name, when different target objects (of the same type though) are used to construct the Proxy object? Is the Proxy instance the same regardless of the target object?
    I : interface
    T: target class
    pseudo thing:
    <code>
    T t1, t2, t3 ... new ...
    I i1 = (I) Proxy.newInst...(..., ..., t1)
    I i2 = (I) Proxy.newInst...(..., ..., t2)
    I i3 = (I) Proxy.newInst...(..., ..., t3)
    Each i has name $proxy0 with different id. For instance: i1-> $proxy0 id=68, i2 ->$proxy0 id= 32, etc.
    </code>
    Insight is appreciated!

    is it the same proxy that is instantiated three times (obviously)?It is the same proxy class that is instantiated three times. Obviously. Because that is the only meaning for 'instantiate' in Java.
    But how can that be when the target object for each Proxy instance is different?Because they are three different instances of the same class, each with a different target object.
    What's the problem here?

  • Any example of dynamic proxy with RMI?

    Hi, are there any good example of dynamic proxy with RMI, using the new RemoteObjectInvocationHandler class?
    I am currently implementing a Registry, and want to use dynamic proxy to wrap around the registry stub, to pass extra information to the client.
    I've tried it, but the program will hang and get this exception:
    Exception in thread "RMI TCP Connection(1616)-192.168.1.23" java.lang.OutOfMemoryError: Java heap space
    My implementation looks like this:
    public RegistryImpl extends RemoteServer Implements Registry {
        public RegistryImpl(int port, Properties... properties) throws RemoteException, ChannelException {
             // Create a reference for the registry.
         LiveRef liveref = new LiveRef(id, port);
            ref = new UnicastServerRef(liveref);
             Registry proxy = (Registry)RegistryProxy.newProxyInstance(
                  this.getClass().getClassLoader(),
                  this.getClass().getInterfaces(),
                  new RemoteObjectInvocationHandler(this.getRef()));
             /* Using dynamic proxy */
             usref.exportObject(proxy, null, true);
    public class RegistryProxy extends Proxy implements Registry {
         private InvocationHandler handler;
         public RegistryProxy(InvocationHandler handler) {
              super(handler);
              this.handler = handler;
         public Remote lookup(String name) throws RemoteException, NotBoundException, AccessException {
              Remote result;
              try {
                   Method m = Registry.class.getMethod("lookup", new Class[]{String.class});
                   result = (Remote)handler.invoke(this, m, new Object[]{name});
              } catch (SecurityException e) {
                   throw new UndeclaredThrowableException(e);
              } catch (NoSuchMethodException e) {
                   throw new UndeclaredThrowableException(e);
              } catch (Throwable e) {
                   throw new UndeclaredThrowableException(e);
              return result;
         public void bind(String name, Remote remoteObj) throws RemoteException, AlreadyBoundException, AccessException {
         public void unbind(String name) throws RemoteException, NotBoundException, AccessException {
         public void rebind(String name, Remote remoteObj) throws RemoteException, AccessException {
         public String[] list() throws RemoteException, AccessException {
    }I am new to Java programming, any help is appriciated.
    Regards
    Eddie

    Hi Eddie,
    Perhaps you might like this one:
    http://wiki.java.net/bin/view/Communications/TransparentProxy
    it uses dynamic proxies to achieve complete RMI transparency.
    Something to consider, good luck.
    John

  • Dynamic proxy client error

    hello,
    im running a dynamic proxy client for a simple web service. I have the web service up and running but when i run the client i get the following error:
    run-client:
    [java] java.lang.NoClassDefFoundError: dynamicproxy/BookClient
    [java] Exception in thread "main"
    [java] Java Result: 1
    run:
    BUILD SUCCESSFUL
    Total time: 2 seconds
    My client code is as follows:
    package dynamicproxy;
    import java.net.URL;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    import dynamicproxy.BookIF;
    public class BookClient{
    public static void main(String[] args){
    try{
    String UrlString = args[0] + "?WSDL";
    String nameSpaceUri = "urn:Foo";
    String serviceName = "MyBookService";
    String portName = "BookIFPort";
    System.out.println("UrlString = " + UrlString);
    URL bookWsdlUrl = new URL(UrlString);
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
                   Service bookService = serviceFactory.createService(bookWsdlUrl,
                   new QName(nameSpaceUri, serviceName));
    dynamicproxy.BookIF
    myProxy = (dynamicproxy.BookIF)
    bookService.getPort(new QName(nameSpaceUri, portName),
    dynamicproxy.BookIF.class);
                   System.out.println("The sum of the 2 numbers is:");
    System.out.println(myProxy.add(1, 2));
    catch (Exception ex)
    ex.printStackTrace();
    Any ideas??

    thnx kwalsh1 i got it working. It was the targets.xml file in jaxrpc/common, i edited the package-dynamic to include all class files!

  • Dynamic proxy invokes basic auth web service

    My dynamic proxy client works fine with any web service except the basic auth secured one.
    I know how to use stub client to work around this issue. But I haven't found a way to get around when dynamic proxy clients are used.
    Any idea is appricated. Thanks

    Paula-
    Given that you can work around this issue with the stub client,
    you should be able to work around the issue in the dynamic proxy client
    in the same way-
    I am interested that you say workaround the issue with the stub client.
    Is there a problem that you have noted?
    If you can let me know how you worked this issue with the stub,
    and what problems you have specifically had with the dynamic proxy client
    I will look at the issue to see if it a bug.
    Please let me know what environment you are working in, the version of jaxrpc 1.x,
    what container, jdk or jre and a sample client program that would help me understand
    the problem.
    Thanks,
    Kathy

  • Dynamic Proxy Client

    Hi all,
    iam trying to use the dynamic proxy client with the following lines
    String UrlString =
    "http://localhost:8080/ProxyHelloWorld.wsdl";
    String nameSpaceUri = "http://proxy.org/wsdl";
    String serviceName = "HelloWorld";
    String portName = "HelloIFPort";
    URL helloWsdlUrl = new URL(UrlString);
    ServiceFactory serviceFactory =
    ServiceFactory.newInstance();
    Service helloService =
    serviceFactory.createService(helloWsdlUrl,
    new QName(nameSpaceUri, serviceName));
    //HelloIF myProxy = (HelloIF) helloService.getPort(
    //new QName(nameSpaceUri, portName),
    //proxy.HelloIF.class);
    when i try to do this i get the following exception
    Exception in thread "main" java.lang.NoSuchMethodError
    at com.sun.xml.rpc.wsdl.parser.Util.verifyTagNSRootElement(Util.java:59)
    at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLP
    arser.java:191)
    at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLP
    arser.java:165)
    at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitions(WSDLParser.ja
    va:96)
    at com.sun.xml.rpc.wsdl.parser.WSDLParser.parse(WSDLParser.java:91)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLMod
    eler.java:85)
    at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:
    77)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBui
    lder.java:96)
    at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.buildServiceInfo(Servic
    eInfoBuilder.java:59)
    at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService
    .java:44)
    at com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactor
    yImpl.java:32)
    at JAXRPCClient.main(JAXRPCClient.java:38)
    what am i doing wrong
    suresh

    Hi,
    Yeah the Wsdl is hosted at http://localhost:8080/ProxyHelloWorld.wsdl.I also tried binding with a few xmethods service i get the same error.
    same error.

  • Dynamic proxy on jwsdp 1.1 deserialization error

    Hi,
    I want to use a dynamic proxy to get information from an webservice.
    normal datatypes like String or integer works fine. But when I want to have an object back, I get an deserialization error. I use sdk 1.3.1_08 and the jwsdp 1.1
    Does the jwsdp 1.1 support to transfer objects with dynamic proxy?
    thx
    Matthias

    I must use the jwsdp 1.1 because our clients run on IBM-Webspehre the highest sdk wich is at the moment supported is sdk 1.3.1_08.
    But with the jwsdp and sdk 1.4.2 I became also an exception.
    her it is:
    UrlString = http://localhost:8080/uisservice/endpoint?WSDL
    deserialization error: java.lang.NullPointerException
         at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:212)
         at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl._readFirstBodyElement(CallInvokerImpl.java:188)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:168)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:56)
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:281)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:98)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:70)
         at $Proxy0.getTestUser(Unknown Source)
         at test.TestClient.main(TestClient.java:37)
    CAUSE:
    java.lang.NullPointerException
         at com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.doDeserialize(SOAPResponseSerializer.java:106)
         at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:165)
         at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl._readFirstBodyElement(CallInvokerImpl.java:188)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:168)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:56)
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:281)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:98)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:70)
         at $Proxy0.getTestUser(Unknown Source)
         at test.TestClient.main(TestClient.java:37)
    CAUSE:
    java.lang.NullPointerException
         at com.sun.xml.rpc.encoding.soap.SOAPResponseSerializer.doDeserialize(SOAPResponseSerializer.java:106)
         at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:165)
         at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl._readFirstBodyElement(CallInvokerImpl.java:188)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:168)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:56)
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:281)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:98)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:70)
         at $Proxy0.getTestUser(Unknown Source)
         at test.TestClient.main(TestClient.java:37)
    and here my client class:
    public class TestClient {
         public static void main(String[] args) {
              try {
                   String UrlString ="http://localhost:8080/uisservice/endpoint?WSDL";
                   String nameSpaceUri = "http://localhost:8080/uisservice/wsdl/UisService";
                   String serviceName = "UisService";
                   String portName = "UisServicePort";
                   System.out.println("UrlString = " + UrlString);
                   URL helloWsdlUrl = new URL(UrlString);
                   ServiceFactory serviceFactory = ServiceFactory.newInstance();
                   Service uisService = serviceFactory.createService(helloWsdlUrl,
                        new QName(nameSpaceUri, serviceName));
                   //END E anderer code
                   UisService
                        myProxy = (UisService)uisService.getPort(new QName(nameSpaceUri, portName), UisService.class);
              System.out.println(myProxy.getTestUser().getFirstname());
              } catch (Exception ex) {
                   ex.printStackTrace();

  • JAX-RPC Dynamic Proxy Client Question

    I have a very simple web service successfully deployed using Tomcat 5 and Apache Axis. It simply takes a string and returns a String. Regardless, it's working.
    Now I'm wanting to create a JAX-RPC dynamic proxy client as described on the following page:
    http://java.sun.com/webservices/docs/1.3/tutorial/doc/JAXRPC5.html
    There are numerous other articles out there describing the same method.
    My problem is that I'm getting a ServiceException on the following line every time I try to run my client:
    ServiceFactory factory = ServiceFactory.newInstance();
    Would anyone have any ideas why this might be or what I might be missing? All the articles make it seem like this is just a trivial line and never mention much about it.
    Any help would be appreciated. Thanks.

    Hello,
    You are getting a service Exception on ServiceFactory.newInstance() method?
    Actually, I have never seen this problem before. Is it possible that there are
    classpath issues? That is, are you using just the jars from the jwsdp?
    Regards,
    Kathy

  • How to make a dynamic proxy client in Java ME?

    Hi guys!
    I have an existing static stub web service client to WCF made by generating client stub feature of the Netbeans. How do I make this into a dynamic proxy?

    tsubaki.pw wrote:
    I have an existing static stub web service client to WCF. How do I make this into a dynamic proxy?What is the WCF?

Maybe you are looking for

  • IC Web Client ,(CRM 7.0) creation of Tech Master Data for IS Utilities

    Hi Experts, We have created & assigne d (UTIL_IC_REG) Business Role in our project. When I check the Technical Data option , it allows me to create ( Connection Object ,Premise & POD ) My question is how these objects are created. Is these object fir

  • Camcorder/iMac communication

    I posted this question on the iMovie forum a few days ago with no responses so I thought I would give this forum a try. I own a Sony camcorder Model DCR-DVD203 which I purchased in August of 2005. I have never attempted to connect it to my iMac (Inte

  • WAAS: Standard vs Extended ACL's for WCCP Transparent Redirection

    I've come across a number of implementations where the ACL's associated with services 61 & 62 are using extended access-list. I am writing with specific reference to wccp configured in promiscuous mode. Since WCCP will only redirect TCP, and the WAAS

  • Security with CNet Router

    Hi everyone, I have a question about security with my iBook G4 Airport Extreme, and my home network. I have a 4 UTP and wi-fi router, CNet branded, and I like to know what are the main differences betwen the security setups: WEP WPA WPA2 WPA2 Mixed a

  • PNG File Visable Outside the Boundaries of my Banner

    I exported a swf file of my animated Flash banner, and my one of my images (a PNF file I imported into my Library, and drug to my Stage) is larger than the stage area.  When I expand the window of Flash Player of my swf file, I see the boundary area