[jboss-cvs] Picketlink SVN: r699 - in federation/trunk: picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/soap and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 3 16:11:09 EST 2011


Author: anil.saldhana at jboss.com
Date: 2011-02-03 16:11:08 -0500 (Thu, 03 Feb 2011)
New Revision: 699

Removed:
   federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java
   federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/factories/SOAPFactory.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Body.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Detail.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Envelope.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Fault.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Header.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/ObjectFactory.java
   federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/package-info.java
Modified:
   federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/soap/SOAPSAMLXACML.java
Log:
remove the soap jaxb object model

Deleted: federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java
===================================================================
--- federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/InteropEndpointDebugTestCase.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,134 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.picketlink.test.identity.federation.bindings.servlets;
-
-import java.io.InputStream;
-
-import javax.xml.bind.JAXBElement;
-
-import junit.framework.TestCase;
-
-import org.jboss.security.xacml.core.model.context.RequestType;
-import org.picketlink.identity.federation.core.saml.v2.util.DocumentUtil;
-import org.picketlink.identity.federation.core.saml.v2.util.SOAPSAMLXACMLUtil;
-import org.picketlink.identity.federation.newmodel.saml.v2.profiles.xacml.protocol.XACMLAuthzDecisionQueryType;
-import org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope.Envelope;
-import org.w3c.dom.Document;
-
-
-/**
- * Test Case that acts as a debug tool
- * for the endpoint for interop
- * @author Anil.Saldhana at redhat.com
- * @since Mar 16, 2009
- */
-public class InteropEndpointDebugTestCase extends TestCase
-{   
-   String endpoint = null; 
-
-   //String endpoint = "http://interop.demo.jboss.com/test/SOAPServlet";
-   //String endpoint = "http://localhost:8080/test/SOAPServlet";
- 
-    
-   public void testUseCase1() throws Exception
-   {
-     if(endpoint != null)
-     {  
-        JAXBElement<?> jb = getResponse("xacml/requests/interop-request.xml");
-        Envelope env = (Envelope) jb.getValue();
-        check(env, true);
-     }
-   }
-   
-   public void testUseCase2() throws Exception
-   {
-     if(endpoint != null)
-     {  
-        JAXBElement<?> jb = getResponse("xacml/requests/soap-request.xml");
-        Envelope env = (Envelope) jb.getValue();
-        check(env, true);
-     }
-   }
-   
-   public void testSAMLXACML() throws Exception
-   {
-      //Read the saml request from the file
-      ClassLoader tcl = Thread.currentThread().getContextClassLoader();
-      InputStream is = tcl.getResourceAsStream("xacml/requests/samlxacml.xml"); 
-      
-      Document doc = DocumentUtil.getDocument(is);
-      
-      /*Unmarshaller um = JAXBUtil.getUnmarshaller(SOAPSAMLXACMLUtil.getPackage());
-      um.setEventHandler(new javax.xml.bind.helpers.DefaultValidationEventHandler());
-
-      JAXBElement<?> obj = (JAXBElement<?>) um.unmarshal(is);*/
-      XACMLAuthzDecisionQueryType xat = SOAPSAMLXACMLUtil.getXACMLQueryType(doc.getDocumentElement() ); 
-      assertNotNull(xat);
-      RequestType requestType = xat.getRequest();
-      assertTrue(requestType.getEnvironment().getAttribute().size() > 0); 
-   }
-   
-   private void check(Envelope env, boolean permit)
-   {
-      throw new RuntimeException();
-      
-      /*JAXBElement<?> samlResponse = (JAXBElement<?>) env.getBody().getAny().get(0);
-      Object response = samlResponse.getValue();
-      if(response instanceof Fault)
-      {
-         Fault fault = (Fault) response;
-         System.out.println(fault.getFaultstring());
-         fail("fault");
-      }
-      ResponseType responseType = (ResponseType) response;
-      AssertionType at = (AssertionType) responseType.getAssertionOrEncryptedAssertion().get(0);
-      XACMLAuthzDecisionStatementType xst = (XACMLAuthzDecisionStatementType) at.getStatementOrAuthnStatementOrAuthzDecisionStatement().get(0);
-      ResultType rt = xst.getResponse().getResult().get(0);
-      DecisionType dt = rt.getDecision(); 
-      
-      if(permit)
-        assertEquals(DecisionType.PERMIT, dt);
-      else
-         assertEquals(DecisionType.DENY, dt);*/
-   }
-   
-   private JAXBElement<?> getResponse(String fileName) throws Exception
-   {
-      throw new RuntimeException( "FIX" );
-      /*//Read the saml request from the file
-      ClassLoader tcl = Thread.currentThread().getContextClassLoader();
-      InputStream is = tcl.getResourceAsStream(fileName); 
-      
-      Unmarshaller um = JAXBUtil.getUnmarshaller(SOAPSAMLXACMLUtil.getPackage());
-      Object soapRequest = um.unmarshal(is);
-      
-      Marshaller m = JAXBUtil.getMarshaller(SOAPSAMLXACMLUtil.getPackage());
-      
-      URL url = new URL(endpoint);
-      URLConnection conn = url.openConnection();
-      conn.setDoOutput(true); 
-      m.marshal(soapRequest, System.out);
-      m.marshal(soapRequest, conn.getOutputStream());
-      
-      return (JAXBElement<?>) um.unmarshal(conn.getInputStream()); */
-   }
-}
\ No newline at end of file

