Webservice Client with Secure WSDL?

I have a WSDL which is user id and password protected. How do I generate the web services client for this secure wsdl?
weblogic clientgen ant task doesn't seem to accept the user id and password.
Any suggestions? Appreciate your help.

Thanks YoGee for your response.
I generated the client jar with the physical copy of wsdl but the problem is while accessing the web service, the client code doesn't find the wsdl.
Here is the sample code
HelloWS_Service helloService = new HelloWS_Service(
                               new URL("http://100.100.0.88/axis/services/HelloWS?wsdl"),
                               new QName("http://test.ap.com","HelloWS"));
// Is there a way I could pass username and password to access  the wsdl?
HelloWSService helloWS = helloService.getHelloWSPort();The exception occurs while reading the Web Service
javax.xml.ws.WebServiceException: weblogic.wsee.wsdl.WsdlException:
         Failed to read wsdl file from url due to -- java.io.IOException:
         Server returned HTTP response code: 401 for
         URL: http://100.100.0.88/axis/services/HelloWS?wsdl
         at weblogic.wsee.jaxws.spi.WLSProvider.readWSDL(WLSProvider.java:306)Edited by: munnar on Jun 15, 2010 8:06 AM

Similar Messages

  • Unable to generate WebService Client with Exported (BAPI) WSDL file from XI

    Hi there,
    I, trying to setup a simple Web Service environment where I'll be exposing a BAPI as Web Service via XI.
    So these are the steps I followed:
    <b>1)</b> first I imported the BAPI meta data into my SWC in the repository. <b>2)</b> Second I defined my interrface etc.. <b>3)</b> Third I exported the generated BAPI WSDL file. <b>4)</b> Fourth, I tried to generate a Java proxy/client for my Web Service using a Java IDE (IBM WebSphere Application Developer and XML Spy).
    Now the problem is that Im not able to generate the Web Service client using the exported WSDL file, the WSDL seems not to be valid...From the generated errors in the IDE, I can see that the problem has to do somewhere/somehow with the WSDL Binding element, which input parameters do not match the input parameters of the port type.
    This is a small part of the WSDL file as generated by XI:
         <wsdl:message name="BAPI_AR_ACC_GETOPENITEMS.Input">
              <wsdl:part name="parameters" element="s0:BAPI_AR_ACC_GETOPENITEMS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
         </wsdl:message>
         <wsdl:message name="BAPI_AR_ACC_GETOPENITEMS.Output">
              <wsdl:part name="parameters" element="s0:BAPI_AR_ACC_GETOPENITEMS.Response" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
         </wsdl:message>
         <wsdl:portType name="BAPI_AR_ACC_GETOPENITEMS.PortType">
              <wsdl:operation name="BAPI_AR_ACC_GETOPENITEMS">
                   <wsdl:input message="s0:BAPI_AR_ACC_GETOPENITEMS.Input"/>
                   <wsdl:output message="s0:BAPI_AR_ACC_GETOPENITEMS.Output"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="BAPI_AR_ACC_GETOPENITEMS.SAPBinding" type="s0:BAPI_AR_ACC_GETOPENITEMS.PortType" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
              <s0:binding style="rfc"/>
    Has anyone faced a situation like this before? Any clues where to look? I appreciate any feedback, thanks!
    Rob.
    Message was edited by: rob viana

    Hi Rob!
    I'm facing the same problem - how did you solve your issue then? I'm getting following error during generation on .NET side:
    ============================================================================================
    Error: There was an error processing 'http://server/wsdl/MIAMI_ACCDOCPost.wsdl'.
      - The document at the url http://server/wsdl/MIAMI_ACCDOCPost.wsdl
    was not recognized as a known document type.
    The error message from each known type may help you fix the problem:
    - Report from 'DISCO Document' is 'Discovery document at the URL http://server/wsdl/MIAMI_ACCDOCPost.wsdl could not be found.'.
      - The document format is not recognized (the content type is 'content/unknown').
    - Report from 'WSDL Document' is 'There is an error in XML document (2, 70138).'.
      - Value cannot be null.
    Parameter name: name
    - Report from 'XML Schema' is 'The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'.
    ============================================================================================
    kr Martin

  • NPE with WebService client with JDeveloper 10.1.3

    Hi folks,
    I am having weird NullPointerException with a WebService client I generated with the WEB Service Proxy wizard in JDeveloper 10.1.3.
    The thing is, the client runs fine as long as there are NO NULL FIELDs in the "double" type returned objects. I don't know about other types, but I am sure it fails with doubles.
    If there is a NULL value in the returned Bean, then marshaling fails with a NullPointerException.
    I guess it is not a Server problem since clients in .NET and AXIS works just fine.
    I don't think it has anything to do with it, but, server is in JBoss-4.0.4.GA with JBossWS-1.0.3.
    May be a bug in JDEV's WebService client code?
    The first line is the deserializer returning a null value. The second is the line with the NPE:
    member = myns2__double__double_Double_Serializer.deserialize(ns4_r1_IA_C1_QNAME, reader, context);
    instance.setR1_IA_C1(((Double)member).doubleValue());
    Any help will be appreciated.
    Best regards.

    This is not an elegant solution.
    I’ve the same problem you have, so the only thing that I thought to solve this problem was to change the sentences one by one replacing with if(member != null) between both sentences.
    I use an editor that can change regular expressions.
    This works fine, but I think there might be a better solution.
    I hope this can help.
    Regards.

  • Webservice client generated from WSDL null entity problem

    hi,
    I'am having a serious problem using the generation (data centric development) capability of Flash builder.
    I have a simple XSD and generated WSLD (from Spring Framework using JAXB). In this I have defined an UpdateRelatie function.
    It looks something like this:
        <xsd:element name="UpdateRelatieRequest">
            <xsd:complexType>
                 <xsd:sequence>
                    <xsd:element name="relatie" type="relatie" minOccurs="1" maxOccurs="1"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="UpdateRelatieResponse">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="relatie" type="relatie" minOccurs="1" maxOccurs="1"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
        <xsd:complexType name="relatie">
            <xsd:sequence>
                <xsd:element name="id" type="xsd:int" />
                <xsd:element name="naam" type="xsd:string" />
                <xsd:element name="telefoonNummer" type="xsd:string" />
                <xsd:element name="mobielNummer" type="xsd:string" />
                <xsd:element name="email" type="xsd:string" />
                <xsd:element name="rekeningNummer" type="xsd:string" />
                <xsd:element name="btwNummer" type="xsd:string" />
                <xsd:element name="kvkNummer" type="xsd:string" />
                <xsd:element name="actief" type="xsd:boolean" />
            </xsd:sequence>
        </xsd:complexType>
    My generated WSDL looks something like this (for the update part as show above).
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:schema="http://www.mydomain.nl/gbs/service/ws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.mydomain.nl/gbs/service/ws">
      <wsdl:types>
        <xsd:schema xmlns="http://www.mydomain.nl/gbs/service/ws" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mydomain.nl/gbs/service/ws">
      [excluded xsd.. see above]
    </xsd:schema>
      </wsdl:types>
      <wsdl:message name="UpdateRelatieRequest">
        <wsdl:part element="schema:UpdateRelatieRequest" name="UpdateRelatieRequest">
        </wsdl:part>
      </wsdl:message>
      <wsdl:message name="UpdateRelatieResponse">
        <wsdl:part element="schema:UpdateRelatieResponse" name="UpdateRelatieResponse">
        </wsdl:part>
      </wsdl:message>
       <wsdl:portType name="Relatie">
        <wsdl:operation name="UpdateRelatie">
          <wsdl:input message="schema:UpdateRelatieRequest" name="UpdateRelatieRequest">
        </wsdl:input>
          <wsdl:output message="schema:UpdateRelatieResponse" name="UpdateRelatieResponse">
        </wsdl:output>
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="RelatieBinding" type="schema:Relatie">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="UpdateRelatie">
          <soap:operation soapAction=""/>
          <wsdl:input name="UpdateRelatieRequest">
            <soap:body use="literal"/>
          </wsdl:input>
          <wsdl:output name="UpdateRelatieResponse">
            <soap:body use="literal"/>
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="RelatieService">
        <wsdl:port binding="schema:RelatieBinding" name="RelatiePort">
          <soap:address location="http://localhost:8080/GBS/relatieService"/>
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>
    When I run my test client written in Java, I can update any given relatie-object in my database.
    BUT when I, based upon this, generate a webservice stub using the "data -> connect to webservice" option. I get nicely generated code and the ability to to bind this to an form with which I can edit the data.
    Now for my PROBLEM:
    When I enter data in the form, during the process of transforming my Relatie object to XML, my entire object disappears. i.e. my object does NOT get transformed to XML for soap transport. Somewhere deep in the webservice code, it just gets ignored and I do NOT know why.
    What does work is retrieving data through a webservice. I can display a nice grid full of data from my database. What does not work is trying to send a domain object (Relatie) from Flex through a webservice and process it in java. The object is null on the java side. I can even see in the resulting soap envelope that nothing gets transformed to XML. See output below:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
      <SOAP-ENV:Body>   
        <schema:UpdateRelatieRequest xmlns:schema="http://www.mydomain.nl/gbs/service/ws"/>  <!-- NO OBJECT -->
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Which should have been based upon the given WSDL (as the java client does send over the wire)
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
      <ns3:InsertRelatieRequest xmlns:ns3="http://www.mydomain.nl/gbs/service/ws">
        <relatie>
          <btwNummer>BTW</btwNummer>                                                                                            <!-- OBJECT PRESENT -->
          <actief>false</actief>
       </relatie>
      </ns3:InsertRelatieRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Can anyone help me please. I'am stuck now.
    Kind regards,
    Marc

    Thanks for the detailed steps. I was able to reproduce the issue.
    I have logged an issue under 'WebService'. https://bugs.adobe.com/jira/browse/SDK-24841 . We will look into it.
    -Radhakrishna

  • Generate client from secured WSDL URL

    I was playing arounf with the (excellent) Web Service Proxy generation wizard in JDeveloper.
    It works great but I did run into one annoying issue.
    When I try to enter an URL to a WSDL that will serve as the source for the proxy generation JDeveloper is not able to find it if the URL requires some form of authentication. In my example the service requires basic username/password authentication (and so does the ?WSDL).
    I can work around it by accessing the WSDL through my browser and storing it locally but I'd prefer to use the direct URL so that I can easily refresh it. Is there something I'm doing wrong?

    Thanks for the assistance, I've saved the WSDL locally and secured the proxy, now I get the following error :
    SEVERE: No username found
    Exception in thread main
    oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: No username found
    at oracle.security.wss.interceptors.AbstractSecurityInterceptor.throwSOAPFaultException(AbstractSecurityInterceptor.java:222)
    at oracle.security.wss.interceptors.AbstractSecurityInterceptor.handleOutbound(AbstractSecurityInterceptor.java:196)
    at oracle.security.wss.interceptors.ClientInterceptor.handleRequest(ClientInterceptor.java:48)
    at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.handleRequest(InterceptorChainImpl.java:122)
    at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorPipeline.handleRequest(AbstractInterceptorPipeline.java:87)
    at oracle.j2ee.ws.client.StubBase._preRequestSendingHook(StubBase.java:646)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:141)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
    at testsms.runtime.Service1Soap_Stub.ws_submitSimple(Service1Soap_Stub.java:453)
    at testsms.Service1SoapClient.ws_submitSimple(Service1SoapClient.java:52)
    at testsms.Class1.main(Class1.java:41)
    Caused by: FAULT CODE: InvalidSecurity FAULT MESSAGE: No username found
    at oracle.security.wss.WSSecurity.build(WSSecurity.java:1627)
    at oracle.security.wss.interceptors.AbstractSecurityInterceptor.handleOutbound(AbstractSecurityInterceptor.java:188)
    ... 9 more
    The only thing I enabled when securing it was Authentication, when I right click and edit the security propertes the "Authentication" tab has "Use Username to Authenticate" password type "Plain text" and I disabled "Add Nonce" and "Add create time" after it failed first time.
    Where is it expecting to get username and password from ? I have the right username and apssword in Tools->Preferences->Web Browser and Proxy, is that where it comes from ?
    Just to reitterate its the internet proxy server at my end that I'm trying to get through - the web service itself does not use WS Security, so I'm thinking that the mention of WSSecurity in the error means I'm going the wrong way here.

  • WLS 8.1.4 - Generating WebService client with HTTP 1.1 protocol

    I tried to generated a web service client (Weblogic Workshop 8.1.4) from a WSDL.
    When I run this client I found that it uses HTTP 1.0 protocol (from access log)
    Is there a way (flag,...) to force the client to use HTTP 1.1 protocol ?
    Thanks
    Andrea

    martin ng wrote:
    any reply so far?....seems to me weblogic need to improve their support. Whenever i make a query eveything goes to Forum.Hi. I hope it's documented somewhere that these forums are not
    official BEA/WebLogic support. For quick official support, open
    a case with them at:
    http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/support/contacts/
    Joe

  • Java webservice client with windows domain authentication

    I'm writing (well attempting to) a Java web service client using netbeans that consumes a web service written in C#, that uses NTLM authentication.
    If I consume the webservice from a .NET client, authentication isn't a problem; I can just pass the crediantails in on an engine object.
    eg engine.Credentials = System.Net.CredentialCache.DefaultCredentials.
    Upon consuming this webservice in java the Credentials method doesn't appear on the engine object like it doesn't with it's C# counterpart.
    I assume that Java goes about a different way of doing windows domain authentication?
    Cheers

    for what ever reason it just seemed to start working.

  • Design Question - Reusable WebService Client with UI

    Hi,
    How to design, and package a web service client so that it would be a reusable ADF component?
    Recently, I have been working on a web service client. I have used a Java proxy and exposed this java proxy as a data control, and have used this (drag & drop) on a jsf fragment page.
    However, there might be a strong situation where other teams on this program would be using it, instead of they reinventing the wheel, I was thinking they could reuse this.
    Having said that, and searching this forum, I am not sure to package, or what additional things to to so that it is cleaner to expose this component for reuse.
    Any direction is greatly appreciated.
    Thank you,
    VJ

    Hi,
    create a bounded task flow that contains UI in a page fragment (for this you need to create the bounded task flow to use page fragments, which is a setting when creating task flows). The package the whole bounded task flow in an ADF library (create a new deployment profile --> ADF library). This then packages the data control and the UI.
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/reusing_components.htm#BEIGHHCG
    Frank

  • Webservice client is not working for secured service

    Hi Experts,
    Currently i am facing issue when i try to access the secured webservice,
    I used jdeveloper 11.1.2.1.0 to create the webservice client proxy and found the following error if i invoke the service,
    I am using the following code to access the service,
    URL url = new URL(".", wsdl_url);
    MyService myservice = new MyService(url, new QName("urn:drs.test.com",
    "MyService"));
    myTester = myservice .getTester();
    Map<String, Object> reqContext = ((BindingProvider) myTester ).getRequestContext();
    reqContext.put(BindingProvider.USERNAME_PROPERTY, "user name");
    reqContext.put(BindingProvider.PASSWORD_PROPERTY, "password");
    May i know the reason for this issue?
    javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Invalid XML in source with PublicId: null: oracle.xml.parser.v2.XMLParseException: Whitespace required.
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:344)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:294)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:278)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:484)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:455)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1050)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.xml.parser.v2.XMLParseException: Whitespace required.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.XMLReader.scanQuotedString(XMLReader.java:1831)
         at oracle.xml.parser.v2.XMLReader.scanQuotedString(XMLReader.java:1939)
         at oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingParser.java:489)
         at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:363)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:321)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:337)

    Hi
    I am facing similar issue but with Custom Adapter . I copied the axis jars under the JavaTasks folder but it does not help.
    I then copied them under the oim.ear/APP_INF/lib and restarted the OIM managed server but somehow even that does not help.
    I get following error.
    Caused by: java.lang.NoSuchMethodError: org/apache/axiom/om/OMAbstractFactory.getMetaFactory()Lorg/apache/axiom/om/OMMetaFactory;
            at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:150)
            at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:133)
            at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:104)
            at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:590)
            at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575)
            at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
            at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:90)
            at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
            at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
            at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
            at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
            at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
    Any pointer on how I can try to resolve it.
    Regards
    Abhinav

  • Problem using VB Client with a JAVA Webservice

    Hi people!
    I'm using JDeveloper (9.0.3) to create a JAVA Webservice on OC4J container. I followed tutorial of Oracle and I got to execute my webservice, including I can invoke my methods by HTTP using HTML forms.
    I need to invoke my methods using a VB Client with MIcrosoft SOAP ToolKit. My VB code is:
    Function autenticar(login As String, senha As String)
    Dim ObjWS As New MSSOAPLib30.SoapClient30
    Dim retorno As Variant
    Call ObjWS.MSSoapInit("http://10.71.200.40:8888/iSimp-Web-Root/br.gov.anp.isimp.controleVersao.ControleVersaoEJB?WSDL")
    retorno = ObjWS.autentica(login, senha)
    autenticar = retorno
    End Function
    My webservice publish a method called autentica that receives two parameters (a login and a password) and authenticates to obtain access to my system.
    When I try to execute this function, I got this message error:
    No deserializer found to deserialize a ":login" using encoding style "http://schemas.xmlsoap.org/soap/encoding/". [java.lang.illegalArgumentException]
    Anyone knows what is this error?

    If you could post what solved your problem that would be useful for others that run into the same issue. Thanks if possible!
    Mike.

  • XMLStreamReader exception when using webservice with security access denied

    Hi,
    I'm using CXF webservices generated from a WSDL with SOAP document style. Under normal conditions, the client and server work fine, and can I read info back from the the server (SOAP http messages passed between both)
    However, for some servers, I am using SUNs Policy Agent, which checks for an authentication token in the http header cookie before allowing access to the web service. I set up the cxf service port as follow:
    Service service = Service.create(serviceName);
    service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, address);
    servicePort = (IMyService)service.getPort(portName, IMyService.class);
    I also add the authentication token to the http header cookie in the service's request context.
    If the token is correct, everything works fine. However, if the token is incorrect, and access is denied, the policy agent does not return a SOAP http message. In this case, the web service method throws a low-level XMLStreamReader exception i.e. it can't read the SOAP message response - so I can't get the actual response from the policy agent.
    Would anyone have an idea on this? Should I configure the CXF port differently, or should I try to get the policy agent to return a SOAP message even if access is denied.
    There is already a browser that can access the policy agent - and this needs to be redirected if access is denied. So in effect, we need the redirect functionality for the browser, and the returned SOAP message for the application using the web service.
    Any help would be greatly appreciated!
    Rob

    Thanks for your answer.
    I eventually found a workaround for this problem.
    Actually you don't need to provide an SSO cookie the first time you connect to the webgate server, you just need to provide basic credentials and the webgate will provide you an SSO cookie that you can use for the next call.
    The problem is that this doesn't work out of the box with the .NET/WSDL framework for some reason (with Java + the HTTPClient library I had no problem).
    I had to had manually the following headers to the HTTP request to make it work:
    Authentication: Basic XXXXXXXX
    Cookie: OBBasicAuth=fromDialog
    Where XXXXXXXX is a base64 encoded string containing "login:password"
    Thanks,
    Franck

  • Create web service consumer client with Ant and wsdl

    How can I create a web service client with just Ant and WSDL?
    Thanks.

    Hi,
    Did you check this web log?
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Eddy

  • Can't open secured documents on windows 7 domain client with mandatory profiles.

    While opening certain PDF files we have the problem that the user is presented with a message that he does not have the rights permissions. This happens twice, after that the users gets an empty page with the message the Adobe version might not be up to date. We use Acrobat Pro 10, but this also happens while using Reader 11.0.8. On our windows 2008 terminal services machine this could be fixed by giving the user rights on c:\ to create and remove a file. :O. On windows 7 this doesn't work probably because of UAC. But we've tried every solution to that available on the internet, disabling uac, changing uac options, changing rights on userprofile folders, changing rights on c:\ but to no avail. When using process explorer we can see it wants to create a temp file p328hkl.tmp or something like that on C but it can't and immediattely after is shows the error on screen.
    Anyone who also has this problem or solved it? There are no problems with simple self made pdf files/scans but only with certain types of pdf files for which it tries to create a tmp file.
    Thanks,
    Peter

    Hi Brogers,
    Thanks for your reaction. We do have AppData redirection in place. We redirect AppData to a share on our data server which works perfectly fine for all other applications. The weird thing is that Reader/Acrobat try to write to C:\ which to my knowledge should not happen, is this maybe a fallback because it can’t write to a different location? Users have full control on their own roaming AppData but not on their local AppData that is made by windows itself while copying the mandatory default profile to C:\.
    I might use the wrong term while saying secured documents. I’m talking about a document created by Raet/Youforce a web application for personal administration. The documents can be opened by other viewers than Acrobat/Reader but then only contain the background and not the text. In Acrobat/Reader they do open normally when Acrobat/Reader can create the .tmp file. Otherwise it will not display the file at all. I would attach such a document to see but since it contains certain info I am not allowed to do so.
    I hope we can work out a solution for this.
    Met vriendelijke groet,
    Peter Gerritsen
    Engineer
    AndoBurg BV
    Voorstraat 31
    3931 HB Woudenberg
    T 033 479 40 80
    F 033 479 40 89
    E [email protected]<mailto:[email protected]>
    I www.andoburg.com<http://www.andoburg.com/>
    Als u niet de geadresseerde van dit bericht bent, verzoeken wij u ons hiervan op de hoogte te brengen en het bericht te verwijderen. AndoBurg BV aanvaardt geen aansprakelijkheid voor schade die voortvloeit uit elektronische verzending van informatie. Aan de inhoud van deze e-mail en eventuele bijlagen kunnen geen rechten worden ontleend, tenzij schriftelijk anders is overeengekomen.
    Van: brogers_1
    Verzonden: vrijdag 19 september 2014 20:10
    Aan: Peter Gerritsen
    Onderwerp:  Can't open secured documents on windows 7 domain client with mandatory profiles.
    Can't open secured documents on windows 7 domain client with mandatory profiles.
    created by brogers_1<https://forums.adobe.com/people/brogers_1> in Enterprise Deployment (Acrobat and Reader) - View the full discussion<https://forums.adobe.com/message/6745441#6745441>

  • RFC- WebServices with Security Features

    Hi
    I have to execute one scenario RFC - WebServices with security features. Kindly let me know where or how can I implement the secuirty features in this scenario. Any documentation/blog/ thread are welcome to undestand about implemeting the  secuirty features for this scenario.
    Regards
    Ramesh

    Hi Ramesh,
      Check this:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/45/504971f7a708d2e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/87/0827a8d6e04a2a8f822f9c51fa7ef2/frameset.htm
    and
    http://help.sap.com/saphelp_nwpi71/helpdata/en/37/1a9b6a338cca448508f3a48d2d1e2d/frameset.htm
    Regards,
    Ravi Kanth Talagana

  • Webservice Client deserialization problem with Vectors!

    Hello!
    I'm generating a Java Proxy Client with Eclipse WTP.
    The Client works fine with normal datatypes and own Beans. But whe the return type is a Collection with own beans an exception is thrown:
    exception: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
    So whats wrong?
    In teh Webservice Explorer everything seems to be fine, my vector is serialized in item-tags:
    - <getAktionenResponse xmlns="http://commonservice">
    - <getAktionenReturn>
    - <item xmlns="">
    <aktn_nr>a12345</aktn_nr>
    <claim>222</claim>
    <geschaeftsjahr>2005</geschaeftsjahr>
    <son>333</son>
    <special_operation_code>soc12345</special_operation_code>
    <status>ready</status>
    <vin>t123</vin>
    </item>
    - <item xmlns="">
    <aktn_nr>a6789</aktn_nr>
    <claim>567</claim>
    <geschaeftsjahr>2006</geschaeftsjahr>
    <son>555</son>
    <special_operation_code>soc6789</special_operation_code>
    <status>false</status>
    <vin>t123</vin>
    </item>
    </getAktionenReturn>
    </getAktionenResponse>
    how can i solve this problem?
    the background is that I return a vector with Java Objects. I thought apache axis deserielizes automatically the vector and the bean inside??
    I'm pretty new to webservices...
    Pleas help!
    Thanks!

    As per the below link, I assumed its better to avoid collections and go with plain array of objects.
    Please let us know if I am wrong.
    http://www-128.ibm.com/developerworks/webservices/library/ws-tip-coding.html
    Regards,
    Venkat S

