Proxy-Service without a proxy-service.xml

HI all,
I'm trying to use the BlazeDS proxy-service to proxy my Web Service calls through so I can avoid the security issues of directly speaking to a remote SOAP Service.
I am using Spring-Actionscript on the client now so I can externalize all of the server config into config files instead of code. I've been really frustrated at trying to do this for the SOAP Proxy-service. No matter what destination, channelset or remote url I set, the runtime insists on loading the destination channel information from the ServerConfig class.
Is there no way around this hardcoded implementation? I've thought of exposing the services-config.xml and me downloading the file as the first thing I do in my flex app, or of bypassing the proxy service altogether and use RemoteObjects for Flex - Remote communication and let the RemoteObject deal with talking to the Web Service.
Has anyone ever solved this problem? I'm wondering if Adobe will solve this in BlazeDS 4....
Thanks for your help!!
Ronak Patel

Alex,
I've been able to do this for RemoteObjects based on what Spring-Actionscript allows me to do.
However from what I've seen in the stack trace from Flex...
[MessagingError message='Destination 'point.service' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
at mx.messaging.config::ServerConfig$/internalGetChannelSet()[C:\autobuild\3.5.0\frameworks\ projects\rpc\src\mx\messaging\config\ServerConfig.as:661]
at mx.messaging.config::ServerConfig$/getChannelSet()[C:\autobuild\3.5.0\frameworks\projects \rpc\src\mx\messaging\config\ServerConfig.as:265]
at mx.messaging::MessageAgent/initChannelSet()[C:\autobuild\3.5.0\frameworks\projects\rpc\sr c\mx\messaging\MessageAgent.as:1165]
at mx.messaging::MessageAgent/internalSend()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\ mx\messaging\MessageAgent.as:1106]
at mx.messaging::Producer/internalSend()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\m essaging\Producer.as:147]
at mx.messaging::AbstractProducer/send()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\m essaging\AbstractProducer.as:507]
at mx.rpc::AsyncRequest/invoke()[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\rpc\Async Request.as:133]
at services.pointclouddelivery::BasePointCloudDeliveryService/call()[E:\eclipse\workspace\li dar\lidar.client\src\main\flex\services\clouddelivery\BaseCloudDeliveryService.as:290]
It is not even checking the channelSet that the Service class maintains...the code is generated by Flex Builder 3 to go directly to the services-config.xml.
How can I break that dependency in the generated code?
I know Flex 4 does some other stuff for Web Services with the RDS Servlet. Would this be better suited for XML configuration?