Modified: federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/soap/SOAPSAMLXACML.java
===================================================================
--- federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/soap/SOAPSAMLXACML.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/soap/SOAPSAMLXACML.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -54,8 +54,8 @@
 import org.picketlink.identity.federation.newmodel.saml.v2.profiles.xacml.assertion.XACMLAuthzDecisionStatementType;
 import org.picketlink.identity.federation.newmodel.saml.v2.profiles.xacml.protocol.XACMLAuthzDecisionQueryType;
 import org.picketlink.identity.federation.newmodel.saml.v2.protocol.ResponseType;
-import org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope.Fault;
 import org.w3c.dom.Document;
+import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
@@ -129,23 +129,8 @@
          //Send it across the wire
          URL url = new URL(endpoint);
          
-         SOAPMessage response = connection.call(soapMessage, url);
+         SOAPMessage response = connection.call(soapMessage, url); 
          
-         /*URLConnection conn = url.openConnection();
-         conn.setDoOutput(true); 
-         marshaller.marshal(soapRequest, conn.getOutputStream());
-         
-         JAXBElement<?> result = (JAXBElement<?>) unmarshaller.unmarshal(conn.getInputStream()); 
-         Envelope resultEnvelope = (Envelope) result.getValue();
-         
-         JAXBElement<?> samlResponse = (JAXBElement<?>) resultEnvelope.getBody().getAny().get(0);
-         Object response = samlResponse.getValue();
-         if(response instanceof Fault)
-         {
-            Fault fault = (Fault) response;
-            return new Result(null,fault); 
-         }*/
-         
          NodeList nl = response.getSOAPBody().getChildNodes();
          Node node = null;
          
@@ -184,23 +169,14 @@
       {
          throw new ProcessingException(e);
       }
