Adding PayPal's WS doesn't work

When I try to add PayPal's sandbox Web Service to SJSC via the "Add Web Service" dialog, the Web Service's information is correctly displayed, but when I press the "Add" button, SJSC tells me: "Error occurred while creating the proxy!" This occurs even when I save the WSDL and pertinent XSD files to disk and try to load the Web Service from those.
Thoughts?
PayPalSvc.wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns="urn:ebay:api:PayPalAPI" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:cc="urn:ebay:apis:CoreComponentTypes" targetNamespace="urn:ebay:api:PayPalAPI">
     <wsdl:types>
          <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ebay:api:PayPalAPI" elementFormDefault="qualified" attributeFormDefault="unqualified">
               <import namespace="urn:ebay:apis:CoreComponentTypes" schemaLocation="CoreComponentTypes.xsd"/>
               <import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="eBLBaseComponents.xsd"/>
               <!-- Custom Security header element-->
               <xs:element name="RequesterCredentials" type="ebl:CustomSecurityHeaderType"/>
               <!-- API Request/Responses -->
               <xs:element name="RefundTransactionRequest" type="ns:RefundTransactionRequestType"/>
               <xs:element name="RefundTransactionResponse" type="ns:RefundTransactionResponseType"/>
               <xs:element name="RefundTransactionReq">
                    <xs:complexType>
                         <xs:sequence>
                              <xs:element ref="ns:RefundTransactionRequest"/>
                         </xs:sequence>
                       </xs:complexType>
               </xs:element>
               <xs:complexType name="RefundTransactionRequestType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractRequestType">
                              <xs:sequence>
                                   <xs:element name="TransactionID" type="ebl:TransactionId"/>
                                   <xs:element name="RefundType" type="ebl:RefundPurposeTypeCodeType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="Amount" type="cc:BasicAmountType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="Memo" type="xs:string" minOccurs="0" maxOccurs="1"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
                    <xs:complexType name="RefundTransactionResponseType">
                         <xs:complexContent>
                              <xs:extension base="ebl:AbstractResponseType">
                              </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:element name="GetTransactionDetailsRequest" type="ns:GetTransactionDetailsRequestType"/>
               <xs:element name="GetTransactionDetailsResponse" type="ns:GetTransactionDetailsResponseType"/>
               <xs:element name="GetTransactionDetailsReq">
                    <xs:complexType>
                         <xs:sequence>
                              <xs:element ref="ns:GetTransactionDetailsRequest"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
               <xs:complexType name="GetTransactionDetailsRequestType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractRequestType">
                              <xs:sequence>
                                   <xs:element name="TransactionID" type="ebl:TransactionId"/>
                           </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:complexType name="GetTransactionDetailsResponseType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractResponseType">
                              <xs:sequence>
                                   <xs:element ref="ebl:PaymentTransactionDetails"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:element name="BillUserRequest" type="ns:BillUserRequestType"/>
               <xs:element name="BillUserResponse" type="ns:BillUserResponseType"/>
               <xs:element name="BillUserReq">
                    <xs:complexType>
                         <xs:sequence>
                              <xs:element ref="ns:BillUserRequest"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
               <xs:complexType name="BillUserRequestType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractRequestType">
                              <xs:sequence>
                                   <xs:element ref="ebl:MerchantPullPaymentDetails"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:complexType name="BillUserResponseType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractResponseType">
                              <xs:sequence>
                                  <xs:element ref="ebl:BillUserResponseDetails"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:element name="TransactionSearchRequest" type="ns:TransactionSearchRequestType"/>
               <xs:element name="TransactionSearchResponse" type="ns:TransactionSearchResponseType"/>
               <xs:element name="TransactionSearchReq">
                    <xs:complexType>
                             <xs:sequence>
                              <xs:element ref="ns:TransactionSearchRequest"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
               <xs:complexType name="TransactionSearchRequestType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractRequestType">
                              <xs:sequence>
                                   <xs:element name="StartDate" type="xs:dateTime" minOccurs="1" maxOccurs="1"/>
                                   <xs:element name="EndDate" type="xs:dateTime" minOccurs="0"/>
                                   <xs:element name="Payer" type="ebl:EmailAddressType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="Receiver" type="ebl:EmailAddressType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element ref="ebl:ReceiptID" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="TransactionID" type="ebl:TransactionId" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="PayerName" type="ebl:PersonNameType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="AuctionItemNumber" type="xs:string" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="InvoiceID" type="xs:string" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="TransactionClass" type="ebl:PaymentTransactionClassCodeType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="Amount" type="cc:BasicAmountType" minOccurs="0" maxOccurs="1"/>                                   
                                   <xs:element name="CurrencyCode" type="ebl:CurrencyCodeType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="Status" type="ebl:PaymentTransactionStatusCodeType" minOccurs="0" maxOccurs="1"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:complexType name="TransactionSearchResponseType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractResponseType">
                              <xs:sequence>
                                   <xs:element ref="ebl:PaymentTransactions" minOccurs="0" maxOccurs="unbounded"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:element name="MassPayRequest" type="ns:MassPayRequestType"/>
               <xs:element name="MassPayResponse" type="ns:MassPayResponseType"/>
               <xs:element name="MassPayReq">
                    <xs:complexType>
                        <xs:sequence>
                              <xs:element ref="ns:MassPayRequest"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
               <xs:complexType name="MassPayRequestType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractRequestType">
                              <xs:sequence>
                                  <xs:element name="EmailSubject" type="xs:string" minOccurs="0" maxOccurs="1" />
                                   <xs:element name="MassPayItem" type="ns:MassPayRequestItemType" minOccurs="1" maxOccurs="250"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:complexType name="MassPayResponseType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractResponseType">
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:complexType name="MassPayRequestItemType">
                    <xs:annotation>
                         <xs:documentation>
                              MassPayRequestItemType - Type declaration to be used by other schemas.
                              Request data from the mass pay request
                         </xs:documentation>
                    </xs:annotation>
                     <xs:sequence>
                        <xs:element name="ReceiverEmail" type="ebl:EmailAddressType" minOccurs="1" maxOccurs="1" />
                         <xs:element name="Amount"        type="cc:BasicAmountType"  minOccurs="1" maxOccurs="1"/>
                        <xs:element name="UniqueId"      type="xs:string"           minOccurs="0" maxOccurs="1" />
                        <xs:element name="Note"          type="xs:string"           minOccurs="0" maxOccurs="1" />
                     </xs:sequence>
              </xs:complexType>
               <xs:element name="BAUpdateRequest" type="ns:BAUpdateRequestType"/>
               <xs:element name="BAUpdateResponse" type="ns:BAUpdateResponseType"/>
               <xs:element name="BillAgreementUpdateReq">
                    <xs:complexType>
                         <xs:sequence>
                              <xs:element ref="ns:BAUpdateRequest"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
               <xs:complexType name="BAUpdateRequestType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractRequestType">
                              <xs:sequence>
                                   <xs:element name="MpID"    type="ebl:MerchantPullIDType" minOccurs="1" maxOccurs="1"/>
                                   <xs:element name="Custom"  type="xs:string"             minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="Desc"    type="xs:string"             minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="MpStatus" type="ebl:MerchantPullStatusCodeType" minOccurs="0" maxOccurs="1"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:complexType name="BAUpdateResponseType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractResponseType">
                              <xs:sequence>
                                  <xs:element ref="ebl:BAUpdateResponseDetails"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:element name="AddressVerifyRequest" type="ns:AddressVerifyRequestType"/>
               <xs:element name="AddressVerifyResponse" type="ns:AddressVerifyResponseType"/>
               <xs:element name="AddressVerifyReq">
                    <xs:complexType>
                         <xs:sequence>
                              <xs:element ref="ns:AddressVerifyRequest"/>
                         </xs:sequence>
                      </xs:complexType>
               </xs:element>
               <xs:complexType name="AddressVerifyRequestType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractRequestType">
                              <xs:sequence>
                                   <xs:element name="Email" type="ebl:EmailAddressType"  minOccurs="1" maxOccurs="1"/>
                                   <xs:element name="Street" type="xs:string"  minOccurs="1" maxOccurs="1"/>
                                   <xs:element name="Zip" type="xs:string"  minOccurs="1" maxOccurs="1"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
               <xs:complexType name="AddressVerifyResponseType">
                    <xs:complexContent>
                         <xs:extension base="ebl:AbstractResponseType">
                              <xs:sequence>
                                   <xs:element name="ConfirmationCode" type="ebl:AddressStatusCodeType"  minOccurs="1" maxOccurs="1"/>
                                   <xs:element name="StreetMatch" type="ebl:MatchStatusCodeType"  minOccurs="1" maxOccurs="1"/>
                                   <xs:element name="ZipMatch" type="ebl:MatchStatusCodeType" minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="CountryCode" type="ebl:CountryCodeType"  minOccurs="0" maxOccurs="1"/>
                                   <xs:element name="PayPalToken" type="xs:string" minOccurs="0" maxOccurs="1"/>
                              </xs:sequence>
                         </xs:extension>
                    </xs:complexContent>
               </xs:complexType>
          </schema>
     </wsdl:types>
     <wsdl:message name="RequesterCredentials">
          <wsdl:part name="RequesterCredentials" element="ns:RequesterCredentials"/>
     </wsdl:message>
     <wsdl:message name="RefundTransactionRequest">
          <wsdl:part name="RefundTransactionRequest" element="ns:RefundTransactionReq"/>
     </wsdl:message>
     <wsdl:message name="RefundTransactionResponse">
          <wsdl:part name="RefundTransactionResponse" element="ns:RefundTransactionResponse"/>
     </wsdl:message>
     <wsdl:message name="GetTransactionDetailsRequest">
          <wsdl:part name="GetTransactionDetailsRequest" element="ns:GetTransactionDetailsReq"/>
     </wsdl:message>
     <wsdl:message name="GetTransactionDetailsResponse">
          <wsdl:part name="GetTransactionDetailsResponse" element="ns:GetTransactionDetailsResponse"/>
     </wsdl:message>
     <wsdl:message name="BillUserRequest">
          <wsdl:part name="BillUserRequest" element="ns:BillUserReq"/>
     </wsdl:message>
     <wsdl:message name="BillUserResponse">
          <wsdl:part name="BillUserResponse" element="ns:BillUserResponse"/>
     </wsdl:message>
     <wsdl:message name="TransactionSearchRequest">
          <wsdl:part name="TransactionSearchRequest" element="ns:TransactionSearchReq"/>
     </wsdl:message>
     <wsdl:message name="TransactionSearchResponse">
          <wsdl:part name="TransactionSearchResponse" element="ns:TransactionSearchResponse"/>
     </wsdl:message>
     <wsdl:message name="MassPayRequest">
          <wsdl:part name="MassPayRequest" element="ns:MassPayReq"/>
     </wsdl:message>
     <wsdl:message name="MassPayResponse">
          <wsdl:part name="MassPayResponse" element="ns:MassPayResponse"/>
     </wsdl:message>
     <wsdl:message name="BillAgreementUpdateRequest">
          <wsdl:part name="BillAgreementUpdateRequest" element="ns:BillAgreementUpdateReq"/>
     </wsdl:message>
     <wsdl:message name="BAUpdateResponse">
          <wsdl:part name="body" element="ns:BAUpdateResponse"/>
     </wsdl:message>
     <wsdl:message name="AddressVerifyRequest">
          <wsdl:part name="AddressVerifyRequest" element="ns:AddressVerifyReq"/>
     </wsdl:message>
     <wsdl:message name="AddressVerifyResponse">
          <wsdl:part name="AddressVerifyResponse" element="ns:AddressVerifyResponse"/>
     </wsdl:message>
     <wsdl:portType name="PayPalAPIInterface">
          <wsdl:operation name="RefundTransaction">
               <wsdl:input message="ns:RefundTransactionRequest"/>
               <wsdl:output message="ns:RefundTransactionResponse"/>
          </wsdl:operation>
          <wsdl:operation name="GetTransactionDetails">
               <wsdl:input message="ns:GetTransactionDetailsRequest"/>
               <wsdl:output message="ns:GetTransactionDetailsResponse"/>
          </wsdl:operation>
          <wsdl:operation name="BillUser">
               <wsdl:input message="ns:BillUserRequest"/>
               <wsdl:output message="ns:BillUserResponse"/>
          </wsdl:operation>
          <wsdl:operation name="TransactionSearch">
               <wsdl:input message="ns:TransactionSearchRequest"/>
               <wsdl:output message="ns:TransactionSearchResponse"/>
          </wsdl:operation>
          <wsdl:operation name="MassPay">
               <wsdl:input message="ns:MassPayRequest"/>
               <wsdl:output message="ns:MassPayResponse"/>
          </wsdl:operation>
          <wsdl:operation name="BillAgreementUpdate">
               <wsdl:input message="ns:BillAgreementUpdateRequest"/>
               <wsdl:output message="ns:BAUpdateResponse"/>
          </wsdl:operation>
          <wsdl:operation name="AddressVerify">
               <wsdl:input message="ns:AddressVerifyRequest"/>
               <wsdl:output message="ns:AddressVerifyResponse"/>
          </wsdl:operation>
     </wsdl:portType>
     <wsdl:binding name="PayPalAPISoapBinding" type="ns:PayPalAPIInterface">
          <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="RefundTransaction">
               <wsdlsoap:operation/>
               <wsdl:input>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="GetTransactionDetails">
               <wsdlsoap:operation/>
               <wsdl:input>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="BillUser">
               <wsdlsoap:operation/>
               <wsdl:input>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="TransactionSearch">
               <wsdlsoap:operation/>
               <wsdl:input>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="MassPay">
               <wsdlsoap:operation/>
               <wsdl:input>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="BillAgreementUpdate">
               <wsdlsoap:operation/>
               <wsdl:input>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:output>
          </wsdl:operation>
          <wsdl:operation name="AddressVerify">
               <wsdlsoap:operation/>
               <wsdl:input>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                    <wsdlsoap:header use="literal" message="ns:RequesterCredentials" part="RequesterCredentials"/>
                    <wsdlsoap:body use="literal"/>
               </wsdl:output>
          </wsdl:operation>
     </wsdl:binding>
     <wsdl:service name="PayPalAPIInterfaceService">
          <wsdl:port binding="ns:PayPalAPISoapBinding" name="PayPalAPI">
               <wsdlsoap:address location="https://api.paypal.com/2.0/"/>
          </wsdl:port>
     </wsdl:service>
