XmlPublisher element name conflict problem

How do I specifically tell the publisher to choose between two similar element name under different branch which one I want?
example:
<root>
     <same>Not what I want</same>
    <branch>
        <same>What I want</same>
    </branch>
</root>

How do I specifically tell the publisher to choose between two similar element name under different branch which one I want?
example:
<root>
     <same>Not what I want</same>
    <branch>
        <same>What I want</same>
    </branch>
</root>

Similar Messages

  • Compiler issue when different case element names

    Hi
    Given this simple schema where two elements with the same name but a different case exist causes problems with the generated code.
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="test">
    <xsd:complexType mixed="false">
    <xsd:sequence>
    <xsd:element ref="TEST" minOccurs="1" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="TEST">
    <xsd:complexType mixed="false">
    <xsd:sequence>
    <xsd:element name="data" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    The compiler only generates class files for one of the Test elements, but refers to both (test and TEST) in the ObjectFactory class for example -> therefore I get compiler errors. Is there a way around this (e.g. bindings) without changing the schema.
    Thankyou
    AB

    Looking at the compiler output, it says it has generated the conflicting classes (e.g. TEST.java and Test.java), but when I look in the directory, only Test.java is there. I am assuming this may be a MS Windows problem. I am running this on Windows 2000 and the first file may be overwriting the second file - just a thought.
    If I can get hold of a UNIX box I will give it another go.
    AB

  • How to resolve xjc method name conflict?

    Hi! I'm having a problem with certain types of schema constructs and the method names in the xjc-generated classes. E.g., given the schema fragment:
    <xs:element name="DocRef_type">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:integer">
    <xs:attribute name="value" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="medline"/>
    <xs:enumeration value="pubmed"/>
    <xs:enumeration value="ncbigi"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    xjc (current release) fails on this schema, because it would generate overlapping method names: one getValue() to return the integer value, and one getValue() to return the string attribute named "value". Now, I know I can fix this by just changing 'name="value"' to 'name="somethingElse"' in the above attribute, but this breaks existing XML data we've already got that uses value="...".
    Is there some way to tell xjc to use a different name mapping to resolve this conflict in the generated java class?
    TIA for any tips,
    - Paul

    You can customize the name of the property representing the attribute. E.g.:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
    jaxb:version="1.0">
    <xs:attribute name="value" use="required">
    <xs:annotation>
    <xs:appinfo>
    <jaxb:property name="attValue"/>
    </xs:appinfo>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    -- Ed

  • JNDIConnector datasource name= null,Problem in connection of Mysql and bean

    Hi
    I am using Sun App Server9.0, Mysql5.0, and Netbeans 5.5. When I am trying to run my facade, it is not detacting datasource.
    Do I have to set some property in server.
    I am getting this exception.
    deployed with moduleid = EnterpriseApplication1-app-client
    [TopLink Config]: 2007.05.13 01:33:53.906--ServerSession(14411981)--property toplink.server.platform.class.name is deprecated, property toplink.target-server should be used instead.
    topLink_version
    application_server_name_and_version
    platform=>MySQL4Platform
    user name=> ""
    connector=>JNDIConnector datasource name=>null
    );|connecting
    ;|connected_user_database_driver
    platform=>MySQL4Platform
    user name=> ""
    connector=>JNDIConnector datasource name=>null
    );|connecting
    ;|connected_user_database_driver
    login_successful
    mohi d0one
    code is
    public void addEmail (UserEntity key, EmailEntity emailObj)throws EmailExistsException, EmailAlreadyAddedException
    Query query;
    Query query_return;
    List list;
    EmailEntity emailObjList;
    EntityTransaction tx ;
    String email = emailObj.getEmailAddress();
    // if(verifyEmailAddress(email)){
    list = find(key.getUser_Id());
    query_return = em.createQuery(
    "from EmailEntity c where c.user_id=:user_id");
    query_return.setParameter("user_id", key.getUserId());
    list = query_return.getResultList( );
    tx = em.getTransaction();
    tx.begin();
    em.persist(emailObj);
    tx.commit();
    Please suggest me what I am missing.
    In server console I have-----
    C:/Sun/SDK/jdk\bin\java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=C:/Sun/SDK/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=C:/Sun/SDK/lib/endorsed
    -Djava.security.policy=C:/Sun/SDK/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=C:/Sun/SDK/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=C:/Sun/SDK/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/SDK/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=C:/Sun/SDK/jdk/jre/lib/ext;C:/Sun/SDK/domains/domain1/lib/ext;C:/Sun/SDK/javadb/lib
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
    -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
    -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.configName=server-config
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Dcom.sun.aas.promptForIdentity=true
    -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
    -Dcom.sun.aas.instanceRoot=C:/Sun/SDK/domains/domain1
    -Dcom.sun.aas.domainName=domain1
    -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/SDK/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/imq/lib/imqxm.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
    -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/SDK/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
    -Dcom.sun.aas.classloader.serverClassPath=C:/Sun/SDK/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/SDK/imq/lib/jaxm-api.jar,C:/Sun/SDK/imq/lib/fscontext.jar,C:/Sun/SDK/imq/lib/imqbroker.jar,C:/Sun/SDK/imq/lib/imqjmx.jar,C:/Sun/SDK/lib/ant/lib/ant.jar,C:/Sun/SDK/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
    -Dcom.sun.aas.classloader.appserverChainJars.ee=
    -Dcom.sun.aas.configRoot=C:/Sun/SDK/config
    -Djava.library.path=C:\Sun\SDK\lib;C:\Sun\SDK\lib;C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\SDK\lib;C:\Sun\SDK\bin;C:\Sun\SDK\bin;C:\Sun\SDK\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\GTK\2.0\bin;C:\Softwares;C:\Program Files\jboss-4.0.5.GA\bin;C:\Program Files\Java\jre1.6.0\bin;C:\Program Files\Java\jdk1.6.0\bin;C:\Sun\SDK\bin;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -Dcom.sun.aas.installRoot=C:/Sun/SDK
    -Dcom.sun.aas.ClassPathPrefix=
    -Dcom.sun.aas.ClassPathSuffix=
    -Dcom.sun.aas.ServerClassPath=
    -cp
    ;C:/Sun/SDK/lib/appserv-launch.jar
    com.sun.enterprise.server.PELaunch
    start
    Starting Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01) ...
    CORE5098: AS Socket Service Initialization has been completed.
    CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0] from [Sun Microsystems Inc.]
    SEC1002: Security Manager is OFF.
    ADM0001:MBeanServer initialized successfully
    SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
    sgmt.service_initialized
    DPL5400:Exception occurred : error in opening zip file.
    ADM1079: Initialization of AMX MBeans successful
    ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://software-3bf780.gateway.2wire.net:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
    ADM1506: Status of Standard JMX Connector: Active = [true]
    JTS5014: Recoverable JTS instance, serverId = [3700]
    About to load the system app: MEjbApp
    LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
    About to load the system app: __ejb_container_timer_app
    EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
    LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
    [TopLink Config]: 2007.05.13 12:48:24.234--ServerSession(10697984)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.375--ServerSession(10697984)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
    [TopLink Config]: 2007.05.13 12:48:24.390--ServerSession(10697984)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.437--ServerSession(10697984)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
    [TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
    [TopLink Config]: 2007.05.13 12:48:24.453--ServerSession(10697984)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.484--ServerSession(10697984)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
    [TopLink Config]: 2007.05.13 12:48:24.500--ServerSession(10697984)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
    [TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 12:48:24.703--ServerSession(10697984)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
    naming.bind
    **RemoteBusinessJndiName: session.EmailEntityFacadeRemote; remoteBusIntf: session.EmailEntityFacadeRemote
    LDR5010: All ejb(s) of [EnterpriseApplication1-ejb] loaded successfully!
    SMGT0007: Self Management Rules service is enabled
    Application server startup complete.
    WEB0302: Starting Sun-Java-System/Application-Server.
    WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []
    WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]
    WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
    About to load the system app: __JWSappclients
    WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [__JWSappclients]
    CORE5024: EJB module [EnterpriseApplication1-ejb] unloaded successfully!
    DeployedItemRef postDeregistration failed. Load Balancer Monitoring MBeans might be lying around if this application is being load balanced
    ADM1006:Uploading the file to:[C:\Documents and Settings\mohini kharb\Local Settings\Temp\s1astempdomain1server-1036455939\EnterpriseApplication1-ejb.jar]
    deployed with moduleid = EnterpriseApplication1-ejb
    ADM1041:Sent the event to instance:[ModuleDeployEvent -- enable ejb/EnterpriseApplication1-ejb]
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.265--ServerSession(14411981)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.281--ServerSession(14411981)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
    [TopLink Config]: 2007.05.13 01:30:58.296--ServerSession(14411981)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
    [TopLink Config]: 2007.05.13 01:30:58.312--ServerSession(14411981)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
    naming.bind
    **RemoteBusinessJndiName: session.EmailEntityFacadeRemote; remoteBusIntf: session.EmailEntityFacadeRemote
    LDR5010: All ejb(s) of [EnterpriseApplication1-ejb] loaded successfully!
    ADM1006:Uploading the file to:[C:\Documents and Settings\mohini kharb\Local Settings\Temp\s1astempdomain1server-1036455939\EnterpriseApplication1.ear]
    deployed with moduleid = EnterpriseApplication1
    ADM1041:Sent the event to instance:[ApplicationDeployEvent -- enable EnterpriseApplication1]
    [TopLink Config]: 2007.05.13 01:31:19.796--ServerSession(25852780)--The alias name for the entity class [class Entity.UserFeedlEntity] is being defaulted to: UserFeedlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.FeedlEntity] is being defaulted to: FeedlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.TaglEntity] is being defaulted to: TaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EventlEntity] is being defaulted to: EventlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EventInvitelEntity] is being defaulted to: EventInvitelEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.WeatherFeedEntrylEntity] is being defaulted to: WeatherFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.EmailEntity] is being defaulted to: EmailEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.UserBuddylEntity] is being defaulted to: UserBuddylEntity.
    [TopLink Config]: 2007.05.13 01:31:19.812--ServerSession(25852780)--The alias name for the entity class [class Entity.DefaultFeedEntrylEntity] is being defaulted to: DefaultFeedEntrylEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.FeedTypelEntity] is being defaulted to: FeedTypelEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.UserlEntity] is being defaulted to: UserlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.EventTaglEntity] is being defaulted to: EventTaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.lUserTasklEntity] is being defaulted to: lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:31:19.828--ServerSession(25852780)--The alias name for the entity class [class Entity.EventRepeatInfolEntity] is being defaulted to: EventRepeatInfolEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserBuddyVisibleTagslEntity] is being defaulted to: UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserEventlEntity] is being defaulted to: UserEventlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserWebCalendarlEntity] is being defaulted to: UserWebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.TimeZonelEntity] is being defaulted to: TimeZonelEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.WebCalendarEventlEntity] is being defaulted to: WebCalendarEventlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.UserTaskTaglEntity] is being defaulted to: UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The alias name for the entity class [class Entity.WebCalendarlEntity] is being defaulted to: WebCalendarlEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.lUserTasklEntity.userTaskTaglEntityCollection] is being defaulted to: class Entity.UserTaskTaglEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the many to one mapping element [private Entity.lUserTasklEntity Entity.UserTaskTaglEntity.lUserTasklEntity] is being defaulted to: class Entity.lUserTasklEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the one to many mapping element [private java.util.Collection Entity.UserBuddylEntity.userBuddyVisibleTagslEntityCollection] is being defaulted to: class Entity.UserBuddyVisibleTagslEntity.
    [TopLink Config]: 2007.05.13 01:31:19.843--ServerSession(25852780)--The target entity (reference) class for the many to one mapping element [private Entity.UserBuddylEntity Entity.UserBuddyVisibleTagslEntity.userBuddylEntity] is being defaulted to: class Entity.UserBuddylEntity.
    naming.bind
    EJB5090: Exception in creating EJB container [javax.naming.NameAlreadyBoundException: Use rebind to override]
    appId=EnterpriseApplication1 moduleName=EnterpriseApplication1-ejb_jar ejbName=EmailEntityFacade
    LDR5012: Jndi name conflict found in [EnterpriseApplication1]. Jndi name [session.EmailEntityFacadeRemote] for bean [EmailEntityFacade] is already in use.
    LDR5013: Naming exception while creating EJB container:
    javax.naming.NameAlreadyBoundException: Use rebind to override
    at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:279)
    at com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:219)
    at com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:98)
    at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:77)
    at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:372)
    at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:387)
    at javax.naming.InitialContext.bind(InitialContext.java:404)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:215)
    at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:168)
    at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:948)
    at com.sun.ejb.containers.StatelessSessionContainer.initializeHome(StatelessSessionContainer.java:220)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:671)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:184)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
    at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
    at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
    at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
    at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Registering ad hoc servlet: WebPathPath: context root = "/EnterpriseApplication1", path = "/EnterpriseApplication1-app-client'
    Java Web Start services started for application com.sun.enterprise.appclient.jws.ApplicationContentOrigin@fa6240 registration name=En

    The server log indicates that
    "Application NOT loaded: [EnterpriseApplication1]"
    I also see:
    "Jndi name conflict found in [EnterpriseApplication1]. Jndi name [session.EmailEntityFacadeRemote] for bean [EmailEntityFacade] is already in use."
    Will forward this the deployment team. Will get back to you soon

  • XSLT Transformation error:  Non-canonical structure of element name

    Good day experts,
    I have recently started using xslt, and came upon the following demo in the sdn.
    http://wiki.sdn.sap.com/wiki/display/ABAP/XMLXSLTwith+ABAP
    I have retrieved the example xml files from airplus.com, as per the instructions, and implemented the code.
    When I test the xslt transformation in se80, it transforms correctly.
    However, when I run the program, I get the following error.
    CX_XSLT_FORMAT_ERROR
    Transformation error:  Non-canonical structure of element name XML_OUTPUT   
    Is there an error in the example that I am not aware of?
    Thanks in advance,
    Johan Kriek

    Found the solution.
    You rename the tag <XML_OUTPUT> to anything else like <TEST>. And Hurray!!! it works.
    It looks like SAP is using this name internally somewhere so we are getting error when we are using same name.
    Anyways the problem is solved.
    Regards,
    Jai

  • PI 7.0 - SMICM - Host Name - Conflict with other places

    Hi Friends,
    We have host name conflict in SMICM and in other places.
    For example, in SMICM it shows the host name 'A' for HTTP protocol and it is green, where as in other places like in RZ10 (Profiles in ABAP), Exchange Profiles (Connection Parameters, Host name), in SLD and in Visual Admin the host name is mentioned as 'B'.
    At present, the messages are failing in SXMB_MONI with the error "CLIENT_RECEIVE_FAILED 402 ICM_HTTP_TIMEOUT  ".
    When we checked the paramter "icm/host_name_full" in RZ11,it shows the empty value.
    This problem comes in our quality PI system, ABAP stack.
    Could you kindly clarify in SMICM for the HTTP service from where the host name is taken and displays here?
    Kind regards,
    Jegathees P.

    Connect to the operating system. Check this file (replace xxx with your SID and, if applicable, 00 with the correct instance):
    C:\usr\sap\xxx\SYS\profile\xxx_DVEBMGS00_ILBNKxxx
    Find this line:
    icm/host_name_full = hostname.company.corp
    Is this maybe empty / incorrect / incomplete?
    After changing this the server needs to be restarted.
    Sometimes we had strange behaviors after host name changes, which went away after going to sicf -> execute -> right-click on default host -> deactivate -> right-click again -> activate -> in the pop-up click the second activate button, which is for activating the system and all dependent entries.

  • XPath expression for fetching element names & attributes

    Hi out there!
    I�m trying to get a result set out of a xml schema, using XPath. The problem is, that any expression gets just a whole node set back, as it seems. The result I�d like to get would be the following. Imagine I got a schema like this:
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:r="http://recipes.org"
    targetNamespace="http://recipes.org"
    elementFormDefault="qualified">
    <element name="recipe">
    <complexType>
    <sequence>
    <element name="title" type="string"/>
    <element ref="r:ingredient" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="r:preparation"/>
    <element name="comment" minOccurs="0" type="string"/>
    <element name="nutrition">
    <complexType>
    <attribute name="protein" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="carbohydrates" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="fat" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="calories" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="alcohol" type="r:nonNegativeDecimal" use="optional"/>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    </schema>
    Now, when I`m refering to the element <attribute name="protein" type="r:nonNegativeDecimal" use="required"/>, I would like to get all ancestors of it, which is not a big issue at all, but i`d just like to get their names and attributes, if they have some. So the result should be something like:
    <element name="recipe">
    <complexType>
    <sequence>
    <element name="nutrition">
    <complexType>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    Any ideas anybody?
    Thanks in advance, Jens

    Well, I would use the org.apache.xpath.XPathAPI class and parse the input XML into a DOM document., and then utilize the single xpath expression //attribute[@name=protein]/ancestor::* to recover all ancestors (in a directal-tree-traversal order) of any node called "attribute" and with attr "name=protein" .
    Could it be?

  • Different Element Names

    I think the solution to my problem is very easy, but i couldn't fint it :(
    So, here is:
    I have an XML which have a list of elements with different names, but in sequence.
    An example:
    <DOC>
    <DOC_OBL_1>
      <TIP_DOC_OBL>1</TIP_DOC_OBL>
    </DOC_OBL_1>
    <DOC_OBL_2>
      <TIP_DOC_OBL>2</TIP_DOC_OBL>
      </DOC_OBL_2>
    <DOC_OBL_3>
      <TIP_DOC_OBL>3</TIP_DOC_OBL> 
    </DOC_OBL_3>
    </DOC>So, i have 3 elements: DOC_OBL_1, DOC_OBL_2 and DOC_OBL_3. And yes, there could be number 4, 5, 6, etc.
    As you can se, all 3 have the same elements inside(actually, they have a lot of them, but arent important righ now), and I thinked i could declare a general type which could validate this kind of documents.
    How can i validate this with an Schema???
    I know its a very ugly XML (maybe it isnt standard, please tell me, i dont know), but It's not my concern to build this document. I just have to parse it, validate it and transform it.
    You can just link to the solution, any help will be wellcome.

    Ok, thank you all.
    I've done this, finally:
      <xsd:element name="DOC_OBL">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="DOC_OBL_1" type="DocOBLType" minOccurs="1" />
            <xsd:element name="DOC_OBL_2" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_3" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_4" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_5" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_6" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_7" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_8" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_9" type="DocOBLType" minOccurs="0" />
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>with this:
      <xsd:complexType name="DocOBLType">
        <xsd:sequence>
          //elements..
        </xsd:sequence>
      </xsd:complexType>It works, for now. ^^
    (No, no, no.. i cant change the document formart, its not my concern!!)

  • CJK characters in xml element name

    Hi People,
    I have a question as it looks like I am doing something wrong, but I do not know what.
    I am trying to use CJK characters in the element name of an xml document and the element names are encoded/parsed using the default encoding and not the encoding specified at the xml document.
    This is the specific code
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
         document.appendChild(document.createElement("\ub3c4\uba54\uc778"));
         TransformerFactory tFactory = TransformerFactory.newInstance();
            Transformer transformer = tFactory.newTransformer();
            transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
            transformer.transform(new DOMSource(document), new StreamResult(baos));
            System.out.println(new String(baos.toByteArray(), "UTF-8"));
            System.out.println(new String(baos.toByteArray()));(you have to run this on a system that does not have UTF-8 as the default locale :-)
    The result of this is
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><???/>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><&#46020;&#47700;&#51064;/>
    So the encoding of the element name is not UTF-8 but the default encoding.
    Just in case someone ask
    $ java -version
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
    Thanks,
    Lucas

    Hi Alpha.23,
    well I'm not sure, and maybe I'm totally wrong, but here is what I think about your problem.
    As there is no error while running the code, there should be no XML problem (so the characters you are using are XML compatible for tag names).
    I think the problem is the ability of any computer to display such chars. The questionmark often indicates that there is a char which cannot display correctly. This depends partitially on the font your are using.
    If I try to display the chars with simple System.out.println("\ub3c4\uba54\uc778"); I get those question marks too. So I guess the console of my IDE (eclipse) can't display these Korean symbols. But I haven't installed the specific language-support for any of the Asian languages (so I don't know what happend when they are installed, though I guess that doesn't solve the problem...).
    So my tip is first to look for a way to print these char in general (on the console, into a file, maybe try to create a word document because a unicode font -i.e. Arial Unicode- is able to print these - try ALT+47700 or ALT+46020).
    Best Wishes
    esprimo

  • Unexpected element name - confusion of types in client

    I have a web service definition that performs four operations:
    - String getTitle(long) - returns a title for a single asset
    - StringArrayType) getTitles(LongArrayType) - returns an ordered list of titles matching input list
    - AssetSummaryType getSummary(long) - Returns a complex type, summary information of an asset
    - AssetSummaryArrayType getSummaries(LongArrayType) - Returns an array of complex types
    Based on the WSDL (included at the bottom of this posting) I then generate the service
    endpoint using wscompile and -f:wsi option (JDK 1.4.2-05 and JWSDP-1.4).
    This is built into a raw war file and then cooked using wsdeploy.
    On the client side I create stubs using wscompile and -f:wsi and compile
    the resultant code. My client invokes each of the operations in turn, having been
    provided the relevant 'longs' as input.
    The service is deployed in JBoss-3.2.2 and the client is then executed from a separate JVM.
    I then see the following client error:
    java.rmi.RemoteException: Runtime exception; nested exception is:
    unexpected element name: expected={http://example.com/myAssetWebSvc}Str
    ingElement, actual={http://example.com/MyAssetWebSvc}AssetSummaryElement
    at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(
    StreamingSender.java:318)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300
    at example.com.wsclient.asset.AssetService_Stub.getTitle(AssetService_St
    ub.java:175)
    at example.com.wsclient.asset.AssetClient.testAssetTitleRetrieval(AssetC
    lient.java:82)
    at example.com.wsclient.asset.AssetClient.main(AssetClient.java:51)
    Caused by: unexpected element name: expected={http://example.com/MyAssetWebSvc}
    StringElement, actual={http://example.com/MyAssetWebSvc}AssetSummaryElement
    at com.sun.xml.rpc.encoding.literal.LiteralSimpleTypeSerializer.deserial
    ize(LiteralSimpleTypeSerializer.java:106)
    at example.com.wsclient.asset.AssetService_Stub._deserialize_getTitle(As
    setService_Stub.java:318)
    at example.com.wsclient.asset.AssetService_Stub._readFirstBodyElement(As
    setService_Stub.java:276)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:215
    ... 3 more
    If I deploy the same service with only the first two operations defined within wsdl,
    the error is not seen.
    I have also tried compilation on JWSDP 1.3 and JDK 1.4.1-03 and in this case the same error
    occurs but the other way around. The two 'title' operations work but the summary
    operations fail with the actual element encountered being a StringElement or StringArrayElement
    and the expected an AssetSummaryElement or AssetSummaryArrayElement.
    Further, if I change the name of the StringElement to for example 'MyStringElement', this is
    reported as the actual - i.e. there is no confusion with a standard type at play here.
    I also use handlers, one on the server side to inspect security information and one on the
    client to insert relevant details and look for returned errors within the header.
    Is this a known problem within JWSDP 1.3 and/or 1.4? Are there any workarounds.
    My wsdl is provided below along with the wscompile options and the matching configuration
    files used.
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="MyAssetService" targetNamespace="http://example.com/MyAssetWebSvc"
         xmlns:tns="http://example.com/MyAssetWebSvc"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <wsdl:types>
    <xsd:schema targetNamespace="http://example.com/MyAssetWebSvc"
              xmlns:tns="http://example.com/MyAssetWebSvc"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="AssetSummaryType">
    <xsd:all>
    <xsd:element name="createdBy" type="xsd:string" />
    <xsd:element name="createdDate" type="xsd:dateTime" />
    <xsd:element name="description" type="xsd:string" />
    <xsd:element name="fileSize" type="xsd:long" />
    <xsd:element name="id" type="xsd:long" />
    <xsd:element name="modifiedBy" type="xsd:string" />
    <xsd:element name="modifiedDate" type="xsd:dateTime" />
    <xsd:element name="organisation" type="xsd:string" />
    <xsd:element name="owner" type="xsd:string" />
    <xsd:element name="title" type="xsd:string" />
    <xsd:element name="type" type="xsd:string" />
    <xsd:element name="version" type="xsd:long" />
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="ExceptionType">
    <xsd:all>
    <xsd:element name="rootCause" type="xsd:string" nillable="true" />
    </xsd:all>
    </xsd:complexType>
    <xsd:complexType name="LongArrayType">
         <xsd:sequence>
              <xsd:element name="LongItem" type="xsd:long" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="AssetSummaryArrayType">
         <xsd:sequence>
              <xsd:element name="AssetSummaryItem" type="tns:AssetSummaryType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="StringArrayType">
         <xsd:sequence>
              <xsd:element name="StringItem" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="CredentialsType">
    <xsd:all>
    <xsd:element name="principal" type="xsd:string" />
    <xsd:element name="password" type="xsd:string" />
    </xsd:all>
    </xsd:complexType>
         <xsd:element name="LongElement" type="xsd:long"/>
    <xsd:element name="StringElement" type="xsd:string"/>
    <xsd:element name="LongArrayElement" type="tns:LongArrayType"/>
    <xsd:element name="StringArrayElement" type="tns:StringArrayType"/>
    <xsd:element name="AssetSummaryElement" type="tns:AssetSummaryType"/>
    <xsd:element name="AssetSummaryArrayElement" type="tns:AssetSummaryArrayType"/>
         <xsd:element name="CredentialsElement" type="tns:CredentialsType"/>
         <xsd:element name="ExceptionElement" type="tns:ExceptionType"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="getSummaryMessage">
    <wsdl:part name="resourceId" element="tns:LongElement" />
    </wsdl:message>
    <wsdl:message name="getSummaryResponse">
    <wsdl:part name="assetSummary" element="tns:AssetSummaryElement" />
    </wsdl:message>
    <wsdl:message name="assetException">
    <wsdl:part name="exception" element="tns:ExceptionElement" />
    </wsdl:message>
    <wsdl:message name="getTitle">
    <wsdl:part name="resourceId" element="tns:LongElement" />
    </wsdl:message>
    <wsdl:message name="getTitleResponse">
    <wsdl:part name="assetTitle" element="tns:StringElement" />
    </wsdl:message>
    <wsdl:message name="getSummaries">
    <wsdl:part name="resourceIdList" element="tns:LongArrayElement" />
    </wsdl:message>
    <wsdl:message name="getSummariesResponse">
    <wsdl:part name="assetSummaryList" element="tns:AssetSummaryArrayElement" />
    </wsdl:message>
    <wsdl:message name="getTitles">
    <wsdl:part name="resourceIdList" element="tns:LongArrayElement" />
    </wsdl:message>
    <wsdl:message name="getTitlesResponse">
    <wsdl:part name="assetTitleList" element="tns:StringArrayElement" />
    </wsdl:message>
    <wsdl:message name="securityHeader">
    <wsdl:part name="credentials" element="tns:CredentialsElement" />
    </wsdl:message>
    <wsdl:portType name="AssetService">
    <wsdl:operation name="getSummary" parameterOrder="resourceId">
    <wsdl:input message="tns:getSummaryMessage" />
    <wsdl:output message="tns:getSummaryResponse" />
    <wsdl:fault name="AssetException" message="tns:assetException" />
    </wsdl:operation>
    <wsdl:operation name="getTitle" parameterOrder="resourceId">
    <wsdl:input message="tns:getTitle" />
    <wsdl:output message="tns:getTitleResponse" />
    <wsdl:fault name="AssetException" message="tns:assetException" />
    </wsdl:operation>
    <wsdl:operation name="getSummaries" parameterOrder="resourceIdList">
    <wsdl:input message="tns:getSummaries" />
    <wsdl:output message="tns:getSummariesResponse" />
    <wsdl:fault name="AssetException" message="tns:assetException" />
    </wsdl:operation>
    <wsdl:operation name="getTitles" parameterOrder="resourceIdList">
    <wsdl:input message="tns:getTitles" />
    <wsdl:output message="tns:getTitlesResponse" />
    <wsdl:fault name="AssetException" message="tns:assetException" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="AssetServiceBinding" type="tns:AssetService">
    <wsdl:operation name="getSummary">
    <wsdl:input>
    <soap:header required="true" message="tns:securityHeader" part="credentials" use="literal" actor="security"/>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="AssetException">
    <soap:fault name="AssetException" use="literal"/>
    </wsdl:fault>
    <soap:operation soapAction="" />
    </wsdl:operation>
    <wsdl:operation name="getTitle">
    <wsdl:input>
    <soap:header required="true" message="tns:securityHeader" part="credentials" use="literal"/>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="AssetException">
    <soap:fault name="AssetException" use="literal"/>
    </wsdl:fault>
    <soap:operation soapAction="" />
    </wsdl:operation>
    <wsdl:operation name="getSummaries">
    <wsdl:input>
    <soap:header required="true" message="tns:securityHeader" part="credentials" use="literal"/>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="AssetException">
    <soap:fault name="AssetException" use="literal"/>
    </wsdl:fault>
    <soap:operation soapAction="" />
    </wsdl:operation>
    <wsdl:operation name="getTitles">
    <wsdl:input>
    <soap:header required="true" message="tns:securityHeader" part="credentials" use="literal"/>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="AssetException">
    <soap:fault name="AssetException" use="literal"/>
    </wsdl:fault>
    <soap:operation soapAction="" />
    </wsdl:operation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    </wsdl:binding>
    <wsdl:service name="MyAssetService">
    <wsdl:port name="AssetServicePort" binding="tns:AssetServiceBinding">
    <soap:address location="http://localhost:9090/MyAssetWebSvc/asset" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Here is the wscompile for the server - this is within an ant script that substitutes the variables specified:
    wscompile -keep -d ${path.classes} -s ${src.autojava} -import -model model.gz -f:wsi -f:documentliteral server-config.xml
    and this is the server config:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="file:///C:temp/MyAssetService_wsi.wsdl" packageName="example.com.wsserver.asset.wrapper">
    <handlerChains>
    <chain runAt="server">
    <handler className="example.com.wsserver.security.SecurityServerHandler">
    <property name="name" value="SecurityServerHandler"/>
    </handler>
    </chain>
    </handlerChains>
    </wsdl>
    </configuration>
    On the client side, here is the wscompile, again with ant variable substitution:
    wscompile -gen:client -keep -d ${path.build.wsclient.class} -s ${path.build.wsclient.autojava} -classpath ${path.build.wsclient.class} -f:wsi -f:documentliteral client-config.xml
    And here is the client config:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="file:///C:/temp/MyAssetService_wsi.wsdl" packageName="example.com.wsclient.asset">
    <handlerChains>
    <chain runAt="client">
    <handler className="example.com.wsclient.security.SecurityClientHandler">
    <property name="name" value="SecurityClientHandler"/>
    </handler>
    </chain>
    </handlerChains>
    </wsdl>
    </configuration>
    Note that I generate slightly different packages on client and server side. The server includes a 'wrapper' path on the package name - purely because the
    generated code wrappers an existent api that I am making available as a web service. This is not needed to be seen
    on the client side - i.e. the service appears as is without the wrapper.
    I have tried omitting the documentliteral from the wscompiles and this seems to have no effect.
    Any help gratefully received.
    Best regards
    Lawrence

    Thanks for the prompting. I was convinced that the error was occurring client side as I could see no activity on the server. However having captured the soap request and responses its evident that this is not the case (which I'm a little confused on based on my original tests, but the error makes more sense in this context).
    The request is below:
    <env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://example.com/myAssetWebSvc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Header>
    <ns1:mmsSecurity env:actor="security" env:mustUnderstand="1" xmlns:ns1="http://example.com/myAssetWebSvc">
    <principal>example.user</principal>
    <password>mypassword</password>
    </ns1:mmsSecurity>
    </env:Header>
    <env:Body>
    <ns0:LongElement>166333</ns0:LongElement>
    </env:Body>
    </env:Envelope>
    I can see from the body that the signature is not unique - its the same as that of the Summary operation. In this case, the server side is performing the summary (rather than the title that I had intended) and returning that response. This gives rise to the deserialisation error on the client side for the response.
    Presumably I need to move to the wrapped document literal style so that the request is uniquely identified on the server side.
    To me this was not an obvious gotcha, Could the parser (wscompile) be enhanced to trap identical request message definitions within a single service/endpoint definition (i.e. WSDL)? If so where should I post the request?

  • How to fill in Element Name box in Create Symbol Script?

    I'm trying to follow Adobe's directions for creating a Component Symbol so I can change the properties later.  They say, " 9. Click the plus button to add an element name. 10. In the Element Name box, type the name of the element to customize. For example, to customize the text field named "label," type "label".
    Here are my problems.  Fireworks (CS4 - Mac) won't let me type anything in the Element Name box.  The only place I can type is in the "property name" and "value name" boxes.  I also have a limited list of properties to chose from in the "attribute" dropdown.
    So I tried using one of the attributes and saving, without anything in the Element Name box but Fireworks said the box was blank and wouldn't let me save it.  It wouldn't let me add text there and wouldn't let me save it without text there.  Kind of frustrating.  What am I doing wrong?

    Your welcome.
    Yeah I wish the attributes were a little more intuitive to work with. I always get confused between brush.diameter, brushcolor, fillcolor!
    If you vreate anything unique don't hesitate to share it with the community.
    h

  • "recording name conflict" error

    Hi,
    I have a dependency problem building a new copy of Heimdal Kerberos (SS12.1 on SPARC) that I don't know how to work around. When make begins linking a number of the shared libraries together, it bombs out with:
    ld: fatal: recording name conflict: file `../krb5/.libs/libkrb5.so' and file `/opt/heimdal/lib/sparcv9/libkrb5.so' provide identical dependency names: libkrb5.so.25 (possible multiple inclusion of the same file)
    Libtool is finding /opt/heimdal/lib/sparcv9/libkrb5.so, listed in an .la file for openldap. But, since I built a new version of libkrb5.so, located at ../krb5/.libs/libkrb5.so, it fails. I tried to rename the old directory, but then it fails when it can't find it:
    ggrep: /opt/heimdal/lib/sparcv9/libgssapi.la: No such file or directory
    /opt/gnu/bin/sed: can't read /opt/heimdal/lib/sparcv9/libgssapi.la: No such file or directory
    libtool: link: `/opt/heimdal/lib/sparcv9/libgssapi.la' is not a valid libtool archive
    gmake[3]: *** [libhdb.la] Error 1
    gmake[3]: Leaving directory `/opt/ws/dists/Services/heimdal-1.2.1/lib/hdb'
    gmake[2]: *** [all] Error 2
    gmake[2]: Leaving directory `/opt/ws/dists/Services/heimdal-1.2.1/lib/hdb'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory `/opt/ws/dists/Services/heimdal-1.2.1/lib'
    gmake: *** [all-recursive] Error 1
    How do I get libtool to ignore the old file & use the new one? Any help would be greatly appreciated.
    Thanks.
    -John

    You probably have a shared library with a runpath that includes the location of the old libkrb5.so, and that does not include the location of the new version. The reference to libkrb5.so then can't be satisfied if you remove or rename the old directory. That dependency would also explain the linker complaint about the two copies of libkrb5.so when both are visible.
    Run ldd on the various project libraries to find ones with a dependency on /opt/heimdal/lib/sparcv9/libkrb5.so. Rebuild them with a new runpath (-R option) that does not include /opt/heimdal/lib/sparcv9 but does include the directory containing the new library version.
    If you can't remove /opt/heimdal/lib/sparcv9 from the runpath because the applciation needs other libraries in that directory, you need to replace the libkrb5.so in the directory with your new version. (I would rename the old directory so that you don't lose it.)
    (Note: the -L option tells the linker where to look for libraries at program link time. The -R option tells the run-time loader where to look for libraries when the program is run.)
    You also mention a ".la" file. I don't know what that is. I don't find a mention of such a thing in the Solaris Linker and Libraries Guide.

  • xsl:element missing node problem

    I was reading Re: re:how to use Apache's FOP (getting NPE) on the Oracle forums and noticed Steve M. said something about not being able to find nodes that <xsl:element> has created. I am currently having this problem when doing double transformations on documents. We would like to eliminate redundant style sheets but removing the table name prefix from our column names.
    ex:
    SZRADAP_PIDM and SZBRECR_PIDM have the same data and the rest of the columns in the two table are named in the same fasion. I have a simple style sheet that removes the table name prefix.
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xhtml" indent="yes"/>
    <xsl:template match="node()[contains(name(), '_')]">
    <xsl:element name="{substring-after(name(), '_')}">
    <xsl:apply-templates/>
    </xsl:element>
    </xsl:template>
    <xsl:template match="node()|@*">
    <xsl:copy>
    <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
    </xsl:template>
    </xsl:stylesheet>
    It works just fine but I would then like to include this .xsql in another .xsql for transfomation by a stylesheet that looks for the table non-specific tags. As was stated in the article I cannot find the nodes that have been created by the <xsl:element> function. I cannot readily use xsl:copy so I seem to be stuck. Any help or suggestions would be much appreciated.

    Well I seem to have found the problem ... I was using an old version of the XDK where this was an apparent bug. I've upgraded to the latest production XDK and it's all fixed.

  • Unexpected element name: expected WHEN INVOKING A WEB SERVICE

    I am pretty new to Web Services and need some helping in resolving the following error. I created following two classes and published one of the method savePerson. When I tried to invoke the webservice through my browser passing the following:
    <ns1:savePersonElement xmlns:ns1="http://mypackage17/Person.wsdl/types">
    <ns1:sex>simpleType value</ns1:sex>
    <ns1:human>
    <ns2:last xmlns:ns2="http://tempuri.org">simpleType value</ns2:last>
    <ns3:first xmlns:ns3="http://tempuri.org">simpleType value</ns3:first>
    </ns1:human>
    </ns1:savePersonElement>
    I get the following error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://mypackage17/Person.wsdl/types">
    <env:Body>
    <env:Fault>
    <faultcode>env:Client</faultcode>
    <faultstring>caught exception while handling request: unexpected element name: expected={http://mypackage17/Person.wsdl/types}name, actual={http://mypackage17/Person.wsdl/types}sex</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    But passing the following works fine as have passed all the parameters data:
    <ns1:savePersonElement xmlns:ns1="http://mypackage17/Person.wsdl/types">
    <ns1:name>simpleType value</ns1:name>
    <ns1:sex>simpleType value</ns1:sex>
    <ns1:human>
    <ns2:last xmlns:ns2="http://tempuri.org">simpleType value</ns2:last>
    <ns3:first xmlns:ns3="http://tempuri.org">simpleType value</ns3:first>
    </ns1:human>
    </ns1:savePersonElement>
    Here is the code I have for the webservice:
    package mypackage17;
    *@oracle.ws.WebService name = "MyWebService2", serviceName = "MyWebService2", description = "", targetNamespace = "http://tempuri.org", schemaTargetNamespace = "http://mypackage17/Person.wsdl/types", endpointInterface = "mypackage17.MyWebService1SEI"
    *@oracle.ws.SOAPBinding style = "DOCUMENT", use = "LITERAL", documentWrapped = "true", bindingName = "MyWebService1SoapHttp", portName = "MyWebService1Port"
    public class Person extends Human
    private String name;
    private String sex;
    public Person(){}
    public void setName(String name)
    this.name = name;
    public void setSex(String sex)
    this.sex = sex;
    public String getName()
    return this.name;
    public String getSex()
    return this.sex;
    *@oracle.ws.DocumentWrapper requestType = "savePerson", requestElement = "savePersonElement", requestPart = "parameters", responseType = "savePersonResponse", responseElement = "savePersonResponseElement", responsePart = "parameters"
    *@oracle.ws.WebMethod operationName = "savePerson", description = "", oneway = "false", documentWrapped = "true", inputMessage = "MyWebService1SEI_savePerson", outputMessage = "MyWebService1SEI_savePersonResponse", responsePart = "result"
    *@oracle.ws.ParamPart position = "0", partName = "name", mode = "IN", soapHeader = "false"
    *@oracle.ws.ParamPart position = "1", partName = "sex", mode = "IN", soapHeader = "false"
    *@oracle.ws.ParamPart position = "2", partName = "human", mode = "IN", soapHeader = "false"
    public void savePerson(String name, String sex, Human[] human)
    System.out.println("Name: " + name);
    System.out.println("Sex: " + sex);
    System.out.println(human.length);
    System.out.println("1 First: " + human[0].getFirst());
    System.out.println("1 Last: " + human[0].getLast());
    System.out.println("2 First: " + human[1].getFirst());
    System.out.println("2 Last: " + human[1].getLast());
    /****** THE OTHER CLASS ********/
    package mypackage17;
    public class Human
    private String first;
    private String last;
    public Human(){}
    public void setFirst(String first)
    this.first = first;
    public void setLast(String last)
    this.last = last;
    public String getFirst()
    return this.first;
    public String getLast()
    return this.last;
    Here is the WSDL generated using JDeveloper 10.1.3:
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions
    name="MyWebService2"
    targetNamespace="http://tempuri.org"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://tempuri.org"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:ns1="http://mypackage17/Person.wsdl/types"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org" elementFormDefault="qualified"
    xmlns:tns="http://tempuri.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://mypackage17/Person.wsdl/types"/>
    <complexType name="Human">
    <sequence>
    <element name="last" type="string" nillable="true"/>
    <element name="first" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mypackage17/Person.wsdl/types"
    elementFormDefault="qualified" xmlns:tns="http://mypackage17/Person.wsdl/types"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tempuri.org">
    <import namespace="http://tempuri.org"/>
    <complexType name="savePerson">
    <sequence>
    <element name="name" type="string" nillable="true"/>
    <element name="sex" type="string" nillable="true"/>
    <element name="human" type="ns1:Human" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="savePersonResponse">
    <sequence/>
    </complexType>
    <element name="savePersonElement" type="tns:savePerson"/>
    <element name="savePersonResponseElement" type="tns:savePersonResponse"/>
    </schema>
    </types>
    <message name="MyWebService1SEI_savePerson">
    <part name="parameters" element="ns1:savePersonElement"/>
    </message>
    <message name="MyWebService1SEI_savePersonResponse">
    <part name="parameters" element="ns1:savePersonResponseElement"/>
    </message>
    <portType name="MyWebService2">
    <operation name="savePerson">
    <input message="tns:MyWebService1SEI_savePerson"/>
    <output message="tns:MyWebService1SEI_savePersonResponse"/>
    </operation>
    </portType>
    <binding name="MyWebService1SoapHttp" type="tns:MyWebService2">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="savePerson">
    <soap:operation soapAction="http://tempuri.org:savePerson"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    </binding>
    <service name="MyWebService2">
    <port name="MyWebService1Port" binding="tns:MyWebService1SoapHttp">
    <soap:address location="http://192.168.2.101:8988/JavaWebService/MyWebService2"/>
    </port>
    </service>
    </definitions>
    Can someone tell what am I doing wrong. As it looks like I have to pass all the parameters for the method that is published but what if some are missing basically I want to keep all the parameters optional. How can I make the service to return the same what is passed when invoked. Any help is appreciated. I am using JDeveloper 10.1.3.

    To make the service return "whatever is passed", you have to take a step back and realize that there is a little understanding of XML Schema required.
    When using a complexType, which is defined as a sequence, then you are implying an ordered sequence of elements. Default value for the 'minOccurs' attribute is 1. It's also important to understand that there is a difference between minOccurs=0 and nillable="true".
    nillable="true" just means that the name element can carry a null value. If you want the name element to be optional, then you must use the minOccurs=0 and keep the maxOccurs to it's default value of 1. Using an array is just a bad work around. This is for deserialization (XML to JAVA).
    The second part of you problem is on the serialization (or JAVA to XML). When you have a JAVA Bean, there is no way to make the difference between a member's value being null or not set, so it's impossible to decide if you need to send back a nul (xsi:nil="true"), an empty element <ns1:name/> or nothing.
    That said, if you do want to go the XML route, you can use the dataBinding="false" flag in the different WSA command. Instead of converting XML into JAVA, you will have SOAPElement parameters, where you can do all you want (see WS user's guide [1] for details - chapter 16). Note that you have to make sure that the WSDL (your contract) reflect what you are doing on the wire (format of your messages), so that you do not geopardize your interoperability with other toolkit.
    Note that this only applies to literal message formats (use attribute in WSDL), which is your case.
    Hope this helps,
    Eric
    [1] http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b14434.pdf

  • Name space problem in a WSDL

    hello
    I have an RFC 2 WS sync message. in the reply, I seem to have a problem with my name space in the WSDL that I recieve. (I see 2 arrays with the same name in the response). I tryed to change the WSDL so it will be with one name space only but with out success. when I try to test the xml in the MM I I see it red in the tree.
    I attached the wsdl and the xml response that I recieve. (there are 2 processBPRArr array in the reponse with the same name space even though it seems that I have in the WSDL different name spaces).
    help will be appreciated.
    my WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://CRMWorkQueue.ws.migdal.co.il" xmlns:intf="http://CRMWorkQueue.ws.migdal.co.il" xmlns:tns1="http://CRMWorkQueue.ws.migdal.co.il" xmlns:tns2="http://CRMWorkQueue.ws.migdal.co.il" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://CRMWorkQueue.ws.migdal.co.il">
         <wsdl:types>
              <schema elementFormDefault="qualified" targetNamespace="http://CRMWorkQueue.ws.migdal.co.il" xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://beans.hafaka.scheme.migdal"/>
                   <import namespace="http://out.beans.hafaka.scheme.migdal"/>
                   <element name="getWorkQueue">
                        <complexType>
                             <sequence>
                                  <element name="in0" type="tns1:CRMWorkQueue"/>
                             </sequence>
                        </complexType>
                   </element>
                   <complexType name="ArrayOf_tns1_PaymentDetails">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:PaymentDetails"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_DOColl">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:DOColl"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_PSColl">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:PSColl"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_DGColl">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:DGColl"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_AttachedFile">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:AttachedFile"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_Party">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:Party"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_FundRequest">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:FundRequest"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_Relation">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:Relation"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_OptionalBenefit">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:OptionalBenefit"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_LifeParticipant">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:LifeParticipant"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_Coverage">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:Coverage"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns1_Policy">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:Policy"/>
                        </sequence>
                   </complexType>
                   <element name="getWorkQueueResponse">
                        <complexType>
                             <sequence>
                                  <element name="getWorkQueueReturn" type="tns2:CRMWorkQueueNotify"/>
                             </sequence>
                        </complexType>
                   </element>
                   <complexType name="ArrayOf_tns2_PathNoteInfo">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:PathNoteInfo"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_ChangeEssence">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:ChangeEssence"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_xsd_string">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_HistoryState">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:HistoryState"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_WorkQueue2000">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:WorkQueue2000"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_ReceivedDocument">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:ReceivedDocument"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_ExpectedDocument">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:ExpectedDocument"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_NoteInfo">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:NoteInfo"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_ProcessBPR">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:ProcessBPR"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_Restriction">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Restriction"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_Addition">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Addition"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_Taarif">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Taarif"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_ProductOffer">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:ProductOffer"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_Agreement">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Agreement"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_FundDetails">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:FundDetails"/>
                        </sequence>
                   </complexType>
                   <complexType name="ArrayOf_tns2_Funds">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Funds"/>
                        </sequence>
                   </complexType>
                   <complexType name="UserPswd">
                        <sequence>
                             <element name="pswd" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="cryptPswd" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="cryptType" minOccurs="0" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="UserAuthRequest">
                        <sequence>
                             <element name="userLoginName" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="userPswd" nillable="true" minOccurs="0" type="tns1:UserPswd"/>
                        </sequence>
                   </complexType>
                   <complexType name="AgreementRequest">
                        <sequence>
                             <element name="organizationKey" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="all" minOccurs="0" type="xsd:int"/>
                             <element name="carrierPartyId" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="agreementID" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="Organization">
                        <sequence>
                             <element name="directDeliveryByPost" minOccurs="0" type="xsd:int"/>
                             <element name="natureCategory" minOccurs="0" type="xsd:int"/>
                             <element name="policyHolderNumber" minOccurs="0" type="xsd:int"/>
                             <element name="govtID" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="commissionPayeeType" minOccurs="0" type="xsd:int"/>
                             <element name="salesManagerNum" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="organizationKey" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="residenceCounty" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="allowAppPaymentDetermining" minOccurs="0" type="xsd:int"/>
                             <element name="contactPersonName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="orgCode" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="abbrName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="carrierPartyId" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="orgForm" minOccurs="0" type="xsd:int"/>
                             <element name="publicCompanyIndicator" minOccurs="0" type="xsd:int"/>
                             <element name="addressCountry" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="commissionPayeeID" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="estabDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="signedAgreementInd" minOccurs="0" type="xsd:int"/>
                             <element name="percentForSalesManager" minOccurs="0" type="xsd:double"/>
                             <element name="fullName" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="Fax">
                        <sequence>
                             <element name="areaCode" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="dialNumber" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="PaymentDetails">
                        <sequence>
                             <element name="creditConfirmationID" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="cardOwnerID" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="creditCardType" minOccurs="0" type="xsd:int"/>
                             <element name="bankBranchName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="accountNumber" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="paymentMethod" minOccurs="0" type="xsd:int"/>
                             <element name="creditCardExpDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="acctHolderName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="bankName" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="Person">
                        <sequence>
                             <element name="fatherName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="firstName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="primaryProfession" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="secondaryEmailAddress" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="primaryEmailAddress" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="personKey" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="passportCountry" minOccurs="0" type="xsd:int"/>
                             <element name="birthDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="secondaryProfessionCode" minOccurs="0" type="xsd:int"/>
                             <element name="cellularNumber" minOccurs="0" type="xsd:int"/>
                             <element name="confirmationDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="englishFirstName" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="gender" minOccurs="0" type="xsd:int"/>
                             <element name="occupationCode" minOccurs="0" type="xsd:int"/>
                             <element name="lastName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="sendMailInd" minOccurs="0" type="xsd:int"/>
                             <element name="proofOfAgeInd" minOccurs="0" type="xsd:int"/>
                             <element name="carrierPartyId" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="selfEmployedDeclaration" minOccurs="0" type="xsd:int"/>
                             <element name="marStat" minOccurs="0" type="xsd:int"/>
                             <element name="smokerStat" minOccurs="0" type="xsd:int"/>
                             <element name="primaryProfessionCode" minOccurs="0" type="xsd:int"/>
                             <element name="issueDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="secondaryProfession" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="englishLastName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="occupation" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="cellularAreaCode" minOccurs="0" type="xsd:int"/>
                             <element name="declarationDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                        </sequence>
                   </complexType>
                   <complexType name="LS">
                        <sequence>
                             <element name="drugs_ls" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="DC">
                        <sequence>
                             <element name="name_dc" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="street_dc" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="first_name_dc" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="town_dc" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="id_no_dc" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="GH">
                        <sequence>
                             <element name="drinking_x_gh" minOccurs="0" type="xsd:int"/>
                             <element name="drinking_from_year_gh" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="gen_questions19_gh" minOccurs="0" type="xsd:int"/>
                             <element name="ever_smoked_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions20_gh" minOccurs="0" type="xsd:int"/>
                             <element name="number_cigarettes_then_gh" minOccurs="0" type="xsd:int"/>
                             <element name="height_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions2_gh" minOccurs="0" type="xsd:int"/>
                             <element name="family_disorders_x_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions12_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions7_gh" minOccurs="0" type="xsd:int"/>
                             <element name="number_cigarettes_now_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions17_gh" minOccurs="0" type="xsd:int"/>
                             <element name="ever_drunk_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions23_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions5_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions10_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions15_gh" minOccurs="0" type="xsd:int"/>
                             <element name="smoking_started_year_gh" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="smoking_x_gh" minOccurs="0" type="xsd:int"/>
                             <element name="smoking_stopped_year_gh" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="gen_questions21_gh" minOccurs="0" type="xsd:int"/>
                             <element name="weight_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions3_gh" minOccurs="0" type="xsd:int"/>
                             <element name="heathy_able_to_work_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions13_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions8_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions18_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions1_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions24_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions6_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions11_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions16_gh" minOccurs="0" type="xsd:int"/>
                             <element name="drinking_until_year_gh" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="gen_questions22_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions4_gh" minOccurs="0" type="xsd:int"/>
                             <element name="hiv_infection_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions9_gh" minOccurs="0" type="xsd:int"/>
                             <element name="gen_questions14_gh" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="PM">
                        <sequence>
                             <element name="pursuit_x_pm" minOccurs="0" type="xsd:int"/>
                             <element name="occupation_hazards_x_pm" minOccurs="0" type="xsd:int"/>
                             <element name="substandard_pm" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="DOColl">
                        <sequence>
                             <element name="treatment_year_do" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="start_month_do" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="has_fully_recovered_do" minOccurs="0" type="xsd:int"/>
                             <element name="hospital_admission_do" minOccurs="0" type="xsd:int"/>
                             <element name="end_year_do" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="several_times_do" minOccurs="0" type="xsd:int"/>
                             <element name="type_of_treatment_do" minOccurs="0" type="xsd:int"/>
                             <element name="disorder_name_do" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="consequences_do" minOccurs="0" type="xsd:int"/>
                             <element name="start_year_do" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="treatment_month_do" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="right_left_do" minOccurs="0" type="xsd:int"/>
                             <element name="code_do" minOccurs="0" type="xsd:int"/>
                             <element name="end_month_do" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="PSColl">
                        <sequence>
                             <element name="pursuit_name_ps" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="code_ps" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="DGColl">
                        <sequence>
                             <element name="drug_name_dg" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="code_dg" minOccurs="0" type="xsd:int"/>
                             <element name="quantity_dg" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="Questionnaire">
                        <sequence>
                             <element name="LS" nillable="true" minOccurs="0" type="tns1:LS"/>
                             <element name="DC" nillable="true" minOccurs="0" type="tns1:DC"/>
                             <element name="GH" nillable="true" minOccurs="0" type="tns1:GH"/>
                             <element name="PM" nillable="true" minOccurs="0" type="tns1:PM"/>
                             <element name="DOCollArr" nillable="true" minOccurs="0" type="impl:ArrayOf_tns1_DOColl"/>
                             <element name="PSCollArr" minOccurs="0" nillable="true" type="impl:ArrayOf_tns1_PSColl"/>
                             <element name="DGCollArr" minOccurs="0" nillable="true" type="impl:ArrayOf_tns1_DGColl"/>
                        </sequence>
                   </complexType>
                   <complexType name="HealthStatement">
                        <sequence>
                             <element name="questionnaireStr" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="tkufatBituach" minOccurs="0" type="xsd:int"/>
                             <element name="trdMiluiMevutach" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="medicalPcntAddition" minOccurs="0" type="xsd:double"/>
                             <element name="professionalPcntAddition" minOccurs="0" type="xsd:double"/>
                             <element name="questionnaire" nillable="true" minOccurs="0" type="tns1:Questionnaire"/>
                             <element name="maslulChitum" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="Phone">
                        <sequence>
                             <element name="areaCode" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="dialNumber" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="Address">
                        <sequence>
                             <element name="zip" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="buildNum" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="street" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="buildEnt" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="cityName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="cityCode" minOccurs="0" type="xsd:int"/>
                             <element name="addressValidInd" minOccurs="0" type="xsd:int"/>
                             <element name="POBox" minOccurs="0" type="xsd:int"/>
                             <element name="buildLet" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="AttachedFile">
                        <sequence>
                             <element name="fileType" minOccurs="0" type="xsd:int"/>
                             <element name="originalFileName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="fileContent" nillable="true" minOccurs="0" type="xsd:base64Binary"/>
                             <element name="fileName" nillable="true" minOccurs="0" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="Party">
                        <sequence>
                             <element name="organization" nillable="true" minOccurs="0" type="tns1:Organization"/>
                             <element name="partyResultCode" minOccurs="0" type="xsd:int"/>
                             <element name="fax" nillable="true" minOccurs="0" type="tns1:Fax"/>
                             <element name="paymentDetailsArr" nillable="true" minOccurs="0" type="impl:ArrayOf_tns1_PaymentDetails"/>
                             <element name="person" nillable="true" minOccurs="0" type="tns1:Person"/>
                             <element name="healthStatement" nillable="true" minOccurs="0" type="tns1:HealthStatement"/>
                             <element name="phone" nillable="true" minOccurs="0" type="tns1:Phone"/>
                             <element name="address" nillable="true" minOccurs="0" type="tns1:Address"/>
                             <element name="attachedFileArr" nillable="true" minOccurs="0" type="impl:ArrayOf_tns1_AttachedFile"/>
                        </sequence>
                   </complexType>
                   <complexType name="Parties">
                        <sequence>
                             <element name="partyArr" nillable="true" minOccurs="0" type="impl:ArrayOf_tns1_Party"/>
                        </sequence>
                   </complexType>
                   <complexType name="FundRequest">
                        <sequence>
                             <element name="indexEndDate" minOccurs="0" nillable="true" type="xsd:dateTime"/>
                             <element name="carrierPartyId" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="indexStartDate" minOccurs="0" nillable="true" type="xsd:dateTime"/>
                             <element name="linkingType" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="Relation">
                        <sequence>
                             <element name="relationRoleCode" type="xsd:int"/>
                             <element name="relationOriginatingObjectID" nillable="true" type="xsd:string"/>
                             <element name="relationRelatedObjectID" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="KolRega">
                        <sequence>
                             <element name="providentFundType" type="xsd:int"/>
                             <element name="providentFundNumber" type="xsd:double"/>
                        </sequence>
                   </complexType>
                   <complexType name="BudgetSplit">
                        <sequence>
                             <element name="rule45" type="xsd:double"/>
                             <element name="amount" type="xsd:double"/>
                             <element name="pcntCompensation" type="xsd:double"/>
                             <element name="pensionEmployer" type="xsd:double"/>
                             <element name="rule47" type="xsd:double"/>
                             <element name="pensionEmployee" type="xsd:double"/>
                        </sequence>
                   </complexType>
                   <complexType name="Migdalor">
                        <sequence>
                             <element name="equityCourse" type="xsd:int"/>
                             <element name="lifeEquity" type="xsd:double"/>
                             <element name="compensationInvestmentCourse" type="xsd:int"/>
                             <element name="constStipend" type="xsd:double"/>
                             <element name="reduction" type="xsd:int"/>
                             <element name="manLifeStipend" nillable="true" type="tns1:BudgetSplit"/>
                             <element name="manEquity" nillable="true" type="tns1:BudgetSplit"/>
                             <element name="manConstEquity" nillable="true" type="tns1:BudgetSplit"/>
                             <element name="manStipend" nillable="true" type="tns1:BudgetSplit"/>
                             <element name="lopping" type="xsd:int"/>
                             <element name="constEquity" type="xsd:double"/>
                             <element name="pcntEquity" type="xsd:double"/>
                             <element name="salaryEquity" type="xsd:double"/>
                             <element name="pensionLifeInvestmentCourse" type="xsd:int"/>
                             <element name="lifeInvestmentCourse" type="xsd:int"/>
                             <element name="stipend" type="xsd:double"/>
                             <element name="equity" type="xsd:double"/>
                             <element name="lifeCycleCompensationMigdalorForLife" type="xsd:int"/>
                             <element name="lifeCyclePensionMigdalorForLife" type="xsd:int"/>
                             <element name="lifeCycleCompensationMigdalor" type="xsd:int"/>
                             <element name="pcntExpenseToSaving" type="xsd:double"/>
                             <element name="manLifeEquity" nillable="true" type="tns1:BudgetSplit"/>
                             <element name="paramInsuranceCourse" type="xsd:double"/>
                             <element name="insuranceCourse" type="xsd:int"/>
                             <element name="lifeStipend" type="xsd:double"/>
                             <element name="pensionInvestmentCourse" type="xsd:int"/>
                             <element name="investmentCourse" type="xsd:int"/>
                             <element name="compensationLifeInvestmentCourse" type="xsd:int"/>
                             <element name="manConstStipend" nillable="true" type="tns1:BudgetSplit"/>
                             <element name="lifeCyclePensionMigdalor" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="OptionalBenefit">
                        <sequence>
                             <element name="optionalBenefitID" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="OptionalBenefits">
                        <sequence>
                             <element name="optionalBenefitArr" nillable="true" type="impl:ArrayOf_tns1_OptionalBenefit"/>
                        </sequence>
                   </complexType>
                   <complexType name="Mitria">
                        <sequence>
                             <element name="additionalShalvaAmount" minOccurs="0" type="xsd:double"/>
                             <element name="shalvaAmount" minOccurs="0" type="xsd:double"/>
                             <element name="fundStartDate" minOccurs="0" nillable="true" type="xsd:dateTime"/>
                             <element name="fund" minOccurs="0" type="xsd:int"/>
                             <element name="restPensionAmount" minOccurs="0" type="xsd:double"/>
                             <element name="disabilityPensionAmount" minOccurs="0" type="xsd:double"/>
                             <element name="fundPremium" minOccurs="0" type="xsd:double"/>
                             <element name="salaryEquity" minOccurs="0" type="xsd:double"/>
                             <element name="equityCourse" minOccurs="0" type="xsd:int"/>
                             <element name="pcntEquity" minOccurs="0" type="xsd:double"/>
                        </sequence>
                   </complexType>
                   <complexType name="Product">
                        <sequence>
                             <element name="productCode" minOccurs="0" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="LifeParticipant">
                        <sequence>
                             <element name="commissionPayeeType" minOccurs="0" type="xsd:int"/>
                             <element name="beneficiaryType" minOccurs="0" type="xsd:int"/>
                             <element name="lifeParticipantRoleCode" minOccurs="0" type="xsd:int"/>
                             <element name="lifeParticipantKey" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="lastUpdateDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="beneficiaryRoleCode" minOccurs="0" type="xsd:int"/>
                             <element name="participationPct" minOccurs="0" type="xsd:double"/>
                             <element name="collectionPct" minOccurs="0" type="xsd:double"/>
                             <element name="deathBenefitAmt" minOccurs="0" type="xsd:double"/>
                             <element name="participantType" minOccurs="0" type="xsd:int"/>
                             <element name="productionPct" minOccurs="0" type="xsd:double"/>
                        </sequence>
                   </complexType>
                   <complexType name="LifeParticipants">
                        <sequence>
                             <element name="lifeParticipantArr" minOccurs="0" nillable="true" type="impl:ArrayOf_tns1_LifeParticipant"/>
                        </sequence>
                   </complexType>
                   <complexType name="Coverage">
                        <sequence>
                             <element name="lifeParticipant" minOccurs="0" nillable="true" type="tns1:LifeParticipant"/>
                             <element name="coverageAction" minOccurs="0" type="xsd:int"/>
                             <element name="riskGroupName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="coverageName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="paymentPeriod" minOccurs="0" type="xsd:int"/>
                             <element name="paymentCode" minOccurs="0" type="xsd:double"/>
                             <element name="duration" minOccurs="0" type="xsd:int"/>
                             <element name="msManotCollective" minOccurs="0" type="xsd:double"/>
                             <element name="coverageSignDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="pcntValue" minOccurs="0" type="xsd:double"/>
                             <element name="policyValue" minOccurs="0" type="xsd:double"/>
                             <element name="release" minOccurs="0" type="xsd:int"/>
                             <element name="numSalaries" minOccurs="0" type="xsd:double"/>
                             <element name="coverageKey" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="mandatoryIndicator" minOccurs="0" type="xsd:int"/>
                             <element name="mix" minOccurs="0" type="xsd:double"/>
                        </sequence>
                   </complexType>
                   <complexType name="Life">
                        <sequence>
                             <element name="coverageArr" minOccurs="0" nillable="true" type="impl:ArrayOf_tns1_Coverage"/>
                        </sequence>
                   </complexType>
                   <complexType name="Pension">
                        <sequence>
                             <element name="transferFromAnotherFund" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="mainCover" minOccurs="0" type="xsd:int"/>
                             <element name="riskDeduce" minOccurs="0" type="xsd:int"/>
                             <element name="pcntPension" minOccurs="0" type="xsd:double"/>
                             <element name="finalPaymentAge" minOccurs="0" type="xsd:double"/>
                             <element name="solitudeDeclarDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="insuranceCourse" minOccurs="0" type="xsd:int"/>
                             <element name="retAge" minOccurs="0" type="xsd:int"/>
                             <element name="orgFund" minOccurs="0" type="xsd:int"/>
                             <element name="pcntDisability" minOccurs="0" type="xsd:double"/>
                             <element name="pcntRest" minOccurs="0" type="xsd:double"/>
                             <element name="solitudeStatus" minOccurs="0" type="xsd:int"/>
                             <element name="qualificationPeriod" minOccurs="0" type="xsd:int"/>
                             <element name="pensionAge" minOccurs="0" type="xsd:int"/>
                        </sequence>
                   </complexType>
                   <complexType name="Risk">
                        <sequence>
                             <element name="loanType" minOccurs="0" type="xsd:int"/>
                             <element name="interestCode" minOccurs="0" type="xsd:int"/>
                             <element name="loanNumber" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="premiumCode" minOccurs="0" type="xsd:int"/>
                             <element name="pcntInterest" minOccurs="0" type="xsd:double"/>
                        </sequence>
                   </complexType>
                   <complexType name="Policy">
                        <sequence>
                             <element name="carrierCode" minOccurs="0" nillable="true" type="xsd:string"/>
                             <element name="pcntPensionEmployee" minOccurs="0" type="xsd:double"/>
                             <element name="printPolicyIndicator" minOccurs="0" type="xsd:int"/>
                             <element name="policycarrierPartyID" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="replacingForm" minOccurs="0" type="xsd:int"/>
                             <element name="proposalDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="linkingMode" minOccurs="0" type="xsd:int"/>
                             <element name="polNumber" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="acctHolderName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="compensationAgreement" minOccurs="0" type="xsd:int"/>
                             <element name="numSalaries" minOccurs="0" type="xsd:double"/>
                             <element name="riskDeduce" minOccurs="0" type="xsd:int"/>
                             <element name="organizationKey" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="creditCardType" minOccurs="0" type="xsd:int"/>
                             <element name="externalPolNumerator" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="agreementID" minOccurs="0" type="xsd:int"/>
                             <element name="compensationInvestmentAuthority" minOccurs="0" type="xsd:int"/>
                             <element name="kolRega" nillable="true" minOccurs="0" type="tns1:KolRega"/>
                             <element name="contIndicator" minOccurs="0" type="xsd:int"/>
                             <element name="bankBranchName" nillable="true" minOccurs="0" type="xsd:string"/>
                             <element name="creditCardExpDate" nillable="true" minOccurs="0" type="xsd:dateTime"/>
                             <element name="salary" minOccurs="0" type="xsd:double"/>
                             <element name="policyValue" minOccurs="0" type="xsd:double"/>

    any suggestions?
    Thanks
    Kfir

Maybe you are looking for

  • Print a PDF from SAP record Management

    Hi all, I need to print a PDF document and I have its objectID and its Documentclass. I think I must use the class CL_SRM_SP_RECORD, but I don´t know how to use it. Anybody has an example for my issue? Thanks in advance.

  • How can i transfer a game from iphone to iphone

    How can I transfer a game from one iphone to another iphone with a different Game Center id

  • What are the keyboard commands to control Front Row

    I'm new to Front Row and running it on a 17" G4 PC. Since it isn't remote-control compatible how can I navigate and operate Front Row with just the keyboard. I need to know what key strokes to use to do stuff.

  • Photo Library on iphone

    On my iphone (and Iphoto) I have my pictures seperated (ex: "vacation" "kids" "school" etc etc). Those albums show up fine on my iphone, But my iphone also has it own Album called "Photo Library" and that has EVERY picture in it. So I have dupes. One

  • IPad keeps restarting

    I've had my iPad for less than two months and it keeps restarting itself when I'm on it. Is there anything I can do to prevent this from happening or will I need to take it in to an Apple store?