-   }
-   /*
-   private Envelope createEnvelope(JAXBElement<?> jaxbElement)
-   {
-      Envelope envelope = SOAPFactory.getObjectFactory().createEnvelope();
-      Body body = SOAPFactory.getObjectFactory().createBody();
-      body.getAny().add(jaxbElement); 
-      envelope.setBody(body);
-      return envelope;
-   } */
+   } 
    
    public static class Result
    {
-      private Fault fault = null; 
+      private Element fault = null; 
       private DecisionType decisionType;
       
-      Result(DecisionType decision, Fault fault)
+      Result(DecisionType decision, Element fault)
       {
          this.decisionType = decision;
          this.fault = fault;
@@ -221,7 +197,7 @@
          return decisionType;
       }
       
-      public Fault getFault()
+      public Element getFault()
       {
          return fault;
       }

Deleted: federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/factories/SOAPFactory.java
===================================================================
--- federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/factories/SOAPFactory.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/factories/SOAPFactory.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,55 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.picketlink.identity.federation.core.factories;
-
-import javax.xml.bind.JAXBException;
-import javax.xml.bind.Marshaller;
-import javax.xml.bind.Unmarshaller;
-
-import org.picketlink.identity.federation.core.util.JAXBUtil;
-import org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope.ObjectFactory;
-
-/**
- * Provides an handle to the ObjectFactory that is capable
- * of creating SOAP objects
- * @author Anil.Saldhana at redhat.com
- * @since Jan 28, 2009
- */
-public class SOAPFactory
-{
-   private static ObjectFactory factory = new ObjectFactory();
-   
-   public static ObjectFactory getObjectFactory()
-   {
-      return factory;
-   }
-   
-   public static Marshaller getMarshaller() throws JAXBException
-   {
-      return JAXBUtil.getMarshaller("org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope"); 
-   }
-   
-   public static Unmarshaller getUnmarshaller() throws JAXBException
-   {
-      return JAXBUtil.getUnmarshaller("org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope"); 
-   }
-}
\ No newline at end of file

Deleted: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Body.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Body.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Body.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,104 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2008.12.08 at 05:45:20 PM CST 
-//
-
-
-package org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAnyAttribute;
-import javax.xml.bind.annotation.XmlAnyElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-
-import org.w3c.dom.Element;
-
-
-/**
- * <p>Java class for Body complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="Body">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;any/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "Body", propOrder = {
-    "any"
-})
-public class Body {
-
-    @XmlAnyElement(lax = true)
-    protected List<Object> any;
-    @XmlAnyAttribute
-    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
-
-    /**
-     * Gets the value of the any property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the any property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getAny().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Element }
-     * {@link Object }
-     * 
-     * 
-     */
-    public List<Object> getAny() {
-        if (any == null) {
-            any = new ArrayList<Object>();
-        }
-        return this.any;
-    }
-
-    /**
-     * Gets a map that contains attributes that aren't bound to any typed property on this class.
-     * 
-     * <p>
-     * the map is keyed by the name of the attribute and 
-     * the value is the string value of the attribute.
-     * 
-     * the map returned by this method is live, and you can add new attribute
-     * by updating the map directly. Because of this design, there's no setter.
-     * 
-     * 
-     * @return
-     *     always non-null
-     */
-    public Map<QName, String> getOtherAttributes() {
-        return otherAttributes;
-    }
-
-}

Deleted: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Detail.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Detail.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Detail.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,104 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2008.12.08 at 05:45:20 PM CST 
-//
-
-
-package org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAnyAttribute;
-import javax.xml.bind.annotation.XmlAnyElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-
-import org.w3c.dom.Element;
-
-
-/**
- * <p>Java class for detail complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="detail">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;any/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "detail", propOrder = {
-    "any"
-})
-public class Detail {
-
-    @XmlAnyElement(lax = true)
-    protected List<Object> any;
-    @XmlAnyAttribute
-    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
-
-    /**
-     * Gets the value of the any property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the any property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getAny().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Element }
-     * {@link Object }
-     * 
-     * 
-     */
-    public List<Object> getAny() {
-        if (any == null) {
-            any = new ArrayList<Object>();
-        }
-        return this.any;
-    }
-
-    /**
-     * Gets a map that contains attributes that aren't bound to any typed property on this class.
-     * 
-     * <p>
-     * the map is keyed by the name of the attribute and 
-     * the value is the string value of the attribute.
-     * 
-     * the map returned by this method is live, and you can add new attribute
-     * by updating the map directly. Because of this design, there's no setter.
-     * 
-     * 
-     * @return
-     *     always non-null
-     */
-    public Map<QName, String> getOtherAttributes() {
-        return otherAttributes;
-    }
-
-}

Deleted: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Envelope.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Envelope.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Envelope.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,161 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2008.12.08 at 05:45:20 PM CST 
-//
-
-
-package org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAnyAttribute;
-import javax.xml.bind.annotation.XmlAnyElement;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-
-import org.w3c.dom.Element;
-
-
-/**
- * <p>Java class for Envelope complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="Envelope">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;element ref="{http://schemas.xmlsoap.org/soap/envelope/}Header" minOccurs="0"/>
- *         &lt;element ref="{http://schemas.xmlsoap.org/soap/envelope/}Body"/>
- *         &lt;any/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "Envelope", propOrder = {
-    "header",
-    "body",
-    "any"
-})
-public class Envelope {
-
-    @XmlElement(name = "Header", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
-    protected Header header;
-    @XmlElement(name = "Body", namespace = "http://schemas.xmlsoap.org/soap/envelope/", required = true)
-    protected Body body;
-    @XmlAnyElement(lax = true)
-    protected List<Object> any;
-    @XmlAnyAttribute
-    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
-
-    /**
-     * Gets the value of the header property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link Header }
-     *     
-     */
-    public Header getHeader() {
-        return header;
-    }
-
-    /**
-     * Sets the value of the header property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link Header }
-     *     
-     */
-    public void setHeader(Header value) {
-        this.header = value;
-    }
-
-    /**
-     * Gets the value of the body property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link Body }
-     *     
-     */
-    public Body getBody() {
-        return body;
-    }
-
-    /**
-     * Sets the value of the body property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link Body }
-     *     
-     */
-    public void setBody(Body value) {
-        this.body = value;
-    }
-
-    /**
-     * Gets the value of the any property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the any property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getAny().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Element }
-     * {@link Object }
-     * 
-     * 
-     */
-    public List<Object> getAny() {
-        if (any == null) {
-            any = new ArrayList<Object>();
-        }
-        return this.any;
-    }
-
-    /**
-     * Gets a map that contains attributes that aren't bound to any typed property on this class.
-     * 
-     * <p>
-     * the map is keyed by the name of the attribute and 
-     * the value is the string value of the attribute.
-     * 
-     * the map returned by this method is live, and you can add new attribute
-     * by updating the map directly. Because of this design, there's no setter.
-     * 
-     * 
-     * @return
-     *     always non-null
-     */
-    public Map<QName, String> getOtherAttributes() {
-        return otherAttributes;
-    }
-
-}