</wsdl:definitions>

The WSDL is incorrect. JAX-RPC can parse it correctly but generating Java source is another story.
I get "missing "soapAction" attribute" messages when I run it through SOAPScope. The wsdl:soapoperation tags are supposed to have soapAction attributes according to the SOAP 1.1 spec:
"SOAP 1.1 messages being sent over HTTP is indicated by the "transport" attribute on soap:binding extensions having a value of "http://schemas.xmlsoap.org/wsdl/http/". All SOAP 1.1 messages over HTTP must contain an HTTP header called "soapAction". The value for this header is specified in the "soapAction" attribute on the soap:operation for every wsdl:operation in the wsdl:binding. The soap:operation must be present for each operation and the "soapAction" attribute must be present and contain the appropriate value for the "soapAction" HTTP header. Either the "soapAction" attribute was missing or the soap:operation was missing for the wsdl:operation in question."
I'm trying to work with the JAX-RPC folks to get better reporting out of the tools used in Creator so you'd see these kinds of messages in the results window.
Cheers!
-David

Similar Messages

  • Adding Ipod Touch Apps doesn't work

    Hi I'm new here. I just bought an Ipod Touch 3rd generation.
    My problem is that I can't add apps to my Ipod. I already downloaded them from the appstore but i can't add them to my Ipod. If I click on my Ipod Touch in Itunes i can see all the apps I already downloaded. But to puch the button "Sync Apps" doesn't work. Everything is gray under Apps. I can't move the apps.
    Please Help
    Thanks

    Welcome to the discussions,
    Is your computer authorized in the Store menu in iTunes? http://support.apple.com/kb/HT1420
    Can you download an app using the ipod and WiFi and transfer your purchases afterwards to your computer by using File->transfer purchases in the iTunes menu?
    Apps can be downloaded again for free, so you can choose an app you already own: http://support.apple.com/kb/HT2519

  • Adding pictures in imovie doesn't work

    Hi there,
    I am trying to add some pictures in iMovie '11. Up to now everything went great, but all of a sudden, I can't add any pictures anymore. All it does now, is add the last pictures in stead of the picture I swiped into my project. Can someone please help me with this project? It's pretty urgent.
    Thanks a lot peepz.

    EuropaIS wrote:
    Please help!!! It's a brand new iMac for work and we basically bought it to use the iMovie...can't believe it!
    Please read the warranty paperwork that came w/your computer.
    You have 14 days to return the computer w/no questions asked.
    You have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
    Strongly suggest that you take FULL advantage of the above before it runs out.  Let Apple deal w/the problems & your concerns. It's what you paid them to do.

  • Dynamic adding of components (doesn't work when programmatically)

    Hi, I don't understand, why this doesn't work. I'll explain it on this example:
    import java.util.concurrent.ScheduledThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class NewFXMain extends Application {
        Group root;
        public static void main(String[] args) {
            Application.launch(NewFXMain.class, args);
        @Override
        public void start(Stage primaryStage) {
            primaryStage.setTitle("Hello World");
            root = new Group();
            Scene scene = new Scene(root, 300, 250, Color.LIGHTGREEN);
            Button btn = new Button();
            btn.setLayoutX(100);
            btn.setLayoutY(80);
            btn.setText("Add button now");
            btn.setOnAction(new EventHandler<ActionEvent>() {
                public void handle(ActionEvent event) {
                    addButton();
            root.getChildren().add(btn);  
            primaryStage.setScene(scene);
            primaryStage.setVisible(true);
            System.err.println("Number of buttons before: "+root.getChildren().size());
            ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(1);
            executor.schedule(new MyTask(), 5, TimeUnit.SECONDS);
        private void addButton() {
            System.err.println("Button adding");
            root.getChildren().add(new Button("YEAH"));
            System.err.println("Number of buttons after: "+root.getChildren().size());
        class MyTask implements Runnable {
            public void run() {
                addButton();
    }There are two ways how a new button can be added. Either by clicking on existing button or programmatically by the program itself after 5 seconds.
    If you add it by button, there is no problem. The error print is:
    Number of buttons before: 1
    Button adding
    Number of buttons after: 2
    But if you just wait, then the error print is:
    Number of buttons before: 1
    Button adding
    and no button is added. In fact, the error printing after the adding isn't performed either.
    I'd like to ask if there is some solution for this because I'd love to do some changes by schedulers. Thx
    Edited by: 876949 on 14.8.2011 9:09
    Edited by: 876949 on 14.8.2011 9:11

    No, these are not error messages, they are just for purpose of example. Here it doesn't matter whether err or out... (yes, 'out' would be better ;)
    But thanx, it's working. By the way, I am creating scheduler for task lists. They are supposed to be printed dynamically in specific time (or periodically). For example: at 5 o'clock I need to print 5 items of some list and every 3 hours I need to print 3 items of another list etc. - so it's quite dynamic with regard to component adding (No, I don't want to use some sort of ListView, I want interactive printing: one item on screen at a moment). I'll try to work your solution into my code.
    Edit: So either it's not possible to use this for the purpose of my app or it will be really cumbersome. Maybe it would be easier to draw some rectangles with mouse listeners...
    Edit: So I finally got around it. In the end, I won't use dynamic adding as intended. It's working and that's important.
    Edited by: 876949 on 14.8.2011 12:48
    Edited by: 876949 on 15.8.2011 5:21

  • [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

    When selecting a menu item I used to click the left mouse button and hold it down, move the pointer to the desired menu item and release the mouse button. Everything works fine in the mine menu, but there's a problem when adding new adjustment layer from the layer panel: when I release the button nothing happens, I have to press the button again. In previous PS version it worked fine. How can I fix this?

    I don't think that is user fixable, meaning you'll have to wait till adobe fixes it with an update.
    Photoshop cc 2014
    windows does not work
    mac does work
    Did you already post over here:
    [Photoshop CC 2014] Click&hold-move-release doesn't work when adding adjustment layer from the layer panel

  • [svn:osmf:] 15000: Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work

    Revision: 15000
    Revision: 15000
    Author:   [email protected]
    Date:     2010-03-24 14:01:02 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-447
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/metadata/TimelineMetadata.as

  • [svn:osmf:] 14975: Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work

    Revision: 14975
    Revision: 14975
    Author:   [email protected]
    Date:     2010-03-23 17:04:43 -0700 (Tue, 23 Mar 2010)
    Log Message:
    Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-447
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/metadata/TimelineMetadata.as

  • I have several albums in my library that I cannot get onto my device. I have tried manually adding the albums, but it doesn't work. I can view the albums in "Music," but when I click on "iPhone" they are gone. How can I transfer them over?

    Can't add albums in library to iPhone.

    Full question: I have several albums in my library that I cannot get onto my device. I have tried manually adding the albums, but it doesn't work. I can view the albums in "Music," but when I click on "iPhone" they are gone. How can I transfer them over?

  • Paypal button doesn't work on Safari. but works on Firefox

    I have over 100 pairs of "Add to Cart" buttons on my website. One of each is on the individual item page and the other is on my Order Form.
    I have one button that works on the order form, but the identical button doesn't work on the individual page when using SAFARI, but works when I use FIREFOX!
    I have recreated the button several times and put it in the proper place several times, saved the changes and republished. Still it doesn't work in Safari!
    This must be a Safari issue not a PayPal issue
    Any suggestions?

    If that's checked, see: How to perform a "clean install" of Flash Player in Mac OS X

  • I have several separators that appeared in my bookmarks list without me adding them. How do I delete them? I already tried right click/cut, right click/delete in the bookmark menu-that doesn't work.

    I have several separators that appeared in my bookmarks list without me adding them. How do I delete them? I already tried right click/cut, right click/delete in the bookmark menu and directly on the list-that doesn't work.

    If you can't delete them in the normal way in the Bookmarks Manager then you may have a problem with the file places.sqlite.
    See http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    See also [[Deleting bookmarks]]

  • Music adding doesn't work?

    My Music adding doesn't work?
    I try to add music from my usb but it doesn't work.
    I have 2Gen Ipod TOUCH 4.2.1 i think.

    Roger, FYI, the very first time I laid a music bed in it worked like a charm. I selected the music track, chose audio on the clip edit menu, and then I raised the other tracks to 100% (which is my main video) and lowered the audio for the music track to 12% and it worked perfectly. My audio was indeed under the main video, just the way I wanted it.
    Righ now I have gone to my original track in Garage Band, and lowered the entire thing significantly and will try using that. I'll get there. But great suggestion on Garage Band---I've never used it but figured it out pretty quickly.

  • Added or ediited texts by Bluebeam Revu,and has been saved,when I open it by the Adobe reader version 8.1,why it does not show my texts added by Revu?8.1 is my favorite version,I also tried it in a later version fo Reader,it doesn't work too!

    Added or ediited texts by Bluebeam Revu,and has been saved,when I open it by the Adobe reader version 8.1,why it does not show my texts added by Revu?8.1 is my favorite version,I also tried it in a later version fo Reader,it doesn't work too!

    Bernd Alheit wrote:
    Looks like a problem of Bluebeam Revu, not Adobe Reader.
    The response above is only a speculative answer to the original question. DSI-Hal, did you try to flatten the text in Bluebeam Revu prior to opening it in Adobe. This has worked for me on several different documents but not sure if we are using the same version of Adobe Reader.
    Give it a shot. Good luck.

  • Since upgrade, I can't now tell the size of attachments added to email and the attachment link from the icon doesn't work properly. How can these be addressed?

    Since the upgrade to mozilla and to windows was installed on my computer, when I use my hotmail account with mozilla, I now cannot tell the size of attachments. Previously you could see the size of attachments but now when the cursor passes over the attachment, this works on Internet explorer but not Mozilla. Also, the icon for attachments often doesn't work, nor the "send as an online document" nor the "No thanks" icon.

    The "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.
    Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".
    "Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a checkmark.
    You need to remove the checkmark on "Always use private browsing mode" to leave Private Browsing mode or chose the "Remember History" setting.
    *https://support.mozilla.org/kb/Private+Browsing

  • Paypal White Paper setup not working

    I have followed all the steps in the paypal white paper setup for APEX. However, I'm getting this error message that I simply cannot figure out:
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1029 ORA-29024: Certificate validation failure
    This doesn't make much sense to me since our certificate works fine. The application is here:
    https://www.clickachart.com:4459/pls/apex/f?p=155
    I know for sure that wallet_path and wallet_pwd are correct. I took all the API data straight from paypal.
    Another user experienced similar problems with google checkout. He added the google and google sandbox certificates to his wallet, and it was all fine and dandy. I've added paypal and paypal sandbox certificates to my wallet, and I'm still at the same place.
    Please help!

    I am NOT positive that happened, but it seems to me there was a thread a while back and it's sticking in my head that somehow something changed on the paypal end...
    Thank you,
    Tony Miller
    Webster, TX

  • [SOLVED]Xorg 1.8 doesn't work

    Hello, I've just upgraded to linux-firmware and the newest X.org, which doesn't work.
    Xorg.0.log tells me:
    [ 934.318]
    X.Org X Server 1.8.1
    Release Date: 2010-05-11
    [ 934.322] X Protocol Version 11, Revision 0
    [ 934.323] Build Operating System: Linux 2.6.33-ARCH x86_64
    [ 934.325] Current Operating System: Linux staerseus 2.6.34-ARCH #1 SMP PREEMPT Sat Jun 19 00:07:49 CEST 2010 x86_64
    [ 934.326] Kernel command line: root=/dev/disk/by-uuid/727c4683-ee4c-4b32-8a59-370264cb7d9f ro i915.modeset=1 init=/sbin/bootchartd
    [ 934.327] Build Date: 26 May 2010 07:50:07PM
    [ 934.329]
    [ 934.330] Current version of pixman: 0.18.2
    [ 934.331] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 934.334] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 934.338] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 21 10:15:38 2010
    [ 934.340] (==) Using config file: "/etc/X11/xorg.conf"
    [ 934.341] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 934.343] (==) No Layout section. Using the first Screen section.
    [ 934.343] (==) No screen section available. Using defaults.
    [ 934.343] (**) |-->Screen "Default Screen Section" (0)
    [ 934.343] (**) | |-->Monitor "<default monitor>"
    [ 934.343] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 934.343] (==) Automatically adding devices
    [ 934.343] (==) Automatically enabling devices
    [ 934.343] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 934.343] Entry deleted from font path.
    [ 934.343] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 934.343] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 934.343] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 934.343] (II) Loader magic: 0x7ce880
    [ 934.343] (II) Module ABI versions:
    [ 934.343] X.Org ANSI C Emulation: 0.4
    [ 934.343] X.Org Video Driver: 7.0
    [ 934.343] X.Org XInput driver : 9.0
    [ 934.343] X.Org Server Extension : 3.0
    [ 934.352] (--) PCI:*(0:0:2:0) 8086:2a42:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
    [ 934.352] (--) PCI: (0:0:2:1) 8086:2a43:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2100000/1048576
    [ 934.352] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 934.352] (II) LoadModule: "extmod"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 934.352] (II) Module extmod: vendor="X.Org Foundation"
    [ 934.352] compiled for 1.8.1, module version = 1.0.0
    [ 934.352] Module class: X.Org Server Extension
    [ 934.352] ABI class: X.Org Server Extension, version 3.0
    [ 934.352] (II) Loading extension MIT-SCREEN-SAVER
    [ 934.352] (II) Loading extension XFree86-VidModeExtension
    [ 934.352] (II) Loading extension XFree86-DGA
    [ 934.352] (II) Loading extension DPMS
    [ 934.352] (II) Loading extension XVideo
    [ 934.352] (II) Loading extension XVideo-MotionCompensation
    [ 934.352] (II) Loading extension X-Resource
    [ 934.352] (II) LoadModule: "dbe"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 934.352] (II) Module dbe: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension DOUBLE-BUFFER
    [ 934.353] (II) LoadModule: "glx"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 934.353] (II) Module glx: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (==) AIGLX enabled
    [ 934.353] (II) Loading extension GLX
    [ 934.353] (II) LoadModule: "record"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 934.353] (II) Module record: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.13.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension RECORD
    [ 934.353] (II) LoadModule: "dri"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 934.353] (II) Module dri: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension XFree86-DRI
    [ 934.354] (II) LoadModule: "dri2"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 934.354] (II) Module dri2: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.8.1, module version = 1.2.0
    [ 934.354] ABI class: X.Org Server Extension, version 3.0
    [ 934.354] (II) Loading extension DRI2
    [ 934.354] (==) Matched intel as autoconfigured driver 0
    [ 934.354] (==) Matched vesa as autoconfigured driver 1
    [ 934.354] (==) Matched fbdev as autoconfigured driver 2
    [ 934.354] (==) Assigned the driver to the xf86ConfigLayout
    [ 934.354] (II) LoadModule: "intel"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.354] (II) Module intel: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.7.6, module version = 2.11.0
    [ 934.354] Module class: X.Org Video Driver
    [ 934.354] ABI class: X.Org Video Driver, version 6.0
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)
    [ 934.356] (II) UnloadModule: "intel"
    [ 934.356] (II) Unloading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.356] (EE) Failed to load module "intel" (module requirement mismatch, 0)
    [ 934.357] (II) LoadModule: "vesa"
    [ 934.357] (WW) Warning, couldn't open module vesa
    [ 934.357] (II) UnloadModule: "vesa"
    [ 934.357] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 934.359] (II) LoadModule: "fbdev"
    [ 934.359] (WW) Warning, couldn't open module fbdev
    [ 934.359] (II) UnloadModule: "fbdev"
    [ 934.359] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 934.360] (EE) No drivers available.
    [ 934.362]
    Fatal server error:
    [ 934.364] no screens found
    [ 934.365]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 934.370] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 934.372]
    What does the problem with modules mean? Archlinux was warning me, that "in future releases /etc/modprobe.d/framebuffer_blacklist.conf.save will be ignored, but it is the same file as /etc/modprobe.d/framebuffer_blacklist.conf.
    I don't understand, why it cannot find any screens (I use a laptop screen)
    I tried to start with and without xorg.conf, which is:
    Section "Device"
    Identifier "Intel X4500MHD"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    Option "DRI" "true"
    Option "AccelMethod" "uxa"
    Option "MigrationHeuristic" "greedy"
    EndSection
    The graphic driver I use is xf86-video-intel-newest from archstuff, but it is the same version as xf86-video-intel.
    I am not sure if I provided all needed info, but I hope so. Thank you for your help.SOLVED
    Last edited by Staerseus (2010-06-21 09:18:03)

    Use the arch version.   It is actually built against the xorg version that you are using...  here is the relevant section of your log:
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)

