Schemac error: doesn't support xsd:QName datatype

Hi all,
my problem is: I'm trying to create a facade of wsa:EndpointReferenceType in order to dynamically manipulate URIs through java snippets or standalone classes. So I used the command "schemac -d c:\classes ws-addressing.xsd" via the JDev Prompt. Where ws-addressing.xsd is the XSD Schema for WS-Addressing Specification 03/2003. But schemac prompts this warning: "The W3C datatype 'QName' is not currently supported by Collaxa schemac", even if schemac completes successfully. Because of this problem, I'm not able to create a facade of this kind: "EndpointReferenceType ep = EndpointReferenceTypeFactory.createFacade();" because when I compile my BPEL project it gives me the following error: "Error(18,71): cannot access class javax.xml.namespace.QName; file javax\xml\namespace\QName.class not found". What can I do in order to create a EndpointReference facade?
Thanks in advance

Ok, I included in my project the library OraBPEL.
But it already throws a fault when I try to do this:
EndpointReferenceType ep=EndpointReferenceTypeFactory.createFacade()...
So I serched in orabpel.jar (C:\OraBPELPM_1\integration\bpelpm\designer\jdev\lib\ext\orabpel.jar) and found the package "org.xmlsoap.schemas.ws.addressing", where I found a readme file in which is written "These files are generated by schemac based on XML schema of WS-Addressing.
The schema is published at http://schemas.xmlsoap.org/ws/2003/03/addressing/", and I noticed that QName is supported in this release of facade!
So I tryed with the following code in a standalone java where the method "processRfQ" gets in input the Element quote corresponding to the bpel variable Quote, creates a facade and fill it:
package javaexec;
import it.polito.www.bProgress.sellingX.*;//my facades
import javax.xml.namespace.*;//for QName
import org.w3c.dom.Element;
import org.xmlsoap.schemas.ws.addressing.*;
public class SellingJ {
public SellingJ(){}
public void processRfQ(Element quote){
try{
QuoteMsgType quoteF=QuoteMsgTypeFactory.createFacade(quote);
EndpointReferenceType providerId = (EndpointReferenceType)EndpointReferenceTypeFactory.create();
AttributedURI aURI = (AttributedURI)AttributedURIFactory.create();
aURI.setContent("http://localhost:9700/orabpel/default/sellingP");//the endpoint address of the service I want to invoke
providerId.setAddress(aURI);
ServiceNameType sName = (ServiceNameType)ServiceNameTypeFactory.create();
QName qn=new QName("http://www.polito.it/bProgress/sellingP","sellingP","sellingP");//service namespace,name and prefix
sName.setContent(qn);
providerId.setServiceName(sName);
quoteF.setProviderId(providerId);
catch (Exception e){}
The result in bpel is the following:
<providerId>
<EndpointReferenceType xmlns:ns1="http://www.w3.org/1999/XMLSchema-instance" xmlns:ns2="http://schemas.xmlsoap.org/ws/2003/03/addressing" ns1:type="ns2:EndpointReferenceType">
<Address ns1:type="ns2:AttributedURI"> <content>http://localhost:9700/orabpel/default/sellingP</content></Address>
<ReferenceProperties null="true"/><PortType null="true"/>
<ServiceName ns1:type="ns2:ServiceNameType">
<content xmlns:ns3="http://www.w3.org/2001/XMLSchema" ns1:type="ns3:QName">
<namespaceURI>http://www.polito.it/bProgress/sellingP</namespaceURI><localpart>sellingP</localpart>
</content>
<PortName null="true"/>
</ServiceName>
</EndpointReferenceType>
</providerId>
and the element quote is declared as follow in the XSD file:     
<element name="quote" type="tns:quoteMsgType"/>
<complexType name="quoteMsgType">
<sequence>
<element name="correlationId" type="string"/>
<element name="description" type="string"/>
<element name="providerId" type="wsa:EndpointReferenceType"/>
<element name="amount" type="double"/>
</sequence>
</complexType>
I'd like to have this kind of result:
<providerId>
<Address xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">http://localhost:9700/orabpel/default/sellingP</Address>
<ServiceName xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:sellingP="http://www.polito.it/bProgress/sellingP">sellingP:sellingP</ServiceName>
</providerId>
in order to copy this endpoint reference into a partnerLink and then invoke it by another process...
What's wrong in my javacode? or, is ws-addressing facade completely supported?
Please help me...
Thanks in advance

Similar Messages

  • Error in allInOne.js: Object doesn't support this property or method

    We are having an issue deploy our website (Developed in .Net) on a specific server. When we try to visualize a report on any browser we get this error:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.4; OfficeLivePatch.0.0)
    Timestamp: Wed, 7 Apr 2010 17:52:31 UTC
    Message: Object doesn't support this property or method
    Line: 10
    Char: 281690
    Code: 0
    URI: http://{IP ADDRESS}/WebUserInterface/aspnet_client/system_web/2_0_50727/crystalreportviewers12/allInOne.js
    We have install the Crystal reports 2008 runtime and the Crystal report 2008 sp2.5 runtime. Both of them give me the same results.
    It's killing me because i have installed the same solution on many other server without any issue.
    Ben
    P.s. The Web server is  a Window Server 2003 R2 standard edition

    Perhaps using [modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] will at least tell us what dlls are loading. Look at the CR dlls. There should not be any v11 files loaded by your app.
    You may also start considering obtaining phone support for this one. I have a feeling this will take more than just forums to solve...
    Phone support can be obtained here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • TS4002 Can you tell me if the smtp settings have changed recently?  I use me/ICloud mail with Outlook and can not receive emails but outgoing emails are no longer working.  Error message is: Authentication failed because Outlook doesn't support any of the

    I am able to receive messages on my IMac using Outlook but am unable to send.  I've had no trouble in the past but began receiving the following messages today.
    5.7.8 Bad username or password (Authentication failed).
    Authentication failed because Outlook doesn't support any of the available authentication methods.
    I am able to send messages using this account on my IPhone and IPad so the IMac is the only place I am having issues.  Any advice?

    Here are the correct settings. They have never changed since iCloud debuted a year ago.
    Server information
    IMAP (Incoming Mail Server) information:
    Server name: imap.mail.me.com
    SSL Required: Yes
    Port: 993
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    SMTP (outgoing mail server) information:
    Server name: smtp.mail.me.com
    SSL Required: Yes
    Port: 587
    SMTP Authentication Required: Yes
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    Note: If you receive errors using SSL, try using TLS instead. SSL is required for both IMAP and SMTP connection with iCloud. POP is not supported by iCloud. 

  • Windows 8.1 and IE11 - Critical Error: Object doesn't support property or method 'addEventListener'

    Our SharePoint 2010 sites don't work very well in Windows 8.1/IE11!!
    When opening list items or forms etc we get Critical Error : Object doesn't support property or method 'addEventListener'. It looks like it's possibly linked to InfoPath forms. Given that a large chunk of our users will probably be upgrading
    to Windows 8.1 as we speak this is slightly worrying!
    Has anyone else noticed this, or is it something to do with our deployment?  We're running SP2010 SP2 with latest CU.

    In older versions of IE, attachEvent is
    used to attach an event handler for some event on some element. But as per the update , starting with IE11, attachEvent is
    deprecated and you should use addEventListener instead.
    IE has included support for addEventListener from
    IE9 and above only. So if you still need to support IE8, I suggest you use some cross-browser library like jQuery to bind event handlers instead of vanilla javascript.
    As you're already using jQuery, you can bind events like below
    $('#yourElement').on('click', function(){
    // do something when you click on yourElement

  • 2011 MacBook Pro, 64 bit i7 quad core, upgraded to Lion OSx, Bootcamp installed with Windows 7, wanting to install Windows 8 (don't ask), tried downloading/installing bootcamp 5.0.5033, error message something similar to bootcamp doesn't support this Win

    2011 MacBook Pro, 64 bit i7 quad core, upgraded to Lion OSx, Bootcamp installed with Windows 7, wanting to install Windows 8 (don't ask), tried downloading/installing bootcamp 5.0.5033 (both on the mac/windows partitions (actually using a parallel to run Windows)), error message something similar to bootcamp doesn't support this Windows
    So the question is am I doing something wrong? Should I just try and install windows 8 through my windows 7 partition and see if I can use the bootcamp 5.05033. Or do I solely have to use the bootcamp to install Windows 8? I'm not too familiar with bootcamp and how it runs.

    if you're using parallels and full bootcamp then you're making it 100% more troublesome for youself then it needs to be
    bootcamp is running windows directly on the hardware this give full memory and cpu and 3d video game power
    running windows in parallels is running a virtual machine where one can't run powerful games and the like but one can have it in a window and change fast between osx and windows
    parallels as the only virutal machine (as far as I know) support not have the operating system as a file on the osx harddisk but can access a bootcamp parition as virtual machine but without the benefits bootcamps provides
    it's a service parallels provide for those who want both to play games in normal bootcamp and sometimes use windows in a virutal machine
    just install it like a normal virtual machine and you need not worry about bootcamp drivers and the likes
    plus it would mean that the windows part would be a part of the timemachine bacup of osx
    which it is not when it's in bootcamp

  • Ehlpdhtm.js script error - Object doesn't support property or method 'Activate'

    RH 9.0.2.271
    Windows 7 64-bit
    This "Object doesn't support property or method 'Activate' ehlpdhtm.js error all of a sudden started popping up when I view any of the chms I build from my file system.
    I initially through it was a 64-bit problem because if I view the chm from my file system I get the script error. But if I copy it to a 32-bit PC or run it from within RH (after it's compiled for example) or a 32-bit version of our software, it runs fine. (However, one of my co-workers tried it on her 64-bit machine and didn't receive any error.) In any case, it seems to be happening on my machine only.
    Anyway, it's not on every topic, but on every one that calls the ehlpdhtm.js script with this line of code, it appears to be happening:
    <script src="ehlpdhtm.js" type="text/javascript" language="JavaScript1.2"></script>
    I don't think hhactivex.dll plays with this js at all, but just in case, I unregistred and re-registered that dll to no effect. I also tried explicitly adding in ehlpdhtm.js as a baggage file. Again, to no effect.
    What could have changed on my system to make this start happening? And any ideas on how to fix it?

    Well here's some more info I found out. If I unregister the 64-bit hhactivex.dll the script error  goes away. Of course my Glossary tab is grayed out as shown below, so that's not really an option:
    Reregistering the 64-bit hhactivex.dll again shows the script errors. Plus, if I then go to my glossary it's completely empty as shown here:
    If I copy this help down into a 32-bit machine everything works: the glossary has glossary terms, there's no script errors.
    In short, I don't know what's going on, but the script error I'm getting is somehow related to having the 64-bit dll registered.

  • Apple TV error message HDMI doesn't support HDCP

    Apple TV error message HDMI doesn't support HDCP

    I ran into this problem and I re-started the Apple TV by holding down the Menu+Down arrow buttons, restarting my television and now i can watch everything.

  • Adobe Reader installation error: "object doesn't support property or method 'text'"

    I'm trying to install Adobe Reader and I have the following error after launching the installer:
    "object doesn't support property or method 'text'"
    My OS is Win7 Ultimate 64b (using AVG antivirus), but I encounter the same error on other systems too:
    Win7 Ultimate 32b (AVG Antivirus)
    Win7 Enterprise 64b (McAfee Antivirus)
    No matter which button I click, the installer hangs:
    I googled this error, but couldn't find any solution.
    Any ideas?
    Thanks!

    This error mostly occurs if your language is not set to English (on the Adobe.com website).  This has been reported to Adobe a million times, but they don't seem to have any intererest in fixing it.

  • Verifier Error: DatabasePlatform doesn't support NativeSequence.

    I am using an Oracle database. When verifying one of our jar files, we get the following error message.
          FAILED TESTS :
          Test Name : tests.persistence.DefaultProviderVerification
          Test Assertion : Test validity of EJB 3.0 persistence unit. This test tests validity using a portable persistence provider. Please refer to EJB 3.0 Persistence API Specification for further information.
          Test Description : For [ C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\newWebIceface#WEB-INF/lib/ARMS_EJB.jar#newARMS_EJBPU ]
    Exception [TOPLINK-7144] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: ARMSSCHDTL_SCHEDSERVICE_SEQ: platform DatabasePlatform doesn't support NativeSequence.Is there any configuration file where we can specify the sequences are supported?
    Thanks in advance for any help.

    You could also try setting your database platform to Oracle in your persistence.xml, "toplink.target-database"="Oracle".
    -- James : [http://www.eclipselink.org|http://www.eclipselink.org]

  • When I open my Apps tab on Creative Cloud it doesn't come up with my apps it just says "Download Error. Contact support."

    When I open my Apps tab on Creative Cloud it doesn't come up with my apps it just says "Download Error. Contact support." I have tried re-downloading it 3 or 4 times and it still doesn't work.
    I've downloaded it on my macbook pro. I had it before but deleted it accidentally when cleaning my laptop.

    Start by running the cleaner tool and reading the other article.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Error 430 (Class doesn't support Automation)

    I 've created a script using VisualBasic to open the illustrator cs3. Its working fine with most of the systems. But in few machines, the script got struck with an "Error 430 (Class doesn't support Automation)". If i re-install the illustrator and then try, its working fine. Can anyone suggest me a solution for this issue with out re-install the illustrator again.
    Thanks in Advance

    if that's the problem is pretty easy to fix:
    add this on Form1_Load sub:
            Dim procs() As Process = Process.GetProcessesByName("Illustrator.exe")
            If procs.Length > 1 Then
                For i as Integer = 1 To procs.Length - 2
                    procs(i).Kill()
                Next
            End If
    .NET framework 2 is required for the above(or 1.1 can't remember for sure)
    hope it helps together with patrice's response.
    cheers;

  • 2011 outlook gives the following error: "Authentication failed because Outlook doesn't support any of the available authentication methods."

    Upgraded my computer to 10.9.2 Mavericks and now my 2011 outlook gives the following error: "Authentication failed because Outlook doesn't support any of the available authentication methods."  Anybody know how to fix it?  Thank you.

    I got the following from the microsoft Web site. Also, the SMPT port must be overwriten. Use port 587
    This article contains information about the compatibility of Microsoft Outlook for Mac 2011 and Apple iCloud. Outlook for Mac 2011 does not support Apple iCloud calendar (CalDAV) and contact (CardDAV) synchronization.  Outlook for Mac 2011 does support iCloud Mail. For steps on how to configure your iCloud email account in Outlook for Mac 2011, go to the "More Information" section of this article. 
    To configure your Apple iCloud email account in Microsoft Outlook for Mac 2011, follow these steps:
    Start Outlook 2011.
    On the Tools menu, click Accounts.
    Click the plus sign in the lower-left corner, and then select E-mail.
    Enter your E-mail Address and Password, and then click Add Account.
    Note: The new account will appear in the left navigation pane of the Accounts dialog box.
    Enter one of the following in the Incoming server box:
    mail.me.com (for me.com mail addresses)
    mail.mac.com (for mac.com mail addresses)
    Click to select Use SSL to connect (recommended) under the Incoming server box.
    Enter one of the following in the Outgoing server box:
    smtp.me.com (for me.com mail addresses)
    smtp.mac.com (for mac.com mail addresses)
    Click to select Use SSL to connect (recommended) under the Outgoing server box.
    After you have entered the incoming and outgoing server information, Outlook 2011 will start to receive your email messages. 
    Note: You can click Advanced to enter additional settings, such as leaving a copy of each message on the server. 

  • After Update to iOS5, i can't synchronise my films, showing me 'error 19', your iPad doesn't support this videoformate..any ideas to solve my Problem?

    After Update to iOS5, i can't synchronise my films, showing me 'error 19', your iPad doesn't support this videoformate..any ideas to solve my Problem?

    To delete, tap "Edit" (tap to enlarge image)

  • I have cs5 and when I try to download a raw file from my Nikon 810 an error message says this versioln of raw doesn't support this camera model. Yet I just updated cs5 online.

    I have CS5 and when I try to download a raw file from my Nikon 810 I get an error message saying this version of raw doesn't support this camera model. Yet I just updated CS5 online.

    I do not use lightroom and  I have a subscription so I can open all supported RAW formats. You will need DNG file for Your Camera's NEF files for use in Photoshop ACR version.  You can open your NEF files in LR it seems so you could do all your raw conversion with Lightroom and save out Tiff files for processing in Photoshop.   I do use lightroom for I do not need its library.  Lightroom does not support layered files so lightroom is of no value to me.  ACR UI is all I need having a second interface to Adobe Raw Conversion Engine would more annoyance than value to me.

  • Iv'e got this error message : "protocol doesn't support output"

    When i execute my applet the part of code below give's me thi error message: "protocol doesn't support output". This part of the code save's a vector(of string) into a data file. I'm able to load the file but i can't put info in it. Helppppppppp:
    That's the method where tje problem is :
    private void saveVector()
    Evenement Ev;
    try{
    // THE ERROR IS PROBABLY IN THE 2 NEXT LINES!
    Dos = new DataOutputStream(new BufferedOutputStream( new URL(this.getCodeBase(), FichierEvenement).openConnection().getOutputStream()));
    for ( int i = 0; i <= VecEvenement.size();i++ )
    Ev = (Evenement) VecEvenement.elementAt(i);
    String Ligne = Ev.getDateEvent().trim().concat("|")+ Ev.getTitre().trim().concat("|") + Ev.getLieu().trim().concat("|") + Ev.getDesc().trim().concat("|") + Ev.getPers().trim().concat("|")+ Ev.getAdresse().trim().concat("|");
    Dos.writeUTF(Ligne);
    Dos.close();
    catch (Exception e) {
    LErr.setText(e.getMessage());
    }

    http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html
    As is noted in this part of the tutorial, a URL may simply not support output:
    "Next, the program creates the URL object--the URL for the backwards script on java.sun.com--opens a URLConnection, and sets the connection so that it can write to it:
    URL url = new URL("http://java.sun.com/cgi-bin/backwards");
    URLConnection c = url.openConnection();
    c.setDoOutput(true);
    The program then creates an output stream on the connection and opens a PrintWriter on it:
    PrintWriter out = new PrintWriter(c.getOutputStream());
    If the URL does not support output, getOutputStream method throws an UnknownServiceException. If the URL does support output, then this method returns an output stream that is connected to the standard input stream of the URL on the server side--the client's output is the server's input. "
    Sorry I can't be of more help.

Maybe you are looking for