Deleted: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Fault.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Fault.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Fault.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,158 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2008.12.08 at 05:45:20 PM CST 
-//
-
-
-package org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlSchemaType;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-
-
-/**
- * 
- * 	    Fault reporting structure
- * 	  
- * 
- * <p>Java class for Fault complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="Fault">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;element name="faultcode" type="{http://www.w3.org/2001/XMLSchema}QName"/>
- *         &lt;element name="faultstring" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         &lt;element name="faultactor" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
- *         &lt;element name="detail" type="{http://schemas.xmlsoap.org/soap/envelope/}detail" minOccurs="0"/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "Fault", propOrder = {
-    "faultcode",
-    "faultstring",
-    "faultactor",
-    "detail"
-})
-public class Fault {
-
-    @XmlElement(required = true)
-    protected QName faultcode;
-    @XmlElement(required = true)
-    protected String faultstring;
-    @XmlSchemaType(name = "anyURI")
-    protected String faultactor;
-    protected Detail detail;
-
-    /**
-     * Gets the value of the faultcode property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link QName }
-     *     
-     */
-    public QName getFaultcode() {
-        return faultcode;
-    }
-
-    /**
-     * Sets the value of the faultcode property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link QName }
-     *     
-     */
-    public void setFaultcode(QName value) {
-        this.faultcode = value;
-    }
-
-    /**
-     * Gets the value of the faultstring property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getFaultstring() {
-        return faultstring;
-    }
-
-    /**
-     * Sets the value of the faultstring property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setFaultstring(String value) {
-        this.faultstring = value;
-    }
-
-    /**
-     * Gets the value of the faultactor property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getFaultactor() {
-        return faultactor;
-    }
-
-    /**
-     * Sets the value of the faultactor property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setFaultactor(String value) {
-        this.faultactor = value;
-    }
-
-    /**
-     * Gets the value of the detail property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link Detail }
-     *     
-     */
-    public Detail getDetail() {
-        return detail;
-    }
-
-    /**
-     * Sets the value of the detail property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link Detail }
-     *     
-     */
-    public void setDetail(Detail value) {
-        this.detail = value;
-    }
-
-}

Deleted: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Header.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Header.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/Header.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,104 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2008.12.08 at 05:45:20 PM CST 
-//
-
-
-package org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAnyAttribute;
-import javax.xml.bind.annotation.XmlAnyElement;
-import javax.xml.bind.annotation.XmlType;
-import javax.xml.namespace.QName;
-
-import org.w3c.dom.Element;
-
-
-/**
- * <p>Java class for Header complex type.
- * 
- * <p>The following schema fragment specifies the expected content contained within this class.
- * 
- * <pre>
- * &lt;complexType name="Header">
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;any/>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- * 
- * 
- */
- at XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "Header", propOrder = {
-    "any"
-})
-public class Header {
-
-    @XmlAnyElement(lax = true)
-    protected List<Object> any;
-    @XmlAnyAttribute
-    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
-
-    /**
-     * Gets the value of the any property.
-     * 
-     * <p>
-     * This accessor method returns a reference to the live list,
-     * not a snapshot. Therefore any modification you make to the
-     * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the any property.
-     * 
-     * <p>
-     * For example, to add a new item, do as follows:
-     * <pre>
-     *    getAny().add(newItem);
-     * </pre>
-     * 
-     * 
-     * <p>
-     * Objects of the following type(s) are allowed in the list
-     * {@link Element }
-     * {@link Object }
-     * 
-     * 
-     */
-    public List<Object> getAny() {
-        if (any == null) {
-            any = new ArrayList<Object>();
-        }
-        return this.any;
-    }
-
-    /**
-     * Gets a map that contains attributes that aren't bound to any typed property on this class.
-     * 
-     * <p>
-     * the map is keyed by the name of the attribute and 
-     * the value is the string value of the attribute.
-     * 
-     * the map returned by this method is live, and you can add new attribute
-     * by updating the map directly. Because of this design, there's no setter.
-     * 
-     * 
-     * @return
-     *     always non-null
-     */
-    public Map<QName, String> getOtherAttributes() {
-        return otherAttributes;
-    }
-
-}