Similar Messages

  • Is there a way to update an external dictionary for services without migrating the services

    Is there a way to update an external dictionary for services without migrating the services
    Is there a way to update a common external dictionary used by many services without migrating each and every service that uses the dictionary.  I have updated the table in the database and the external dictionary in our Development Environment. The external dictionary is used by many services. When I migrate the changed service to TEST/STAGE/PROD environments (NOTE: the table has been updated in the TEST/STAGE/PROD Databases), only the changed service is having the external dictionary updated. All other services that use the same external dictionary are NOT updated. I have the following questions
    Is it possible to migrate dictionaries so that all the services which are using that dictionary are updated?
    If the first one is not possible, Is there any other way to update the external dictionary without migrating all the services that use dictionary?

    dont think so but I could be wrong
    as it were I didn't like the build in audio so I connected some external logictech 2.1 speakers  but there
    are times when I use headset so I bought this one
    or any minijack splitter will work too so I have 2 things connected to the headset port works just fine
    http://www.belkin.com/IWCatProductPage.process?Product_Id=404634

  • Disable dbus services without native systemd service available

    Quite a few services are not activated manually, but through dbus. Say you wanted to disable some (enough valid reasons, using DE apps in WM environments, temporary until bug X is fixed, or a workaround for quirks like default file manager in Firefox). If the service file in /usr/share/dbus-1/... contains a line SystemdService=<something>, then it's easy enough:
    # systemctl mask <sth>.service
    # systemctl mask <sth>.socket
    which links the requests to /dev/null (quite loudly though).
    Anyway say the dbus file doesn't have a matching unit, you could do a few things. First is obviously delete or modify the dbus file in /usr/share/.., you can then chattr it or ignore it in pacman.conf but it still breaks package integrity (pacman -kk). Looking through the dbus-daemon man gives:
    <servicedir>
    Adds a directory to scan for .service files. [..] systemwide bus.
    <standard_session_servicedirs/>
    is equivalent to specifying a series of <servicedir/> elements for each of the data directories in the "XDG Base Directory Specification" with the subdirectory "dbus-1/services", so for example "/usr/share/dbus-1/services" would be among the directories searched. [..]
    The <standard_session_servicedirs/> option is only relevant to the per-user-session bus daemon defined in /etc/dbus-1/session.conf. Putting it in any other configuration file would probably be nonsense.
    <standard_system_servicedirs/>
    <standard_system_servicedirs/> specifies the standard system-wide activation directories that should be searched for service files. This option defaults to /usr/share/dbus-1/system-services.
    The <standard_system_servicedirs/> option is only relevant to the per-system bus daemon defined in /etc/dbus-1/system.conf. Putting it in any other configuration file would probably be nonsense.
    Ok, so I tried to put files in /etc/dbus-1/services but they didn't take priority. Also tried to specify the paths explicitely in /etc/dbus-1/system-local.conf but no luck either. Also tried ~/.local/share/dbus-1/services - but e.g gvfs would still start after changing Exec to /bin/false.
    There's a few bug reports/requests on this, e.g (1). So my question is, am I missing something, or do you need a systemd unit, or go "dirty" and modify system files?
    Cheers
    Alad
    Last edited by Alad (2014-12-06 01:28:16)

    The first post is too long... Let me update the status with a new post.
    The user service file currently looks like this:
    # [email protected]
    [Unit]
    Description=Intelligent Input Bus
    Documentation=man:ibus-daemon(1)
    [Service]
    Environment="DISPLAY=%I"
    ExecStart=/usr/bin/ibus-daemon --replace --xim --panel disable
    ExecReload=/usr/bin/ibus restart
    ExecStop=/usr/bin/ibus exit
    [Install]
    WantedBy=default.target
    And you can enable it for the current DISPLAY via
    % systemctl --user enable "ibus@$DISPLAY.service"
    DISPLAY must be set for the --xim option to work.
    According to systemd.exec(5), "processes started by user systemd instances inherit all environment variables from the user systemd instance". But at the time the user systemd instance is started, the DISPLAY env is not set yet, so I'm using the %I place holder here.
    Although there doesn't seem to be much benefit, I still wonder why Type=dbus doesn't work. Is systemd looking for the wrong bus?

  • Visual Composer - access Web Services using http proxy

    Hi,
    I want to use an external web service in the Visual Composer. I set up the service in NWA -> SOA Management -> Destination Template Management.
    I defined the http proxy in System Global Settings. The proxy requires authentication so I provided username and password.
    When I want to access the web service in the Visual Composer the log file shows this:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.  ). The requested URL was:"myWSURL"
    It seems that authentication is not performed although I provided the correct credentials. Using (internal) web services without the proxy works fine with the visual composer.
    Any ideas? Thanks, Kevin

    Hi Kevin
    I have used the cglobal weather,get cities by country and Currency converter webservices in VC for CE 7.1
    The pdf in the link below was of immense help..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f8a753-f03d-2a10-5fb0-f14b085b4cb2
    Hope this helps.

  • Steps to expose a web service without using SR

    Hello,
    How can I expose a web service without using the service registry?  Is there some documentation for this process?
    Thanks,
    Matt

    Thanks for the response.  Although, I do not have an * in the Sender Agreement.
    Here is the situation:
    When I attempt to reach the URL for my Web Service but using NWA instead of the Service Call I get into NWA.
    https://xxxxx.steelcasedev.com/nwa
    Result: Success
    When I use SOAPSonar to run this URL I get the CPA error:
    https://xxxxx.steelcasedev.com//XISOAPAdapter/MessageServlet?senderParty=&senderService=WSProcurement_Async_Sender&receiverParty=&receiverService=Steelcase_Dev&interface=WSProcure_Out&interfaceNamespace=urn:steelcasedev.com:wsprocure:xsuppliers
    Result:  Error
    <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.service.cpa.CPAException: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=WSProcurement_Async_Sender;TS=Steelcase_SAPR3_D01;AN=WSProcurement_Out;ANS=urn:steelcase.com:wsprocurement:xml2suppliers;
         at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.checkForError(CommonLookup.java:53)
         at com.sap.aii.af.service.cpa.InboundRuntimeLookup.getBinding(InboundRuntimeLookup.java:411)
         at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBinding(AbstractLookupManager.java:714)
         at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:430)
    The sender adapter is active in ID but in RTWB it is "Started but Inactive".  I have found that this status could be related to the fact that I have not had a successful transaction for that channel yet.
    My NW Admin says he found this error: 
    Marked transaction for rollback for message 0015605e-09d7-1ddf-94f7-d5031c019713(INBOUND). Reason: Channel has been configured as inactive and cannot accept messages
    I am quite confused. 
    Thanks,
    Matt

  • Enterprise Services & Managing Quality of Service

    Hello,
    the documents published recently regarding ESA are pretty much aligned with the general idea to follow the idea of SOA. We talk a lot about enterprise level functionality and the reuse of high-level patterns being developed. However there is not much talking (yet) about the managing and monitoring of those enterprise services. Eg. Enterprise Services without well defined service-level-agreements attached to them and a platform supporting to manage&monitor (quality of service) these services tend to be applied just like any other application-service.
    The question raising here: Where (based on what technology/platform) does SAP want to manage such SLAs allowing also business managers to understand what quality of service is being provided to their business functions. So far I haven´t spotted anything supporting that layer...(in the sense of "Click on an enterprise service, eg. define alert if response is greater than x sec or n service call failed, category of enterprise service...)
    Regards
    Rudi

    Rudi,
    It is never any fun to say "It depends".  But that is the way I feel I have to start this response.  I think your question does hit the next level of required detail in an ESA beyond the exposure of services to the enterprise.  Immediately after exposing services, basic SLA's and monitoring becomes critical. 
    There are in fact monitoring capabilities in XI 3.0 that should give us the first round of basic "Service Management".  XI also offers a reasonable way to conduct service failover and redundancy by providing a both routing and queueing.  I do think the issue is Service Management (encompassing SLA's, monitoring, alerting, failover, etc.).  XI is where I think it could be done most consistently, but we are not all the way there.  I will do some digging and get back to you on this with an update.
    Each of these tasks could be done as Infrastructure Services supported out of WebAS 6.40.  This might not be a bad move for the next 6-12 months.  If these services are modeled after the standards, then a simple form of SLA monitoring, logging, and alerting should be pretty easy to create and maintain.  It is pretty straight forward to say that all your service calls go through a set of basic infrastructure services to provide the visability you are requesting.
    Excellent question, that deserves a better answer.  I will see what I can find out.
    -- David

  • Help - cannot access web service outside web proxy

    I'm trying to access a public web service - and web proxy stops me from doing it.
    Here is my code:
    package test;
    import java.rmi.RemoteException;
    import javax.xml.rpc.ServiceException;
    import net.webservicex.www.WeatherForecastLocator;
    import net.webservicex.www.WeatherForecastSoap;
    import net.webservicex.www.WeatherForecastSoapStub;
    import net.webservicex.www.WeatherForecasts;
    import java.net.*;
    import java.io.*;
    public class TestOutput {
    public static void main(String[] args) {
      initialiseConfiguration();
      printForecast();
    public static void initialiseConfiguration() {
      System.setProperty("http.proxySet", "true");
      System.setProperty("http.proxyHost", "proxyserver");
      System.setProperty("http.proxyPort", "8080");
      System.setProperty("http.proxyUser", "userid");
      System.setProperty("http.proxyPassword", "password");
    public static void printForecast() {
      try {
       WeatherForecastLocator wfl = new WeatherForecastLocator();
       WeatherForecastSoap wfs = wfl.getWeatherForecastSoap();
       WeatherForecasts forecasts = wfs.GetWeatherByZipCode("90210");
      } catch (Exception e) {
       e.printStackTrace();
    }Here, I was using the test web service located in www.webservicex.net/WeatherForecast.asmx
    I've created stubs using Eclipse (package net.webservicex.www) in another project, compiled into a jar, and imported into the test project.
    The test is working beautifully from my home. It's failing in the office with the error:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (407)Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 407
    It's failing when it's trying to execute
    WeatherForecasts forecasts = wfs.GetWeatherByZipCode("90210");
    The "initialiseConfiguration" function is doing its job OK - it's actually helping me to go through the proxy - if I'm doing simple stuff like accessing internet sites. I've tested it - I can get to any external site and read from it. The moment I disable "initialiseConfiguration", I can't get through the proxy.
    So, probably, the problem lies in the web services client classes generated by Eclipse and based on axis. Maybe, the code gets through the proxy, but then starts to do something without authentication??? (I'm not sure if it's possible at all, but who knows...)
    I've read a lot of postings on this subject and couldn't find a solution that would work for me. I'm very surprised, because my situation is very common - there are more and more public web services, and most organisations have firewalls. Obviously, I'm making some very elementary mistake.
    Please help

    We have the same problem, not with SOAP but with XML-RPC (err 407). We're still stumped, and i agree that the problem should be common, but i don't see the mistake, so it's not that obvious.
    Hypothesis: the proxy is spying on the requests content , and filtering out xml. Can you check that ?
    Message was edited by:
    idiallo

  • How to use Axis to access a web service through Authentication  proxy

    Using axis access internat web service is success,but access a web service through Authentication proxy is failure.But other java classes connect through a proxy to the internet which works very well:
    please help me ,thank you!!!
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    //this is my access webservice faliure   codes
    public class TestClient
       public static void main(String [] args) {
           try {
                System.getProperties().setProperty("http.proxySet", "true");
                System.getProperties().setProperty("http.proxyHost","proxy.com");
                System.getProperties().setProperty("http.proxyPort", "8080");
                System.getProperties().setProperty("http.proxyUser", "username");
                System.getProperties().setProperty("http.proxyPassword","password");
               String endpoint =
                        "http://nagoya.apache.org:5049/axis/services/echo";
               Service  service = new Service();
               Call     call    = (Call) service.createCall();
               call.setTargetEndpointAddress( new java.net.URL(endpoint) );
               call.setOperationName(new QName("http://soapinterop.org/", "echoString") );
               String ret = (String) call.invoke( new Object[] { "Hello!" } );
               System.out.println("Sent 'Hello!', got '" + ret + "'");
           } catch (Exception e) {
               System.err.println(e.toString());
       }I get an "(407)Proxy authorization required" error?

    I am also looking for a solution. Does any one know how to do through code instead of jvm settings?
    Thanks in advance!

  • Use BizTalk 2006 as a proxy for an external Web Service

    Hi
    We have a solution that is going to work just as a proxy for an external Web Service.
    It works like this:
    1. We have a Request-Response receive port that receives the calls for the WS.
    2. Different Static Solicit-Response ports that have filters for each method in the WS receive the requests and then send them to the external WS.
    3. The response from the external WS is then sendt back to the caller via the Request-Response port in point 1.
    This generally works like it should. The only problem i have is when the external WS returns a Fault message. I get this fault from the external WS:
    <s:Fault xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>s:Client</faultcode><faultstring xml:lang="nb-NO">Some error message the caller should see.</faultstring><detail><GenericFault
    xmlns="http://register.test.com/Common" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ErrorCode>SomthingWentWrong</ErrorCode><Message>Some error message the caller should see.</Message></GenericFault></detail></s:Fault>
    This message then failes on BizTalk and BizTalk returns this Fault message to the caller:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP:Body><SOAP:Fault><faultcode>Microsoft BizTalk Server Negative Acknowledgment
    </faultcode><faultstring>An error occurred while processing the message, refer to the details section for more information </faultstring><faultactor>/Hemit.BizTalk.NHN.Position.ws/IPositionService.asmx</faultactor><detail><ns0:NACK
    Type="NACK" xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd"><NAckID>{7AC314FE-2CA3-44AE-8208-180495500481}</NAckID><ErrorCode>0xc0c016b7</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>There
    is an error in XML document (1, 2).</ErrorDescription><ErrorDetail>&lt;Fault xmlns='http://schemas.xmlsoap.org/soap/envelope/'&gt; was not expected.</ErrorDetail></ns0:NACK></detail></SOAP:Fault></SOAP:Body></SOAP:Envelope>
    So the problem seems to be that the Request-Response port in point one will ONLY accept the real response that is specified in the response schema for that particular method, and not a Fault. And when it receives a fault, it generates its own Fault saying
    a Fault message was not expected.
    Does anyone know how i can be able to send the actual fault from the external WS all the way back to the caller on the inside?
    I know how to do it with an orchestration, but can not figure out how to get it done just with the ports.
    Kind regars
    John Viggo

    Hi John,
    Enable Propagate fault message
    on the WCF solict –response port.
    For the two-way send port, you can choose whether to forward
    SOAP fault messages on to the original caller over a solicit-response send port by selecting
    Propagate fault message. If this option is not selected, BizTalk Server will generate a NACK. What you see is the NACK.
    If it is selected, BizTalk Server will treat the message as a valid WCF response message from the external service and the response message will not be suspended because it is propagated.
    Then you need to map the fault message to the actual response in the map. Set this Fault-Message to Caller-Response map in the outbound map of the Requeust-Response port.
    In this case of messaging-only scenario, this method shall help in handling the fault message and passing fault details back to the caller. Refer the following articles for more details.
    Synchronous web services calls and Faults
    BizTalk and
    SOAPFault
    version issues
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

  • The Secure Store Service application Secure Store Service Proxy is not accessible

    I am working on setting up a new SharePoint 2013 Farm for our external web site which is currently running on 2010 SharePoint. Because this is an External Website for our organization we have an internally available Publishing Site and there is an Web App
    Extension to provide Anon Access to users using the www address. Currently I am doing everything on a single server for testing with HOSTS entries to loop back so I can test with real host headers and not impact the 2010 prod environment. We will be setting
    up 2 more WFEs with a NLB before moving this into prod but it isn't there yet. We brought the Site Collection Databases over but are still running in 2010 mode for now.
    I migrated a copy of the Secure Store Database over from 2010 and had it put on the 2013 Farm's Database Server. Set up Secure Store and the Secure Store Proxy. I went into the Secure Store Proxy in CA and refreshed the Key with the proper Pass Phrase. After
    doing that I could see the Target Application IDs listed. Everything was looking good so I went off to test. If I am on the publishing site I can go to a page that has the solution on it and it operates as expected. It does a query to a non SharePoint database
    and returns information filtered based on the search parameters. The only odd thing I see is if I click on the "Site Actions" I get a message "An error has occurred with the data fetch. Please refresh page and retry." Need to look into
    that more but it only happens on pages that have these solutions. Maybe a clue. If I go to the Anonymous Access page (www......) and try and use the solution, it immediately (way too quick to appear like it is doing anything) comes back with "The security
    token request cannot be completed."
    If I dig through the usage logs I am finding the following.
    The Secure Store Service application Secure Store Service Proxy is not accessible. The full exception text is: The security token request cannot be completed.
    Unexpected exception from endpoint address : https://[Servername]:32844/4e87fd3aabb640fb8cc3ed52188cf5c0/SecureStoreService.svc/https
    Logging unknown/unexpected client side exception: InvalidOperationException. This will cause this application server to be removed from the load balancer queue. Exception: System.InvalidOperationException: The security token request cannot be completed.
        at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForServiceContext(Uri contextUri)     at Microsoft.SharePoint.SPChannelFactoryOperations.InternalCreateChannelActingAsLoggedOnUser[TChannel](ChannelFactory`1 factory, EndpointAddress
    address, Uri via)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.GetChannel(Uri address)     at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName,
    Boolean validateCanary, ExecuteDelegate`1 operation).
    Initially I was fighting a firewall issue because it wasn't working (different errors) on both sides. Had Network Engineers open firewall ports needed and now it works on the publishing side. Still the same error on the Anon side. I suspect I have missed
    something when it comes to configuring the Secure Store to allow access to anonymous connections.
    Let me know if you need any more information but that should paint a pretty good picture as to how things are set up.
    Thanks for any help on this one. Searches haven't found much that has helped so far.

    Hi Sennister,
    I recommend to verify the things below:
    Did this issue occur with all the pages in the anonymous side?
    Check if the Claims to Windows Token Service is started.
    Change the <identity impersonate="true" /> in the web.config to see if the issue still occurs.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Proxy Authentication Error in Web Service with SAAJ on Weblogic 9.2 MP3

    Hi,
    I have encountered a problem with proxy authentication in SAAJ web service (WS) calls on Weblogic 9.2 MP3.
    My WS client (which uses SAAJ's SOAP classes) should use a proxy that requires authentication to call the external web services.
    However, it does not perform the authentication and receives HTTP Error 407 - Unauthorized.
    The reason seems to be that Weblogic's Http Handler (weblogic.net.http.Handler) ignores the proxy authentication.
    I was able to work around it by setting sun's http handler explicitly in the WS endpoint URL. Sun's handler (sun.net.www.protocol.http.Handler) makes use of the Authenticator class I provided.
    1. Please see my code below and let me know if this is the only solution or if I'm doing something wrong. While testing on Tomcat I did not have to set the handler.
    2. I have seen that there are also System properties for http.proxyUser and http.proxyPasword, however if I use these and ommit setting the SimpleAuthenticator, it also fails (with either handler!). An explanation of that is welcome.
    Thanks in advance.
    Code:
    ===========================================================
    System.setProperty("http.proxySet", "true");
    System.setProperty("http.proxyHost", "localhost");
    System.setProperty("http.proxyPort", "808");
    //System.setProperty("http.proxyUser", "myuser");
    //System.setProperty("http.proxyPassword", "mypw");
    Authenticator.setDefault(new SimpleAuthenticator("myuser", "mypw"));
    String urlString = "http://someurl:8080/webservice..";
    URL endpoint1 = new URL(urlString);
    URL endpoint2 = new URL(null, urlString, new sun.net.www.protocol.http.Handler());
    SOAPConnectionFactory soapfactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapfactory.createConnection();
    connection.call(message, endpoint1); // Gives Exception with HTTP Error 407
    connection.call(message, endpoint2); // Works and uses the proxy
    For reference:
    ===========================================================
    public class SimpleAuthenticator extends Authenticator {
         private String username, password;
         public SimpleAuthenticator(String username, String password) {
              this.username = username;
              this.password = password;
         protected PasswordAuthentication getPasswordAuthentication() {
              return new PasswordAuthentication(username, password.toCharArray());
    }

    Sorry for the 3 posts.
    Administrator, delete this thread please!!

  • SUS Service Entry Sheet Proxy Class

    Hi All,
    PLease let me know the proxy class called for the service interface ServiceAcknowledgementERPCreateRequest_In.
    This interface is used to create Service Entry Sheet in MM from SRM SUS system.
    regards,
    Neeraj

    Hi,
    You can search it in SPROXY transaction.
    Namespace: http://sap.com/xi/APPL/Global2
    Proxy name: II_SRV_SRVCACKNERPCRTRQ
    Provider Class: CL_SRV_SRVCACKNERPCRTRQ
    Regards,
    Masa

  • Problem in oracle service bus osb proxy service message flow

    i want to create a proxy service master which take 4 paramaeters as follow
    -master business service
    1- username 2-password 3-phonunumber 4- vouchernumber
    then i need to map to open session business service
    that will take 1-username 2- password from the same previous input
    then recharge business service will take 1-phonenumber 2-voucher number from master service, and session object from open session
    then call to closesession business service that will take the session output from opensession and will send the output "status" to the masterproxy :)
    any one can help me here? its urgent
    Edited by: user13027256 on Nov 29, 2011 12:53 AM

    Hi ,
    In proxy service master , carry out steps in different stages to have better audit trail
    1. Assign your input payload(request stack) to a variable($request)
    2. Use a Service Callout action to call open session business service and provide the request payload[username & password] for Business Service from the stored variable($request or $body ) using xpath expressions. U need to store the Business Service resoponse in a variable ($responseBS)
    3. Then i think u need to call another recharge Business Service, again use a Service callout action and do the same as for above callout using $ request and $responseBS variable to construct your payload.
    4. Use a route action at the end to call closesession business service, use $responseBS to have sessionOutput.

  • How to generate a Web Service Proxy for an ESB Routing Service?

    Hi,
    I have a SOAP service behind an ESB Routing Service. I am aware that i can call this ESB Service at the SOAP endpoint which can be found at the ESB Console after registration.
    But, i want to invoke this service using a Web Service Proxy. My understanding is that, i need to use the WSDL generated for the ESB Routing Service to generate the proxy. The WSDL which can be seen in JDeveloper does not have any soap bindings and hence the tool does not allow me to generate any proxy.
    Also, the two WSDLs whose URLs can be found at the ESB Console do not have the soap endpoint properties.
    Can someone help me out on the same?
    Thanks and regards,
    Priya.

    Priya,
    Just take the SOAP endpoint and suffix it with a ?wsdl
    Even the Concrete WSDL endpoint should be having a SOAP endpoint.
    HTH
    Uday

  • How to use a deployable proxy to consume a web service?

    HI Gurus,
    I am following this article below which helpfully explains how to create a proxy. So far so good. I have been able to create a proxy. However, the article only describes how to build a proxy.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c7d0f7-153d-2a10-5d96-d334b67cd771
    In the concluding part of the document the author says "In my next article I will tell you how to use this deployable proxy to consume the web service in web application."
    I have looked around the SDN but have not been able to get the next part of this document.
    I have a JSPDynpage application which is required to consume a webservice. I want to use this proxt to consume the webservice.
    Any help or any other document that explains how to use a deployable proxy to consume a web service will be helpful.
    Thanks,
    SB

    Hi,
    Here is an example how to consume the deployable proxy in web application:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ca/c8efe3e8a64163b01924ad4ccd706d/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/5c/971740198d8f5ce10000000a155106/frameset.htm
    Regards,
    Praveen Gudapati

Maybe you are looking for

  • How to print dynamic images in smartforms?

    Hi Guys, We are maintaining images in QM02 similar to the header or item texts.  Those images has to be displayed in smartform. Can anyone know how to read any image from transaction and display the same in smartform. Those images will be different f

  • CF 10 Clean Install - Sessions Broken

    Hi all, My firm recently upgraded to all new CF 10 servers (clean install no upgrade), and we are going through testing before we launch them in production. I have come across an issue where the sessions are not being maintained across requests. The

  • How to Reinstall OS X to a completely reset Macbook Air?

    I Reset my macbook cause ads were becoming a problem and i couldnt get rid of them. When i try to reinstall mavericks it says temporarly not available. I think it wont let me because i dont have Yosemite. Is there any possible way for me to reinstall

  • Logical export

    In Lookout when I go to Historical data viewer and select a view to export, that is a logical value that is a switch, when I look at the text of the export all the values are just opposite of the real value of the switch. That is at the time it said

  • Can I change the location of files in Adobe Bridge

    I have a small SSD for my program files. Adobe Bridge is usingit to store image data and I believe backups of the images. Can I agjust the locaion of these files?