Maybe you are looking for

  • Best RAM configuration for Macbook (mid 2007)

    Hi, I have a Macbook (mid 2007) with 1 GB ram and I would like to upgrade. Currently I have 2x512MB, so both of my memory slots are taken. Is it a good idea to have one 512MB card and a 2GB card in the other slot? Otherwise, what is the best RAM conf

  • Anonymous Proxies

    Hi, I'm a home user (so I don't have access to PACs) and I have been trying to manually configure an anonymous proxy for FTP, HTTP and HTTPS. I've been using free and open proxies. It works, but web surfing is not possible as whatever page I try to l

  • Cable driver fail N95 after upgrade

    Hello! After I upgraded the software I cannot longer connect my phone through cable. In Device Manager the phone appears as "Wireless communication devices", and the phone as a computer icon with an exclamation mark in it. Removing and reinstalling i

  • PGC error caused by subtitles

    I went to build a project and got the "PGC has an error at" error.  After re-encoding all the assets on the timeline and re-importing into Encore it built fine UNTIL i added the subtitles back into the mix.  I went to the time it said it had an error

  • Reg:inputfield binding error

    hi all can  you please share your knowledge on this error  as soon as possible. Adapter error in INPUT_FIELD "GROUP1_VEHICLENO" of view "ZWEIGHBRIDGE1.MAIN": Context binding of property VALUE cannot be resolved: Node MAIN.1.LECI_EVENT_DATA does not c