Deleted: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/ObjectFactory.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/ObjectFactory.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/ObjectFactory.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,122 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2008.12.08 at 05:45:20 PM CST 
-//
-
-
-package org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope;
-
-import javax.xml.bind.JAXBElement;
-import javax.xml.bind.annotation.XmlElementDecl;
-import javax.xml.bind.annotation.XmlRegistry;
-import javax.xml.namespace.QName;
-
-
-/**
- * This object contains factory methods for each 
- * Java content interface and Java element interface 
- * generated in the org.xmlsoap.schemas.soap.envelope package. 
- * <p>An ObjectFactory allows you to programatically 
- * construct new instances of the Java representation 
- * for XML content. The Java representation of XML 
- * content can consist of schema derived interfaces 
- * and classes representing the binding of schema 
- * type definitions, element declarations and model 
- * groups.  Factory methods for each of these are 
- * provided in this class.
- * 
- */
- at XmlRegistry
-public class ObjectFactory {
-
-    private final static QName _Envelope_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Envelope");
-    private final static QName _Fault_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Fault");
-    private final static QName _Header_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Header");
-    private final static QName _Body_QNAME = new QName("http://schemas.xmlsoap.org/soap/envelope/", "Body");
-
-    /**
-     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.xmlsoap.schemas.soap.envelope
-     * 
-     */
-    public ObjectFactory() {
-    }
-
-    /**
-     * Create an instance of {@link Body }
-     * 
-     */
-    public Body createBody() {
-        return new Body();
-    }
-
-    /**
-     * Create an instance of {@link Detail }
-     * 
-     */
-    public Detail createDetail() {
-        return new Detail();
-    }
-
-    /**
-     * Create an instance of {@link Header }
-     * 
-     */
-    public Header createHeader() {
-        return new Header();
-    }
-
-    /**
-     * Create an instance of {@link Fault }
-     * 
-     */
-    public Fault createFault() {
-        return new Fault();
-    }
-
-    /**
-     * Create an instance of {@link Envelope }
-     * 
-     */
-    public Envelope createEnvelope() {
-        return new Envelope();
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link Envelope }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Envelope")
-    public JAXBElement<Envelope> createEnvelope(Envelope value) {
-        return new JAXBElement<Envelope>(_Envelope_QNAME, Envelope.class, null, value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link Fault }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Fault")
-    public JAXBElement<Fault> createFault(Fault value) {
-        return new JAXBElement<Fault>(_Fault_QNAME, Fault.class, null, value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link Header }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Header")
-    public JAXBElement<Header> createHeader(Header value) {
-        return new JAXBElement<Header>(_Header_QNAME, Header.class, null, value);
-    }
-
-    /**
-     * Create an instance of {@link JAXBElement }{@code <}{@link Body }{@code >}}
-     * 
-     */
-    @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/soap/envelope/", name = "Body")
-    public JAXBElement<Body> createBody(Body value) {
-        return new JAXBElement<Body>(_Body_QNAME, Body.class, null, value);
-    }
-
-}

Deleted: federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/package-info.java
===================================================================
--- federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/package-info.java	2011-02-02 13:45:06 UTC (rev 698)
+++ federation/trunk/picketlink-fed-model/src/main/java/org/picketlink/identity/federation/org/xmlsoap/schemas/soap/envelope/package-info.java	2011-02-03 21:11:08 UTC (rev 699)
@@ -1,9 +0,0 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2008.12.08 at 05:45:20 PM CST 
-//
-
- at javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.xmlsoap.org/soap/envelope/")
-package org.picketlink.identity.federation.org.xmlsoap.schemas.soap.envelope;



More information about the jboss-cvs-commits mailing list