Maybe you are looking for

  • Accessing my iTunes which were done on my work computer

    I registered with iTunes and loaded all my music using my work laptop when I was working in London. I am back in Australia and want to access my iTunes so that I can update my iPod. How do I do this? iTunes doesn't seem to recognise me. I am using my

  • Map security roles to group within LDAP using external 3rd Party LDAP

    I'm haveing a problem mapping my logical role defined in my web.xml to a role within Active Directory. I'm currently authenticating using Active Directory succsfully, however after the user is authenticated I get a message from the OC4J container tha

  • WRT54GS Changeover from Wired to Wireless (Vista): Duck Soup!

    I've owned my WRT54GS router for nearly three years and had initially bought it as a wired router (with an option to go secured wireless later), but I'm used to thinking that wireless was primarily for laptops and notebooks (even though I've actually

  • Query regarding standby database state when primary is down or un-reachable

    Hi I want to know if there is any reflection on the standby database states when it's primary is down or not reachable? I want to use this information from standby node to determine if I can programatically execute (dgmgrl) failover operation or not?

  • Deleting a directory, sub directory file, files?

    Ok i was 1. Wondering if this is possiable 2. How do i do it. What im trying to have java do is start in directory: C:\Documents and Settings\Kevin Rose\Desktop\bob and from their go and delet C:\Documents and Settings\Kevin Rose\Desktop\bob\TextScri