Sign in elements 12
I have install elements 12 whit my serie nummer, but when I sign in the photo Editor did not open, it said Your trial has expired, but I have install my serie nummer
Suggest that you contact Adobe and initiate a chat
http://www.adobe.com/support/download-install/supportinfo/
Similar Messages
-
Error when signing into Elements 10
After I sign into Elements 10, this is the message box that immediately pops up: "Photoshop.com services are currently unavailable. Please try again later or check your network connections. Error 400." I have looked all over Photoshop.com to see if there is anything posted as to why they are unavailable but see nothing. I have no other issues with my network connections, just when I try signing in to this. Any ideas? Figures that I actually really need it at the moment and can't get in. Any help or information would be great.
I did receive all of those emails but I guess I didn't realize that I would no longer be able to use the software that I purchased earlier this year Elements 10 with the change from photoshop.com to revel. I just thought that meant the pictures were being stored different. I can't even get into just use the software to edit a picture. I guess I am not sure what has to be done differently because when I click on my icon on my desk top to use Elements 10, it brings up the Welcome to Adobe Photoshop Elements 10 screen and here it asks for me to sign in with my Adobe ID which is where I would go to Organize or Edit. So you say that it can't work from revel within PSE the way it did with photoshop.com, what do I do instead to be able to use the software to edit? If I sign into Revel, I see the pictures there but I don't use the storage function to organize my pics, I just use the edit function of Elements 10. It seems you are saying that I bought this software and now can't use it??
-
I uninstaled my elements 12 when reinstalled via disk with serial No. it load up when complete I click on the icon and next I get Adobe sign in required this is when I get no further as I keep getting please conected to Internet or a just the clock. Both are okay. My serial No is logged with Adobe with my E mail address
John
Thanks but now back on line just over 2 days trying but in the end all I needed was when sign in windows appeared this time I went to new account type in my E mail address also same as before password and low and behold back in. Hope you get back on also.
Sent from my Samsung Galaxy smartphone. -
sign in and out in elements 13
Hi Roy,
Kindly provide more information so that we can assist you.
OS version :
Error message/screenshot(if any):
Meanwhile, try: Troubleshoot installation | Photoshop Elements, Premiere Elements | Windows
Thanks,
Atul Saini -
Trouble signing into Elements 9 organizer?
When trying to sighn into the organizer I receive a message stating that Photoshop.com services are unavailable please try agai later or check your network connections error 400
photoshop.com was shut down last year. You should have received emails from Adobe about it. Any jpeg files you had on it would have been automatically transferred to the new Revel service.
Cheers,
Neale
Insanity is hereditary, you get it from your children
If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks. -
Cannot sign in to Elements 9 Get error message 400-photoshop services unavailable
Cannot sign into Elements 9. Get Error message 400-photoshop services unavailable
They're not available because photoshop.com is dead and gone, and any photos there are moved to revel, which you can't access through PSE versions prior to PSE 11. You should have received a bunch of emails about this back when it was happening.
http://barbarabrundage.com/2013/09/16/pse-8-9-10-cant-sign-in-error-404/ -
OWSM - Signing element using XPATH Expression
Hi,
We have a requirement to sign an element within outgoing body of xml message. We are trying to use the policy pipeline to sign.
Signed Content: XPATH
sign XPATH Expression: referencing the element required to be signed.
We get the error: WS-Security process failure:There are no parts of the message to sign
The error message indicates that the XPATH query is not correct. Does anyone know of a source of documentation for this where we can get examples. Tried google, forums...etc with no success. Any help would be really appreciated.
ThanksHi,
Managed to sort it, found the following link.
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b31008/toc.htm
Thanks -
Elements Organizer unable to sign into Mobile Albums
I am using the trial version of Photoshop Elements 12 that I just downloaded and installed. I'm trying to sign into Elements Mobile Albums- I put in my adobe ID and password and click "sign in" but nothing happens- the login spinner runs but no error message comes up and it doesn't log in.
I first tried this last night when I had never used Revel; since then I've setup and added pictures to my Revel account (there are a few hundred now). I can access them fine via the web, iPhone, or Mac app. I have nothing in the Organizer except some system mp3s that it found.
If I put in the wrong password, it gives me an error, so it's not entirely broken. I tried the "trouble signing in" link and reset my password, but no change.
I'm running on OSX Mavericks; I've not tried any other platforms.Please checkout the following two KB articles from adobe :
http://helpx.adobe.com/elements-organizer/kb/invalid-characters-password.html
http://helpx.adobe.com/elements-organizer/kb/troubleshoot-revel-related-issues.html#Issue: %20Can%27t%20sign%20in%20to%20Adobe%20Revel%20from%20Elements%2012%20Organizer
Let me kow if these help.
~Vaishali -
i am unable to sign into elements 7 and cannot forward e mail pictures
Message was edited by: jarheadAre you trying to set up a Photoshop.com account? That's in the process of being discontinued:
http://www.photoshop.com/misc/membership-faq?trackingid=KCOWC -
Launch the Elements Inspiration Browser
This question was posted in response to the following article: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f626a494c12e28b3ab58- 7ffc.html
Why is the max birth year when signing into Elements Inspiratiuonal Brower 1942. My birth year is 1937 and I am limited by the software to proceed.
-
Sign Tokens according to OASIS specification
Hi all,
Can someone help me with this - how to sign binary token reference according to part "8.3 Signing Tokens" in the http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf specification?
According to the specification the request should look like this:
<wsse:SecurityTokenReference wsu:Id="Str1">
</wsse:SecurityTokenReference>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig #">
<ds:SignedInfo>
<ds:Reference URI="#Str1">
<ds:Transforms>
<ds:Transform Algorithm="...#STR-Transform">
<wsse:TransformationParameters>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
</wsse:TransformationParameters>
</ds:Transform>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>...</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue></ds:SignatureValue>
</ds:Signature>
Is this possible to be done with WSS4J and how (or any other tool)?
Any examples of such requests or code which creates them?
Thanks,
IvoIn JWSDP 1.6/2.0 look at the sample configuration files under api-sample
<JWSDP-Install-DIR>/xws-security/samples/api-sample/config.
The signature target element under the sign configuration element would look
something like this.
<xwss:SignatureTarget enforce="true" type="uri" value="#22">
<xwss:Transform algorithm="http://docs.oasis-open.org/wss/2004/0
1/oasis-200401-wss-soap-message-security-1.0#STR-Transform">
<xwss:AlgorithmParameter name="CanonicalizationMethod" value
="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</xwss:Transform>
</xwss:SignatureTarget>
HTH
Venu -
AP Invoice BPEL Process is not populating into Line Interface tables
Hi
We are in the process of Creating BPEL Process for AP Invoice. Before we map Supplier incoming XSD, we have created our own XML and XSD and mapped with Standard APInvoice XML Gateway XSD. Transformation is able to populate header information into AP Invoice header Interface tables. And also its populating the Lines information but not the mapped column values. Its populating only Standard Derived values like Invoice_id, Invoice_line_id, Line_number, Line_type_lookup_code. We have mapped the Amount column to one of our incoming Amount column. Those values are not getting populated into Invoice Interface line tables.
Please find the XML file data
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.20.2 -->
<G_INVOICE_ID xmlns="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran">
<INVOICE_NUM>CM011907</INVOICE_NUM>
<INVOICE_TYPE_LOOKUP_CODE>STANDARD</INVOICE_TYPE_LOOKUP_CODE>
<VENDOR_ID>1</VENDOR_ID>
<VENDOR_SITE_ID>44</VENDOR_SITE_ID>
<INVOICE_AMOUNT>2981</INVOICE_AMOUNT>
<ORG_ID>83</ORG_ID>
<SOURCE>XML GATEWAY</SOURCE>
<INVOICE_ID>621</INVOICE_ID>
<G_INVOICE_ID1>
<DISTRIBUTION_LINE_NUMBER>1</DISTRIBUTION_LINE_NUMBER>
<LINE_TYPE_LOOKUP_CODE>ITEM</LINE_TYPE_LOOKUP_CODE>
<AMOUNT>2980</AMOUNT>
<ACCOUNTING_DATE>19-JAN-07</ACCOUNTING_DATE>
<DIST_CODE_COMBINATION_ID>1035</DIST_CODE_COMBINATION_ID>
<INVOICE_ID1>621</INVOICE_ID1>
<INVOICE_LINE_ID>1081</INVOICE_LINE_ID>
</G_INVOICE_ID1>
</G_INVOICE_ID>
Transformation code
<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
<!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="XSD">
<schema location="ap_invoice.xsd"/>
<rootElement name="G_INVOICE_ID" namespace="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran"/>
</source>
</mapSources>
<mapTargets>
<target type="XSD">
<schema location="PROCESS_INVOICE_002.xsd"/>
<rootElement name="PROCESS_INVOICE_002" namespace="http://TargetNamespace.com/ServiceName"/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.1.0(build 061009.0802) AT [SUN SEP 30 22:21:07 GMT-05:00 2007]. -->
?>
<xsl:stylesheet version="1.0"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ns0="NS_31CA8D0F33324F95A0BF15D85539C27E20070209154115_kiran"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns1="http://TargetNamespace.com/ServiceName"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
exclude-result-prefixes="xsl ns0 xs ns1 nxsd xp20 bpws ora ehdr orcl ids hwf">
<xsl:template match="/">
<ns1:PROCESS_INVOICE_002>
<ns1:CNTROLAREA>
<ns1:BSR>
<ns1:VERB>
<xsl:attribute name="value">
<xsl:value-of select='string("PROCESS")'/>
</xsl:attribute>
</ns1:VERB>
<ns1:NOUN>
<xsl:attribute name="value">
<xsl:value-of select='string("INVOICE")'/>
</xsl:attribute>
</ns1:NOUN>
<ns1:REVISION>
<xsl:attribute name="value">
<xsl:value-of select='string("002")'/>
</xsl:attribute>
</ns1:REVISION>
</ns1:BSR>
<ns1:SENDER>
<ns1:LOGICALID>
<xsl:value-of select='string("Kiran")'/>
</ns1:LOGICALID>
<ns1:COMPONENT>
<xsl:value-of select='string("BPEL")'/>
</ns1:COMPONENT>
<ns1:TASK>
<xsl:value-of select='string("APINVOICE")'/>
</ns1:TASK>
<ns1:REFERENCEID>
<xsl:value-of select='string("2")'/>
</ns1:REFERENCEID>
<ns1:CONFIRMATION>
<xsl:value-of select='string("3")'/>
</ns1:CONFIRMATION>
<ns1:LANGUAGE>
<xsl:value-of select='string("ENG")'/>
</ns1:LANGUAGE>
<ns1:CODEPAGE>
<xsl:value-of select='string("US7ASCII")'/>
</ns1:CODEPAGE>
<ns1:AUTHID>
<xsl:value-of select='string("APPS")'/>
</ns1:AUTHID>
</ns1:SENDER>
<ns1:DATETIME>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("CREATION")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:YEAR>
<xsl:value-of select="xp20:year-from-dateTime(xp20:current-dateTime())"/>
</ns1:YEAR>
<ns1:MONTH>
<xsl:value-of select="xp20:month-from-dateTime(xp20:current-dateTime())"/>
</ns1:MONTH>
<ns1:DAY>
<xsl:value-of select="xp20:day-from-dateTime(xp20:current-dateTime())"/>
</ns1:DAY>
<ns1:HOUR>
<xsl:value-of select="xp20:hours-from-dateTime(xp20:current-dateTime())"/>
</ns1:HOUR>
<ns1:MINUTE>
<xsl:value-of select="xp20:minutes-from-dateTime(xp20:current-dateTime())"/>
</ns1:MINUTE>
<ns1:SECOND>
<xsl:value-of select="xp20:seconds-from-dateTime(xp20:current-dateTime())"/>
</ns1:SECOND>
<ns1:SUBSECOND>
<xsl:value-of select='string("356")'/>
</ns1:SUBSECOND>
<ns1:TIMEZONE>
<xsl:value-of select="xp20:timezone-from-dateTime(xp20:current-dateTime())"/>
</ns1:TIMEZONE>
</ns1:DATETIME>
</ns1:CNTROLAREA>
<ns1:DATAAREA>
<ns1:PROCESS_INVOICE>
<ns1:INVHEADER>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("DOCUMENT")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_AMOUNT"/>
</ns1:VALUE>
<ns1:NUMOFDEC>
<xsl:value-of select="number(0.0)"/>
</ns1:NUMOFDEC>
<ns1:SIGN>
<xsl:value-of select='string("+")'/>
</ns1:SIGN>
<ns1:CURRENCY>
<xsl:value-of select='string("USD")'/>
</ns1:CURRENCY>
<ns1:DRCR>
<xsl:value-of select='string("DR")'/>
</ns1:DRCR>
</ns1:AMOUNT>
<ns1:DATETIME>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("ACCOUNTING")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:YEAR>
<xsl:value-of select="xp20:year-from-dateTime(xp20:current-dateTime())"/>
</ns1:YEAR>
<ns1:MONTH>
<xsl:value-of select="xp20:month-from-dateTime(xp20:current-dateTime())"/>
</ns1:MONTH>
<ns1:DAY>
<xsl:value-of select="xp20:day-from-dateTime(xp20:current-dateTime())"/>
</ns1:DAY>
<ns1:HOUR>
<xsl:value-of select="xp20:hours-from-dateTime(xp20:current-dateTime())"/>
</ns1:HOUR>
<ns1:MINUTE>
<xsl:value-of select="xp20:minutes-from-dateTime(xp20:current-dateTime())"/>
</ns1:MINUTE>
<ns1:SECOND>
<xsl:value-of select="xp20:seconds-from-dateTime(xp20:current-dateTime())"/>
</ns1:SECOND>
<ns1:SUBSECOND>
<xsl:value-of select='string("356")'/>
</ns1:SUBSECOND>
<ns1:TIMEZONE>
<xsl:value-of select="xp20:timezone-from-dateTime(xp20:current-dateTime())"/>
</ns1:TIMEZONE>
</ns1:DATETIME>
<ns1:DOCUMENTID>
<xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_NUM"/>
</ns1:DOCUMENTID>
<ns1:DESCRIPTN>
<xsl:text disable-output-escaping="no">DescriptionLocalDeployment</xsl:text>
</ns1:DESCRIPTN>
<ns1:PARTNER>
<ns1:PARTNRID>
<xsl:value-of select="/ns0:G_INVOICE_ID/ns0:VENDOR_ID"/>
</ns1:PARTNRID>
</ns1:PARTNER>
<ns1:DOCUMNTREF>
<ns1:DOCUMENTID>
<xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_NUM"/>
</ns1:DOCUMENTID>
</ns1:DOCUMNTREF>
<ns1:INVALLWNCE>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:AMOUNT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:QUANTITY>
<ns1:INVCHARGE>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:AMOUNT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:QUANTITY>
</ns1:INVCHARGE>
</ns1:INVALLWNCE>
</ns1:INVHEADER>
<ns1:INVALLWNCE>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:AMOUNT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:QUANTITY>
</ns1:INVALLWNCE>
<ns1:INVCHARGE>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:AMOUNT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
</ns1:QUANTITY>
</ns1:INVCHARGE>
<ns1:INVLINE>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("DOCUMENT")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="/ns0:G_INVOICE_ID/ns0:INVOICE_AMOUNT"/>
</ns1:VALUE>
<ns1:NUMOFDEC>
<xsl:value-of select="number(0.0)"/>
</ns1:NUMOFDEC>
<ns1:SIGN>
<xsl:value-of select='string("+")'/>
</ns1:SIGN>
<ns1:CURRENCY>
<xsl:value-of select='string("USD")'/>
</ns1:CURRENCY>
<ns1:DRCR>
<xsl:value-of select='string("DR")'/>
</ns1:DRCR>
</ns1:AMOUNT>
<ns1:OPERAMT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("COST")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="/ns0:G_INVOICE_ID/ns0:G_INVOICE_ID1/ns0:AMOUNT"/>
</ns1:VALUE>
<ns1:NUMOFDEC>
<xsl:value-of select="number(0.0)"/>
</ns1:NUMOFDEC>
<ns1:SIGN>
<xsl:value-of select='string("+")'/>
</ns1:SIGN>
<ns1:CURRENCY>
<xsl:value-of select='string("USD")'/>
</ns1:CURRENCY>
<ns1:UOMVALUE>
<xsl:value-of select='string("EA")'/>
</ns1:UOMVALUE>
<ns1:UOMNUMDEC>
<xsl:value-of select="number(0.0)"/>
</ns1:UOMNUMDEC>
<ns1:UOM>
<xsl:value-of select='string("EA")'/>
</ns1:UOM>
</ns1:OPERAMT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:QUANTITY>
<ns1:LINENUM>
<xsl:value-of select="/ns0:G_INVOICE_ID/ns0:G_INVOICE_ID1/ns0:DISTRIBUTION_LINE_NUMBER"/>
</ns1:LINENUM>
<ns1:DESCRIPTN>
<xsl:text disable-output-escaping="no">LineDescription</xsl:text>
</ns1:DESCRIPTN>
<ns1:INVTAX>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("TAX")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:AMOUNT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
<ns1:VALUE>
<xsl:value-of select="number(0.0)"/>
</ns1:VALUE>
</ns1:QUANTITY>
</ns1:INVTAX>
</ns1:INVLINE>
<ns1:INVTAX>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("TAX")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
</ns1:AMOUNT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
</ns1:QUANTITY>
<ns1:INVTAX>
<ns1:AMOUNT>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("TAX")'/>
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
<xsl:attribute name="index">
<xsl:value-of select='string("T")'/>
</xsl:attribute>
</ns1:AMOUNT>
<ns1:QUANTITY>
<xsl:attribute name="qualifier">
<xsl:value-of select='string("OTHER")'/>
</xsl:attribute>
</ns1:QUANTITY>
</ns1:INVTAX>
</ns1:INVTAX>
</ns1:PROCESS_INVOICE>
</ns1:DATAAREA>
</ns1:PROCESS_INVOICE_002>
</xsl:template>
</xsl:stylesheet>
Oracle Standard XSD
<?xml version="1.0" encoding="UTF-8" ?>
<!--This Schema has been generated from a DTD. A target namespace has been added to the schema.-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://TargetNamespace.com/ServiceName" xmlns="http://TargetNamespace.com/ServiceName" nxsd:version="DTD" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd">
<xs:element name="BOMNAME" type="xs:string"/>
<xs:element name="LEDGER" type="xs:string"/>
<xs:element name="VERB">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="value" fixed="PROCESS" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="SOSLINENUM" type="xs:string"/>
<xs:element name="ITEMCATID" type="xs:string"/>
<xs:element name="DRAWING" type="xs:string"/>
<xs:element name="POSITION" type="xs:string"/>
<xs:element name="CLSSLMNTID" type="xs:string"/>
<xs:element name="RQSLINENUM" type="xs:string"/>
<xs:element name="SHIPNOTES" type="xs:string"/>
<xs:element name="USUPINVFG" type="xs:string"/>
<xs:element name="SHIPPERNUM" type="xs:string"/>
<xs:element name="TRACKFLG" type="xs:string"/>
<xs:element name="QTETYPE" type="xs:string"/>
<xs:element name="MCHDOCTYPE" type="xs:string"/>
<xs:element name="RECEIPTID" type="xs:string"/>
<xs:element name="OPSTATUS" type="xs:string"/>
<xs:element name="CTCHWCONV" type="xs:string"/>
<xs:element name="POENTITY" type="xs:string"/>
<xs:element name="RELLOCID" type="xs:string"/>
<xs:element name="PARENTID" type="xs:string"/>
<xs:element name="QUALFNTYPE" type="xs:string"/>
<xs:element name="COUNTY" type="xs:string"/>
<xs:element name="QTEREVISON" type="xs:string"/>
<xs:element name="PRODOSTATS" type="xs:string"/>
<xs:element name="RESORCEUSE" type="xs:string"/>
<xs:element name="FEATUREID" type="xs:string"/>
<xs:element name="PRODSEQNUM" type="xs:string"/>
<xs:element name="PARENTLOT">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="ECOPRIORITY" type="xs:string"/>
<xs:element name="PRODCTLINE" type="xs:string"/>
<xs:element name="UNIT" type="xs:string"/>
<xs:element name="RSBLINENUM" type="xs:string"/>
<xs:element name="REQLINENUM" type="xs:string"/>
<xs:element name="COMPREFDES" type="xs:string"/>
<xs:element name="SIGN" type="xs:string"/>
<xs:element name="ITEM" type="xs:string"/>
<xs:element name="CATALGNAME" type="xs:string"/>
<xs:element name="FAILTYPE" type="xs:string"/>
<xs:element name="MACHINEID" type="xs:string"/>
<xs:element name="SCHLINENUM" type="xs:string"/>
<xs:element name="REGION" type="xs:string"/>
<xs:element name="ONETIME" type="xs:string"/>
<xs:element name="MAINTCALID" type="xs:string"/>
<xs:element name="STEPNUM" type="xs:string"/>
<xs:element name="PRODSEQBEG" type="xs:string"/>
<xs:element name="ITEMDEFN" type="xs:string"/>
<xs:element name="HAZRDMATL" type="xs:string"/>
<xs:element name="ITEMSTATUS" type="xs:string"/>
<xs:element name="BUDGSTAT" type="xs:string"/>
<xs:element name="MAINTLOCID" type="xs:string"/>
<xs:element name="MACHSUDEP" type="xs:string"/>
<xs:element name="OPTIONID" type="xs:string"/>
<xs:element name="MINUTE" type="xs:string"/>
<xs:element name="SERIALNUM" type="xs:string"/>
<xs:element name="SHIPMATLID" type="xs:string"/>
<xs:element name="MACHSTATE" type="xs:string"/>
<xs:element name="WARRANTY" type="xs:string"/>
<xs:element name="CTCHWFLAG" type="xs:string"/>
<xs:element name="USERID" type="xs:string"/>
<xs:element name="ROUTINGVAR" type="xs:string"/>
<xs:element name="PAYMETHOD" type="xs:string"/>
<xs:element name="OPERATNID" type="xs:string"/>
<xs:element name="PYMTTERM">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="AMOUNT"/>
<xs:element minOccurs="0" ref="DATETIME"/>
<xs:element minOccurs="0" ref="DATETIME"/>
<xs:element minOccurs="0" ref="DATETIME"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="TERMID"/>
<xs:element minOccurs="0" ref="USERAREA"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PARTIALSHP" type="xs:string"/>
<xs:element name="RFQLNSTAT" type="xs:string"/>
<xs:element name="FRMITMCLSS" type="xs:string"/>
<xs:element name="WAGEGROUP" type="xs:string"/>
<xs:element name="RSPSDLNUM" type="xs:string"/>
<xs:element name="MSGID" type="xs:string"/>
<xs:element name="ITMFTVAL" type="xs:string"/>
<xs:element name="SHPUNITTOT" type="xs:string"/>
<xs:element name="ECOTYPE" type="xs:string"/>
<xs:element name="DESCRIPTN" type="xs:string"/>
<xs:element name="BOMUSAGE" type="xs:string"/>
<xs:element name="USERAREA">
<xs:complexType mixed="true">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:any/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MOPRIORITY" type="xs:string"/>
<xs:element name="PARTNRROLE" type="xs:string"/>
<xs:element name="MSDSID" type="xs:string"/>
<xs:element name="TELEPHONE">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="SHIPPERID" type="xs:string"/>
<xs:element name="DELIVERTO" type="xs:string"/>
<xs:element name="EXPIREFLAG" type="xs:string"/>
<xs:element name="PACKNGDESC" type="xs:string"/>
<xs:element name="FTDATATYPE" type="xs:string"/>
<xs:element name="RFQREVISON" type="xs:string"/>
<xs:element name="PROCESS_INVOICE">
<xs:complexType>
<xs:sequence>
<xs:element ref="INVHEADER"/>
<xs:choice maxOccurs="unbounded">
<xs:element ref="INVALLWNCE"/>
<xs:element ref="INVCHARGE"/>
<xs:element ref="INVLINE"/>
<xs:element ref="INVTAX"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MACHCLASS" type="xs:string"/>
<xs:element name="MOSTATUS" type="xs:string"/>
<xs:element name="QUALIF" type="xs:string"/>
<xs:element name="NUMOFDEC" type="xs:string"/>
<xs:element name="GLENTITYD" type="xs:string"/>
<xs:element name="ROUTEID" type="xs:string"/>
<xs:element name="BUYERID" type="xs:string"/>
<xs:element name="XREFTYPEID" type="xs:string"/>
<xs:element name="POSTALCODE" type="xs:string"/>
<xs:element name="YEAR" type="xs:string"/>
<xs:element name="FRGHTTERMS" type="xs:string"/>
<xs:element name="PICLINENUM" type="xs:string"/>
<xs:element name="INVENDISP" type="xs:string"/>
<xs:element name="GLENTITYS" type="xs:string"/>
<xs:element name="FIXEDASSET" type="xs:string"/>
<xs:element name="COMMODITY">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="SUPERVISOR" type="xs:string"/>
<xs:element name="APPROVERID" type="xs:string"/>
<xs:element name="SHPUNITSEQ" type="xs:string"/>
<xs:element name="RSLINENUM" type="xs:string"/>
<xs:element name="RFQID" type="xs:string"/>
<xs:element name="TERMFLAG" type="xs:string"/>
<xs:element name="OPERATTYPE" type="xs:string"/>
<xs:element name="BSR">
<xs:complexType>
<xs:sequence>
<xs:element ref="VERB"/>
<xs:element ref="NOUN"/>
<xs:element ref="REVISION"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TRAKNGFLAG" type="xs:string"/>
<xs:element name="RFQTYPE" type="xs:string"/>
<xs:element name="OVERIDPRIC" type="xs:string"/>
<xs:element name="WORKORDER" type="xs:string"/>
<xs:element name="PRODORDER" type="xs:string"/>
<xs:element name="ACCTTYPE" type="xs:string"/>
<xs:element name="FLEXBKTID" type="xs:string"/>
<xs:element name="LINENUM" type="xs:string"/>
<xs:element name="MCHDOCID" type="xs:string"/>
<xs:element name="POLNSTATUS" type="xs:string"/>
<xs:element name="TXANALYSIS" type="xs:string"/>
<xs:element name="PSCLINENUM" type="xs:string"/>
<xs:element name="RELMACHID" type="xs:string"/>
<xs:element name="KANBAN" type="xs:string"/>
<xs:element name="SOLNSTATUS" type="xs:string"/>
<xs:element name="TEMPRATURE">
<xs:complexType>
<xs:sequence>
<xs:element ref="VALUE"/>
<xs:element ref="NUMOFDEC"/>
<xs:element ref="SIGN"/>
</xs:sequence>
<xs:attribute name="qualifier" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="ACTUAL"/>
<xs:enumeration value="DELIVERY"/>
<xs:enumeration value="LOADING"/>
<xs:enumeration value="OTHER"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="CELSIUS"/>
<xs:enumeration value="FAHRENHEIT"/>
<xs:enumeration value="KELVIN"/>
<xs:enumeration value="OTHER"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="OLDITMREV" type="xs:string"/>
<xs:element name="VALUECLASS" type="xs:string"/>
<xs:element name="DAY" type="xs:string"/>
<xs:element name="CONTACT">
<xs:complexType>
<xs:sequence>
<xs:element ref="NAME"/>
<xs:element minOccurs="0" ref="CONTCTTYPE"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="EMAIL"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="FAX"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="NAME"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="TELEPHONE"/>
<xs:element minOccurs="0" ref="USERAREA"/>
</xs:sequence>
<xs:attribute name="returndata" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="VOUCHER" type="xs:string"/>
<xs:element name="INVCHARGE">
<xs:complexType>
<xs:sequence>
<xs:element ref="AMOUNT"/>
<xs:element minOccurs="0" ref="QUANTITY"/>
<xs:element ref="CHARGETYPE"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="LINENUM"/>
<xs:element minOccurs="0" ref="USERAREA"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="PARTNER"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OVERTIME" type="xs:string"/>
<xs:element name="EMPLOYEEID" type="xs:string"/>
<xs:element name="DENSITYFAC" type="xs:string"/>
<xs:element name="SALESORDID" type="xs:string"/>
<xs:element name="ITEMVAR" type="xs:string"/>
<xs:element name="SHIPPRIOR" type="xs:string"/>
<xs:element name="CONFIRMATION" type="xs:string"/>
<xs:element name="STEPTYPE" type="xs:string"/>
<xs:element name="TAXCODE" type="xs:string"/>
<xs:element name="ENDITEMID" type="xs:string"/>
<xs:element name="QUALFNVAL" type="xs:string"/>
<xs:element name="SAFTYCLASS" type="xs:string"/>
<xs:element name="LABORID" type="xs:string"/>
<xs:element name="UOMVALUE" type="xs:string"/>
<xs:element name="PROXMONTH" type="xs:string"/>
<xs:element name="REPRTGFLAG" type="xs:string"/>
<xs:element name="INVLINENUM" type="xs:string"/>
<xs:element name="ROUTEVAR" type="xs:string"/>
<xs:element name="SPLITABLE" type="xs:string"/>
<xs:element name="TITLE" type="xs:string"/>
<xs:element name="ALLOWTYPE" type="xs:string"/>
<xs:element name="TOITMCLSS" type="xs:string"/>
<xs:element name="SOLINENUM" type="xs:string"/>
<xs:element name="FILENAME" type="xs:string"/>
<xs:element name="CURRTO" type="xs:string"/>
<xs:element name="SAFETYTYPE" type="xs:string"/>
<xs:element name="NOTES">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="COMPLEVEL" type="xs:string"/>
<xs:element name="RESORCTYP" type="xs:string"/>
<xs:element name="DOCUMENTID" type="xs:string"/>
<xs:element name="ROUTELEVEL">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="FRMSITELVL">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="RECEPTDISP" type="xs:string"/>
<xs:element name="PRODORDID" type="xs:string"/>
<xs:element name="CLASSLEVEL" type="xs:string"/>
<xs:element name="REASONCODE" type="xs:string"/>
<xs:element name="OTELIGIBLE" type="xs:string"/>
<xs:element name="QUALFNID" type="xs:string"/>
<xs:element name="RSPREVNUM" type="xs:string"/>
<xs:element name="INVLINE">
<xs:complexType>
<xs:sequence>
<xs:element ref="AMOUNT"/>
<xs:element minOccurs="0" ref="AMOUNT"/>
<xs:element minOccurs="0" ref="OPERAMT"/>
<xs:element minOccurs="0" ref="QUANTITY"/>
<xs:element minOccurs="0" ref="QUANTITY"/>
<xs:element minOccurs="0" ref="QUANTITY"/>
<xs:element ref="LINENUM"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="ITEM"/>
<xs:element minOccurs="0" ref="ITEMTYPE"/>
<xs:element minOccurs="0" ref="ITEMX"/>
<xs:element minOccurs="0" ref="OPENITEM"/>
<xs:element minOccurs="0" ref="PROJACTVTY"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="PROJRESEL"/>
<xs:element minOccurs="0" ref="UNIT"/>
<xs:element minOccurs="0" ref="UPC"/>
<xs:element minOccurs="0" ref="USERAREA"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="DOCUMNTREF"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVALLWNCE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVLINE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="INDLINENUM" type="xs:string"/>
<xs:element name="MACHID" type="xs:string"/>
<xs:element name="RECLINENUM" type="xs:string"/>
<xs:element name="FRGHTITEM" type="xs:string"/>
<xs:element name="RFQIDX" type="xs:string"/>
<xs:element name="TRNSFRTYPE" type="xs:string"/>
<xs:element name="PARTNRRATG" type="xs:string"/>
<xs:element name="BOMREVISON" type="xs:string"/>
<xs:element name="ACTTYPE" type="xs:string"/>
<xs:element name="SCHEDULEID" type="xs:string"/>
<xs:element name="REF">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="CONTRACTB" type="xs:string"/>
<xs:element name="DISCRPTYPE" type="xs:string"/>
<xs:element name="DOCTYPE" type="xs:string"/>
<xs:element name="MAINTORDID" type="xs:string"/>
<xs:element name="LINEFEED" type="xs:string"/>
<xs:element name="BOMTYPE" type="xs:string"/>
<xs:element name="CNTCTTYPE" type="xs:string"/>
<xs:element name="MATCHTYPE" type="xs:string"/>
<xs:element name="CONTRACTS" type="xs:string"/>
<xs:element name="EMPCATEGRY" type="xs:string"/>
<xs:element name="CHARGE">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="OPERAMT"/>
<xs:element minOccurs="0" ref="CHARGEID"/>
<xs:element minOccurs="0" ref="CHARGETYPE"/>
<xs:element minOccurs="0" ref="CHGLINENUM"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="USERAREA"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="DISTRIBUTN"/>
</xs:sequence>
<xs:attribute name="returndata" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="ROUTINGREV" type="xs:string"/>
<xs:element name="RFQLINENUM" type="xs:string"/>
<xs:element name="RELITEMID" type="xs:string"/>
<xs:element name="CLSSELMT">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="MOPARENTID" type="xs:string"/>
<xs:element name="REVISION">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="value" fixed="002" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="SUBLINENUM" type="xs:string"/>
<xs:element name="ITEMX" type="xs:string"/>
<xs:element name="OWNRSHPCDE" type="xs:string"/>
<xs:element name="SHPMTLDESC" type="xs:string"/>
<xs:element name="PERSONCODE" type="xs:string"/>
<xs:element name="APPROVE" type="xs:string"/>
<xs:element name="BOMSTATUS" type="xs:string"/>
<xs:element name="FAILUREID" type="xs:string"/>
<xs:element name="ITEMDESC" type="xs:string"/>
<xs:element name="ROUTINGID" type="xs:string"/>
<xs:element name="CHARGEID" type="xs:string"/>
<xs:element name="WAGETYPE" type="xs:string"/>
<xs:element name="DATETIME">
<xs:complexType>
<xs:sequence>
<xs:element ref="YEAR"/>
<xs:element ref="MONTH"/>
<xs:element ref="DAY"/>
<xs:element ref="HOUR"/>
<xs:element ref="MINUTE"/>
<xs:element ref="SECOND"/>
<xs:element ref="SUBSECOND"/>
<xs:element ref="TIMEZONE"/>
</xs:sequence>
<xs:attribute name="qualifier" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="ACCOUNTING"/>
<xs:enumeration value="ACTEND"/>
<xs:enumeration value="ACTSTART"/>
<xs:enumeration value="APPREQ"/>
<xs:enumeration value="APPROVAL"/>
<xs:enumeration value="AVAILABLE"/>
<xs:enumeration value="BKTEND"/>
<xs:enumeration value="BKTSTART"/>
<xs:enumeration value="CANCEL"/>
<xs:enumeration value="CHANGEDATE"/>
<xs:enumeration value="COMPDATE"/>
<xs:enumeration value="CONSUME"/>
<xs:enumeration value="CREATION"/>
<xs:enumeration value="CUMULATIVE"/>
<xs:enumeration value="DELIVACT"/>
<xs:enumeration value="DELIVSCHED"/>
<xs:enumeration value="DISCNT"/>
<xs:enumeration value="DOCUMENT"/>
<xs:enumeration value="DUE"/>
<xs:enumeration value="EARLSTEFF"/>
<xs:enumeration value="EARLSTSHIP"/>
<xs:enumeration value="EFFECTIVE"/>
<xs:enumeration value="ENGCHG"/>
<xs:enumeration value="EXECFINISH"/>
<xs:enumeration value="EXECSTART"/>
<xs:enumeration value="EXPIRATION"/>
<xs:enumeration value="FAILDATE"/>
<xs:enumeration value="FORECASTF"/>
<xs:enumeration value="FORECASTS"/>
<xs:enumeration value="FROM"/>
<xs:enumeration value="GENERATION"/>
<xs:enumeration value="IMPL"/>
<xs:enumeration value="INVOICE"/>
<xs:enumeration value="JOBDUE"/>
<xs:enumeration value="LABORFINSH"/>
<xs:enumeration value="LABORSTART"/>
<xs:enumeration value="LASTUSED"/>
<xs:enumeration value="LOADING"/>
<xs:enumeration value="MATCHING"/>
<xs:enumeration value="MSMENTDATE"/>
<xs:enumeration value="NEEDDELV"/>
<xs:enumeration value="OPFINISH"/>
<xs:enumeration value="OPSTART"/>
<xs:enumeration value="PAYEND"/>
<xs:enumeration value="PLANEND"/>
<xs:enumeration value="PLANSTART"/>
<xs:enumeration value="PO"/>
<xs:enumeration value="PROMDELV"/>
<xs:enumeration value="PROMSHIP"/>
<xs:enumeration value="PYMTTERM"/>
<xs:enumeration value="RECEIVED"/>
<xs:enumeration value="REPORTDATE"/>
<xs:enumeration value="REPORTNGFN"/>
<xs:enumeration value="REPORTNGST"/>
<xs:enumeration value="REQUIRED"/>
<xs:enumeration value="RESORCDWNF"/>
<xs:enumeration value="RESORCDWNS"/>
<xs:enumeration value="RSPDDATE"/>
<xs:enumeration value="RSPDOCGEN"/>
<xs:enumeration value="SCHEND"/>
<xs:enumeration value="SCHSTART"/>
<xs:enumeration value="SETUPFINSH"/>
<xs:enumeration value="SETUPSTART"/>
<xs:enumeration value="SHIP"/>
<xs:enumeration value="SHIPSCHED"/>
<xs:enumeration value="STATUSDATE"/>
<xs:enumeration value="TEARDOWNF"/>
<xs:enumeration value="TEARDOWNS"/>
<xs:enumeration value="TO"/>
<xs:enumeration value="OTHER"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="T"/>
<xs:enumeration value="F"/>
<xs:enumeration value="OTHER"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="index" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="BOMALTID" type="xs:string"/>
<xs:element name="QTELINENUM" type="xs:string"/>
<xs:element name="DISPOSITN" type="xs:string"/>
<xs:element name="CATALOGRV" type="xs:string"/>
<xs:element name="PROJRESEL">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="TAXEXEMPT" type="xs:string"/>
<xs:element name="OPTCLSSID" type="xs:string"/>
<xs:element name="PREFERENCE" type="xs:string"/>
<xs:element name="WORKCENTER" type="xs:string"/>
<xs:element name="PRICELSTID" type="xs:string"/>
<xs:element name="CLSELMLVL" type="xs:string"/>
<xs:element name="POLINENUM" type="xs:string"/>
<xs:element name="SAVESETUP" type="xs:string"/>
<xs:element name="PROPERTY">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="SUFFIX" type="xs:string"/>
<xs:element name="CONDSTATUS" type="xs:string"/>
<xs:element name="EXCPLINNUM" type="xs:string"/>
<xs:element name="PMID" type="xs:string"/>
<xs:element name="TOSITELVL">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="DUNSNUMBER" type="xs:string"/>
<xs:element name="LOTLEVEL">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="DISTCENTER" type="xs:string"/>
<xs:element name="RFQSTATUS" type="xs:string"/>
<xs:element name="TERMID" type="xs:string"/>
<xs:element name="SHIFT" type="xs:string"/>
<xs:element name="PARTNRID" type="xs:string"/>
<xs:element name="NEWITMREV" type="xs:string"/>
<xs:element name="DAYSNUM" type="xs:string"/>
<xs:element name="SYNCIND" type="xs:string"/>
<xs:element name="FTVALIND" type="xs:string"/>
<xs:element name="FUND" type="xs:string"/>
<xs:element name="PRODSEQEND" type="xs:string"/>
<xs:element name="TRACKINGID" type="xs:string"/>
<xs:element name="LINETYPE" type="xs:string"/>
<xs:element name="INVTAX">
<xs:complexType>
<xs:sequence>
<xs:element ref="AMOUNT"/>
<xs:element minOccurs="0" ref="AMOUNT"/>
<xs:element minOccurs="0" ref="AMOUNT"/>
<xs:element minOccurs="0" ref="QUANTITY"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="LINENUM"/>
<xs:element minOccurs="0" ref="TAXCODE"/>
<xs:element minOccurs="0" ref="TAXJRSDCTN"/>
<xs:element minOccurs="0" ref="USERAREA"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CONTAINRID" type="xs:string"/>
<xs:element name="OPRGRPNAME" type="xs:string"/>
<xs:element name="CITY" type="xs:string"/>
<xs:element name="APPROVED" type="xs:string"/>
<xs:element name="SALESORG">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="NEWREVFLAG" type="xs:string"/>
<xs:element name="ACCTYEAR" type="xs:string"/>
<xs:element name="RESORCKIN" type="xs:string"/>
<xs:element name="BACKORDIND" type="xs:string"/>
<xs:element name="EMPSTATUS" type="xs:string"/>
<xs:element name="PRINT" type="xs:string"/>
<xs:element name="INVALLWNCE">
<xs:complexType>
<xs:sequence>
<xs:element ref="AMOUNT"/>
<xs:element minOccurs="0" ref="QUANTITY"/>
<xs:element ref="ALLOWTYPE"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="LINENUM"/>
<xs:element minOccurs="0" ref="USERAREA"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="JPID" type="xs:string"/>
<xs:element name="QTELNSTAT" type="xs:string"/>
<xs:element name="CURRENCY" type="xs:string"/>
<xs:element name="CONSUMPTN" type="xs:string"/>
<xs:element name="RESORCLVL" type="xs:string"/>
<xs:element name="SUBSECOND" type="xs:string"/>
<xs:element name="MANDATORY" type="xs:string"/>
<xs:element name="BOMID" type="xs:string"/>
<xs:element name="INQUEUEID" type="xs:string"/>
<xs:element name="PRICETYPE" type="xs:string"/>
<xs:element name="EMPQUALIF" type="xs:string"/>
<xs:element name="CMPRSNID" type="xs:string"/>
<xs:element name="FTVALQUAL" type="xs:string"/>
<xs:element name="DOCUMENTRV" type="xs:string"/>
<xs:element name="FIELDID" type="xs:string"/>
<xs:element name="QTEID" type="xs:string"/>
<xs:element name="ITEMCLASSID" type="xs:string"/>
<xs:element name="LOADPOINT" type="xs:string"/>
<xs:element name="EMAIL" type="xs:string"/>
<xs:element name="EXCPTNCODE" type="xs:string"/>
<xs:element name="COSTTYPE" type="xs:string"/>
<xs:element name="PRDLINENUM" type="xs:string"/>
<xs:element name="PLANNERID" type="xs:string"/>
<xs:element name="EXPORTLIC" type="xs:string"/>
<xs:element name="WRKSCHDID" type="xs:string"/>
<xs:element name="CLASSFN">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="SOSTATUS" type="xs:string"/>
<xs:element name="SHPUNITSTS" type="xs:string"/>
<xs:element name="LANGUAGE" type="xs:string"/>
<xs:element name="DIVISION" type="xs:string"/>
<xs:element name="FAILCODE" type="xs:string"/>
<xs:element name="REQLNSTAT" type="xs:string"/>
<xs:element name="TOPARTY" type="xs:string"/>
<xs:element name="COMMENTS" type="xs:string"/>
<xs:element name="RSLINETYPE" type="xs:string"/>
<xs:element name="CLSSSCHMID" type="xs:string"/>
<xs:element name="ITEMTYPE" type="xs:string"/>
<xs:element name="ADDRESS">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ADDRLINE"/>
<xs:element minOccurs="0" ref="ADDRTYPE"/>
<xs:element minOccurs="0" ref="CITY"/>
<xs:element minOccurs="0" ref="COUNTRY"/>
<xs:element minOccurs="0" ref="COUNTY"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="FAX"/>
<xs:element minOccurs="0" ref="POSTALCODE"/>
<xs:element minOccurs="0" ref="REGION"/>
<xs:element minOccurs="0" ref="STATEPROVN"/>
<xs:element minOccurs="0" ref="TAXJRSDCTN"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="TELEPHONE"/>
<xs:element minOccurs="0" ref="URL"/>
<xs:element minOccurs="0" ref="USERAREA"/>
</xs:sequence>
<xs:attribute name="returndata" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="REQUESTER" type="xs:string"/>
<xs:element name="BUDGVER" type="xs:string"/>
<xs:element name="CONTCTTYPE" type="xs:string"/>
<xs:element name="BUDGTXN" type="xs:string"/>
<xs:element name="DATAAREA">
<xs:complexType>
<xs:sequence>
<xs:element ref="PROCESS_INVOICE"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UPCPKGIND" type="xs:string"/>
<xs:element name="UPDTWIPFG" type="xs:string"/>
<xs:element name="NAME">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="OPERATNSEQ" type="xs:string"/>
<xs:element name="DISPOSITON" type="xs:string"/>
<xs:element name="EMPNAME" type="xs:string"/>
<xs:element name="ACCTPERIOD" type="xs:string"/>
<xs:element name="TIMEZONE" type="xs:string"/>
<xs:element name="RSPLINNUM" type="xs:string"/>
<xs:element name="INMRPPLAN" type="xs:string"/>
<xs:element name="GEOGRAPHY" type="xs:string"/>
<xs:element name="USEUPITEM" type="xs:string"/>
<xs:element name="OUTQUEUEID" type="xs:string"/>
<xs:element name="COSTCENTER" type="xs:string"/>
<xs:element name="PROJTXTYPE" type="xs:string"/>
<xs:element name="TAXID" type="xs:string"/>
<xs:element name="AUTHID" type="xs:string"/>
<xs:element name="VALUE" type="xs:string"/>
<xs:element name="INSPECTRID" type="xs:string"/>
<xs:element name="JEID" type="xs:string"/>
<xs:element name="PUBLISHER" type="xs:string"/>
<xs:element name="HRORG">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="DISTRIBUTN">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="OPERAMT"/>
<xs:element minOccurs="0" ref="BUSNAREA"/>
<xs:element minOccurs="0" ref="COSTCENTER"/>
<xs:element minOccurs="0" ref="DEPARTMENT"/>
<xs:element minOccurs="0" ref="DIVISION"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ELEMENT"/>
<xs:element minOccurs="0" ref="FUND"/>
<xs:element minOccurs="0" ref="GEOGRAPHY"/>
<xs:element minOccurs="0" ref="GLENTITYS"/>
<xs:element minOccurs="0" ref="GLNOMACCT"/>
<xs:element minOccurs="0" ref="PROFITCTR"/>
<xs:element minOccurs="0" ref="PROJECT"/>
<xs:element minOccurs="0" ref="UNIT"/>
<xs:element minOccurs="0" ref="WAREHOUSE"/>
<xs:element minOccurs="0" ref="USERAREA"/>
</xs:sequence>
<xs:attribute name="returndata" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="FILETYPE" type="xs:string"/>
<xs:element name="CLASSFNID" type="xs:string"/>
<xs:element name="PSBLINENUM" type="xs:string"/>
<xs:element name="JOBCODE" type="xs:string"/>
<xs:element name="TAXJRSDCTN" type="xs:string"/>
<xs:element name="TOOLCLASS" type="xs:string"/>
<xs:element name="OPERAMT">
<xs:complexType>
<xs:sequence>
<xs:element ref="VALUE"/>
<xs:element ref="NUMOFDEC"/>
<xs:element ref="SIGN"/>
<xs:element ref="CURRENCY"/>
<xs:element ref="UOMVALUE"/>
<xs:element ref="UOMNUMDEC"/>
<xs:element ref="UOM"/>
</xs:sequence>
<xs:attribute name="qualifier" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="COST"/>
<xs:enumeration value="EXTENDED"/>
<xs:enumeration value="FREIGHT"/>
<xs:enumeration value="UNIT"/>
<xs:enumeration value="OTHER"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="T"/>
<xs:enumeration value="F"/>
<xs:enumeration value="OTHER"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="OPTCLSNAME" type="xs:string"/>
<xs:element name="DEFLTVALUE" type="xs:string"/>
<xs:element name="PARTNER">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="NAME"/>
<xs:element minOccurs="0" ref="ONETIME"/>
<xs:element minOccurs="0" ref="PARTNRID"/>
<xs:element minOccurs="0" ref="PARTNRTYPE"/>
<xs:element minOccurs="0" ref="SYNCIND"/>
<xs:element minOccurs="0" ref="ACTIVE"/>
<xs:element minOccurs="0" ref="CURRENCY"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="DUNSNUMBER"/>
<xs:element minOccurs="0" ref="GLENTITYS"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="NAME"/>
<xs:element minOccurs="0" ref="PARENTID"/>
<xs:element minOccurs="0" ref="PARTNRIDX"/>
<xs:element minOccurs="0" ref="PARTNRRATG"/>
<xs:element minOccurs="0" ref="PARTNRROLE"/>
<xs:element minOccurs="0" ref="PAYMETHOD"/>
<xs:element minOccurs="0" ref="TAXEXEMPT"/>
<xs:element minOccurs="0" ref="TAXID"/>
<xs:element minOccurs="0" ref="TERMID"/>
<xs:element minOccurs="0" ref="USERAREA"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ADDRESS"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ATTCHREF"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="CONTACT"/>
</xs:sequence>
<xs:attribute name="returndata" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="PRICELSTRV" type="xs:string"/>
<xs:element name="FIELDVALUE" type="xs:string"/>
<xs:element name="TRANSMETHD" type="xs:string"/>
<xs:element name="UNITTYPE" type="xs:string"/>
<xs:element name="FRMITMNM" type="xs:string"/>
<xs:element name="FAX">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="DOCKID" type="xs:string"/>
<xs:element name="INSLINENUM" type="xs:string"/>
<xs:element name="GLNOMACCT" type="xs:string"/>
<xs:element name="RESTRICTN" type="xs:string"/>
<xs:element name="COUNTRY" type="xs:string"/>
<xs:element name="LOGICALID" type="xs:string"/>
<xs:element name="ITEMCLASS" type="xs:string"/>
<xs:element name="FTGROUP" type="xs:string"/>
<xs:element name="ABSENCETYP" type="xs:string"/>
<xs:element name="SHIPPOINT" type="xs:string"/>
<xs:element name="ITEMRV" type="xs:string"/>
<xs:element name="MONTH" type="xs:string"/>
<xs:element name="RATETYPE" type="xs:string"/>
<xs:element name="IMPORTLIC" type="xs:string"/>
<xs:element name="CMPRSNTYPE" type="xs:string"/>
<xs:element name="REQUISTNID" type="xs:string"/>
<xs:element name="COUNTRYORG" type="xs:string"/>
<xs:element name="HOUR" type="xs:string"/>
<xs:element name="CONTNRTYPE" type="xs:string"/>
<xs:element name="DRCR" type="xs:string"/>
<xs:element name="BKTYPE" type="xs:string"/>
<xs:element name="FACTOR" type="xs:string"/>
<xs:element name="LOTSERIAL">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="QUANTITY"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="LOTLEVEL"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="PARENTLOT"/>
<xs:element minOccurs="0" ref="PARENTSNUM"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="SERIALNUM"/>
<xs:element minOccurs="0" ref="USERAREA"/>
</xs:sequence>
<xs:attribute name="returndata" use="optional" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="TOITMNM" type="xs:string"/>
<xs:element name="EMPDEPT" type="xs:string"/>
<xs:element name="EXCLUSIVE" type="xs:string"/>
<xs:element name="ECOAPPSTAT" type="xs:string"/>
<xs:element name="UOM" type="xs:string"/>
<xs:element name="LOTSNFLAG" type="xs:string"/>
<xs:element name="PROJACTSTS" type="xs:string"/>
<xs:element name="ACKMODE" type="xs:string"/>
<xs:element name="BILLOLADNG" type="xs:string"/>
<xs:element name="UPC" type="xs:string"/>
<xs:element name="SAFETYID" type="xs:string"/>
<xs:element name="TOOLID" type="xs:string"/>
<xs:element name="STEPID" type="xs:string"/>
<xs:element name="CODEPAGE" type="xs:string"/>
<xs:element name="ACTIONCODE" type="xs:string"/>
<xs:element name="INSPECTDOC" type="xs:string"/>
<xs:element name="QSLINESTAT" type="xs:string"/>
<xs:element name="FREIGHTCLS" type="xs:string"/>
<xs:element name="BUSNAREA" type="xs:string"/>
<xs:element name="PROJSTATUS" type="xs:string"/>
<xs:element name="DOCUMNTREF">
<xs:complexType>
<xs:sequence>
<xs:element ref="DOCTYPE"/>
<xs:element ref="DOCUMENTID"/>
<xs:element ref="PARTNRID"/>
<xs:element ref="PARTNRTYPE"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="DOCUMENTRV"/>
<xs:element minOccurs="0" ref="LINENUM"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="NOTES"/>
<xs:element minOccurs="0" ref="SCHLINENUM"/>
<xs:element minOccurs="0" ref="SUBLINENUM"/>
<xs:element minOccurs="0" ref="USERAREA"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CARRSRVLVL" type="xs:string"/>
<xs:element name="OILINENUM" type="xs:string"/>
<xs:element name="DEFAULT" type="xs:string"/>
<xs:element name="SUBSFLAG" type="xs:string"/>
<xs:element name="PARTNRTYPE" type="xs:string"/>
<xs:element name="POSTATUS" type="xs:string"/>
<xs:element name="RECEIPTYPE" type="xs:string"/>
<xs:element name="URI" type="xs:string"/>
<xs:element name="CLSSSCHMRV" type="xs:string"/>
<xs:element name="INVHEADER">
<xs:complexType>
<xs:sequence>
<xs:element ref="AMOUNT"/>
<xs:element ref="DATETIME"/>
<xs:element minOccurs="0" ref="AMOUNT"/>
<xs:element ref="DOCUMENTID"/>
<xs:element minOccurs="0" ref="DESCRIPTN"/>
<xs:element minOccurs="0" ref="DOCTYPE"/>
<xs:element minOccurs="0" ref="PAYMETHOD"/>
<xs:element minOccurs="0" ref="REASONCODE"/>
<xs:element minOccurs="0" ref="USERAREA"/>
<xs:element maxOccurs="unbounded" ref="PARTNER"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="DOCUMNTREF"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVALLWNCE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVCHARGE"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="INVTAX"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="PYMTTERM"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="URL" type="xs:string"/>
<xs:element name="RESOURCEID" type="xs:string"/>
<xs:element name="PARENTSNUM" type="xs:string"/>
<xs:element name="SALESPERSN" type="xs:string"/>
<xs:element name="ELEMENT">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="index" use="required" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="QTESTATUS" type="xs:string"/>
<xs:element name="NOUN">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="value" fixed="INVOICE" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="OPTIONNAME" type="xs:string"/>
<xs:element name="USAGERESTN" type="xs:string"/>
<xs:element name="PACKING" type="xs:string"/>
<xs:element name="UOMNUMDEC" type="xs:string"/>
<xs:element name="REVITMSTAT" type="xs:string"/>
<xs:element name="CURRFROM" type="xs:string"/>
<xs:element name="FEATVAL" type="xs:string"/>
<xs:element name="ACKREQUEST" type="xs:string"/>
<xs:element name="OPRGRPTYPE" type="xs:string"/>
<xs:element name="DAYOFMONTH" type="xs:string"/>
<xs:element name="ECONAME" type="xs:string"/>
<xs:element name="PSDLINENUM" type=It looks like you dont have the MODIFY statement in the loops where you calculate the QTYDIFF value.
Try:
loop at t_hist.
clear t_hist-qtydiff.
t_hist-qtydiff = t_hist-qtyrcvd - t_hist-qtyinvd.
if not s_qty is initial.
check t_hist-qtydiff in s_qty.
endif.
if not s_value is initial.
check t_hist-valdiff in s_value.
endif.
w_hist-valdiff = w_hist-valdiff + t_hist-valdiff.
<b>MODIFY t_hist from w_hist.</b>
endloop.
Do the same for the other t_hist table loop.
Brad -
How to post and get data from server using Get Webrequest
Hi:-)
I'm trying to send a username and password argument my server and the server is suppose to send some string back. The following code, that I got of the web, just dies. I think this line:
HttpWebRequestpreq = result.AsyncState
asHttpWebRequest;
is null. Can you kindly fix this for me? Thank you in advance:-)
notes: I have a few textboxes with the values for the request params
I'm targeting Windows Phone 8.0 and Windows Phone 8.1 devices
privatevoidBtnSignUpSubmit_Tab(objectsender,
RoutedEventArgse)
//show error if Username == Username
if(TbUN.Text.ToString() ==
"Username")
MessageBox.Show("You
must fill in your Username in the Username textbox.\nThank you.");
return;
//make sure all fields are filled in
if(TbUN.Text.ToString() ==
""|| TbPW.Text.ToString()
== ""|| TbCPW.Text.ToString()
== "")
MessageBox.Show("All
fields must be filled in.\nThank you.");
return;
//make sure Password is the same as Confirm Password
if(TbPW.Text.CompareTo(TbCPW.Text) !=
0)
MessageBox.Show("Your
Password should be the same as Confirm Password.\nThank you.");
return;
//make sure Username contains valid characters
boolbValid = IsUsernameValid(TbUN.Text);
if(bValid)
bSignUp =
true;
//disable textboxes
TbUN.IsEnabled =
false;
TbPW.IsEnabled =
false;
TbCPW.IsEnabled =
false;
TbEmail.IsEnabled =
false;
BtnSignUpSubmit.IsEnabled =
false;
title.Text =
"requesting...";
//make Post request top-server
//add parameters
stringdata =
"username="+TbUN.Text+"&Password="+TbPW.Text;
if(TbEmail.Text.Contains("@")
&& TbEmail.Text.Contains("."))
data +=
"&email="+ TbEmail.Text;
System.
UriURL =
newUri("http://www.iclips.co.za/RegisterUsernameAndPassword.php");
WebRequestwebRequest =
WebRequest.Create(URL);
webRequest.Method =
"POST";
webRequest.ContentType =
"application/x-www-form-urlencoded";
webRequest.ContentLength = data.Length;
//we first obtain an input stream to which to write the body of the HTTP POST
webRequest.BeginGetRequestStream((
IAsyncResultresult) =>
HttpWebRequestpreq = result.AsyncState
asHttpWebRequest;
if(preq !=
null)
StreampostStream = preq.EndGetRequestStream(result);
//guess one could just accept a byte[] [via function argument] for arbitrary data types - images, audio,...
byte[] dataStream =
Encoding.UTF8.GetBytes(data);
postStream.Write(dataStream, 0, dataStream.Length);
postStream.Close();
//we can then finalize the request...
preq.BeginGetResponse((
IAsyncResultfinal_result) =>
HttpWebRequestreq = final_result.AsyncState
asHttpWebRequest;
if(req !=
null)
try
//we call the success callback as long as we get a response stream
WebResponseresponse = req.EndGetResponse(final_result);
success_callback(response.GetResponseStream());
catch(WebExceptionwe)
//otherwise call the error/failure callback
error_callback(we.Message);
return;
}, preq);
}, URL);
privatevoiderror_callback(stringp)
if(bSignUp)
bSignUp =
false;
// Show error message
MessageBox.Show("Connection
Error!\n\n"+ p);
//enable input
//disable textboxes
TbUN.IsEnabled =
true;
TbPW.IsEnabled =
true;
TbCPW.IsEnabled =
true;
TbEmail.IsEnabled =
true;
BtnSignUpSubmit.IsEnabled =
false;
title.Text =
"try again";
privatevoidsuccess_callback(Streamstream)
if(bSignUp)
bSignUp =
false;
// Open the stream using a StreamReader for easy access.
StreamReaderreader =
newStreamReader(stream);
// Read the content.
stringresponse = reader.ReadToEnd();
// Display the content.
MessageBox.Show(response);
// Clean up the streams.
reader.Close();// Directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using iClips.Resources;
using System.ComponentModel;
using System.Threading;
using System.IO;
using System.IO.IsolatedStorage;
using Microsoft.Devices;
using System.Windows.Media;
using Microsoft.Xna.Framework.Media;
using System.Windows.Media.Imaging;
using System.Threading.Tasks;
using System.Text;
using Windows.Storage;
using System.Windows.Threading;
using System.Diagnostics;
using System.Globalization;
namespace iClips
public partial class MainPage : PhoneApplicationPage
Boolean bSignUp;
HyperlinkButton BtnSignIn, BtnSignUp, BtnSignUpSubmit;
TextBox TbUN, TbPW, TbCPW, TbEmail;
TextBlock un, title;
System.DateTime startTime;
// Viewfinder for capturing video.
private VideoBrush videoRecorderBrush;
// Source and device for capturing video.
private CaptureSource captureSource;
private CaptureDevice vcDevice;
double w, h;
// File details for storing the recording.
private IsolatedStorageFileStream isoVideoFile;
private FileSink fileSink;
private string isoVideoFileName = "CameraMovie.mp4";
// For managing button and application state.
private enum ButtonState { Initialized, Stopped, Ready, Recording, Playback, Paused, NoChange, CameraNotSupported };
private ButtonState currentAppState;
//create reference to SocketClient
SocketClient sock = new SocketClient();
// Constructor
public MainPage()
InitializeComponent();
//setup recording
// Prepare ApplicationBar and buttons.
PhoneAppBar = (ApplicationBar)ApplicationBar;
PhoneAppBar.IsVisible = true;
StartRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[0]);
StopPlaybackRecording = ((ApplicationBarIconButton)ApplicationBar.Buttons[1]);
StartPlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[2]);
PausePlayback = ((ApplicationBarIconButton)ApplicationBar.Buttons[3]);
//display a welcome message
txtDebug.Text = "Welcome to iClips.";
string result = sock.Connect("197.189.214.116", 5000);
txtOutput.Text = result;
if(result.Contains("success")){
sock.Send("#testing_");
SetScreenResolution();
//set image on load friends
/*Uri uri = new Uri("/Assets/home_icons/myFriends.png", UriKind.Relative);
BitmapImage imgSource = new BitmapImage(uri);
Image image = new Image();
image.Source = imgSource;
load_friends.Content = image;*/
SignIn();
private void SignIn()
// remove all elements inside sign grid
for (int index = MyGrid.Children.Count - 1; index >= 0; index--)
MyGrid.Children.RemoveAt(index);
BtnSignIn = new HyperlinkButton();
BtnSignIn.Content = "<< Sign In >>";
BtnSignIn.Click += new RoutedEventHandler(SignIn_Tab);
BtnSignIn.VerticalAlignment = VerticalAlignment.Bottom;
BtnSignUp = new HyperlinkButton();
BtnSignUp.Content = "<< I'm new here. Sign Up. >>";
BtnSignUp.Click += new RoutedEventHandler(SignUp_Tab);
BtnSignUp.VerticalAlignment = VerticalAlignment.Bottom;
un = new TextBlock();
un.Text = "Enter your Username:";
un.VerticalAlignment = VerticalAlignment.Bottom;
un.HorizontalAlignment = HorizontalAlignment.Center;
TextBlock pw = new TextBlock();
pw.Text = "Enter your Password:";
pw.VerticalAlignment = VerticalAlignment.Bottom;
pw.HorizontalAlignment = HorizontalAlignment.Center;
//setup username textbox
TbUN = new TextBox();
TbUN.Opacity = 0.5;
TbUN.Text = "";
TbUN.FontSize = 16;
TbUN.FontWeight = FontWeights.ExtraBold;
TbUN.Foreground = new SolidColorBrush(Colors.Black);
TbUN.Background = new SolidColorBrush(Colors.Transparent);
TbUN.VerticalAlignment = VerticalAlignment.Top;
TbUN.Height = 70;
TbUN.Tap += TbUN_Tap;
//setup password textbox
TbPW = new TextBox();
TbPW.Opacity = 0.5;
TbPW.Text = "";
TbPW.FontSize = 16;
TbPW.FontWeight = FontWeights.ExtraBold;
TbPW.Foreground = new SolidColorBrush(Colors.Black);
TbPW.Background = new SolidColorBrush(Colors.Transparent);
TbPW.VerticalAlignment = VerticalAlignment.Top;
TbPW.Height = 70;
TbPW.Tap += TbPW_Tap;
//Show the background color of MyGrid
MyGrid.Background = new SolidColorBrush(Colors.Blue);
// Create Row for Username Textblock
RowDefinition gridRow0 = new RowDefinition();
gridRow0.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow0);
// Create Row for Username
RowDefinition gridRow1 = new RowDefinition();
gridRow1.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow1);
//create row for password Textblock
RowDefinition gridRow2a = new RowDefinition();
gridRow2a.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow2a);
//create row for password
RowDefinition gridRow2 = new RowDefinition();
gridRow2.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow2);
//create row for << Sign In >>
RowDefinition gridRow3 = new RowDefinition();
gridRow3.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow3);
//create row for << Sign Up >>
RowDefinition gridRow4 = new RowDefinition();
gridRow4.Height = new GridLength(120);
MyGrid.RowDefinitions.Add(gridRow4);
Grid.SetRow(un, 0);
Grid.SetColumn(un, 0);
Grid.SetRow(TbUN, 1);
Grid.SetColumn(TbUN, 0);
Grid.SetRow(pw, 2);
Grid.SetColumn(pw, 0);
Grid.SetRow(TbPW, 3);
Grid.SetColumn(TbPW, 0);
Grid.SetRow(BtnSignIn, 4);
Grid.SetColumn(BtnSignIn, 0);
Grid.SetRow(BtnSignUp, 5);
Grid.SetColumn(BtnSignUp, 0);
MyGrid.Children.Add(un);
MyGrid.Children.Add(TbUN);
MyGrid.Children.Add(pw);
MyGrid.Children.Add(TbPW);
MyGrid.Children.Add(BtnSignIn);
MyGrid.Children.Add(BtnSignUp);
private void SignUp_Tab(object sender, RoutedEventArgs e)
MessageBox.Show("Welcome to Sign up.\n\nYou need 3 things to create an account:\n1. A unique Case-Sensitive Username. ex 'iClips' is not the same as 'Iclips'\n2. A password to secure you account. \n3. A profile photo for easy recognition.\nThank you.");
// remove all elements inside sign grid
for (int index = MyGrid.Children.Count - 1; index >= 0; index--)
MyGrid.Children.RemoveAt(index);
//repopulate grid with Sign Up elements
//create title
title = new TextBlock();
title.Text = "--- Sign Up 1/2 ---";
title.VerticalAlignment = VerticalAlignment.Top;
title.HorizontalAlignment = HorizontalAlignment.Center;
//field for Username
TbUN = new TextBox();
TbUN.Opacity = 0.5;
TbUN.Text = "Username";
TbUN.FontSize = 16;
TbUN.FontWeight = FontWeights.ExtraBold;
TbUN.Foreground = new SolidColorBrush(Colors.Black);
TbUN.Background = new SolidColorBrush(Colors.Transparent);
TbUN.VerticalAlignment = VerticalAlignment.Top;
TbUN.Height = 70;
TbUN.Tap += TbUN_Tap;
//field for Password
TbPW = new TextBox();
TbPW.Opacity = 0.5;
TbPW.Text = "Password";
TbPW.FontSize = 16;
TbPW.FontWeight = FontWeights.ExtraBold;
TbPW.Foreground = new SolidColorBrush(Colors.Black);
TbPW.Background = new SolidColorBrush(Colors.Transparent);
TbPW.VerticalAlignment = VerticalAlignment.Top;
TbPW.Height = 70;
TbPW.Tap += TbPW_Tap;
//field Confirm for Password
TbCPW = new TextBox();
TbCPW.Opacity = 0.5;
TbCPW.Text = "Confirm Password";
TbCPW.FontSize = 16;
TbCPW.FontWeight = FontWeights.ExtraBold;
TbCPW.Foreground = new SolidColorBrush(Colors.Black);
TbCPW.Background = new SolidColorBrush(Colors.Transparent);
TbCPW.VerticalAlignment = VerticalAlignment.Top;
TbCPW.Height = 70;
TbCPW.Tap += TbCPW_Tap;
//field for Optional Email
TbEmail = new TextBox();
TbEmail.Opacity = 0.5;
TbEmail.Text = "Email (Optional)";
TbEmail.FontSize = 16;
TbEmail.FontWeight = FontWeights.ExtraBold;
TbEmail.Foreground = new SolidColorBrush(Colors.Black);
TbEmail.Background = new SolidColorBrush(Colors.Transparent);
TbEmail.VerticalAlignment = VerticalAlignment.Top;
TbEmail.Height = 70;
TbEmail.Tap += TbEmail_Tap;
HyperlinkButton BtnGoBack = new HyperlinkButton();
BtnGoBack.Content = "<< Go Back ";
BtnGoBack.Click += new RoutedEventHandler(BtnGoBack_Tab);
BtnGoBack.VerticalAlignment = VerticalAlignment.Bottom;
BtnSignUpSubmit = new HyperlinkButton();
BtnSignUpSubmit.Content = "<< Sign Up >>";
BtnSignUpSubmit.Click += new RoutedEventHandler(BtnSignUpSubmit_Tab);
BtnSignUpSubmit.VerticalAlignment = VerticalAlignment.Bottom;
// Create Row for title
RowDefinition gridRow0 = new RowDefinition();
gridRow0.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow0);
// Create Row for Username
RowDefinition gridRow1 = new RowDefinition();
gridRow1.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow1);
//create row for password Textblock
RowDefinition gridRow2a = new RowDefinition();
gridRow2a.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow2a);
//create row for Confirm password
RowDefinition gridRow2 = new RowDefinition();
gridRow2.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow2);
//create row for email
RowDefinition gridRow3 = new RowDefinition();
gridRow3.Height = new GridLength(60);
MyGrid.RowDefinitions.Add(gridRow3);
//create row for << Sign Up >>
RowDefinition gridRow4 = new RowDefinition();
gridRow4.Height = new GridLength(120);
MyGrid.RowDefinitions.Add(gridRow4);
//create row for << Go Back >>
RowDefinition gridRow5 = new RowDefinition();
gridRow5.Height = new GridLength(120);
MyGrid.RowDefinitions.Add(gridRow5);
Grid.SetRow(title, 0);
Grid.SetColumn(title, 0);
Grid.SetRow(TbUN, 1);
Grid.SetColumn(TbUN, 0);
Grid.SetRow(TbPW, 2);
Grid.SetColumn(TbPW, 0);
Grid.SetRow(TbCPW, 3);
Grid.SetColumn(TbCPW, 0);
Grid.SetRow(TbEmail, 4);
Grid.SetColumn(TbEmail, 0);
Grid.SetRow(BtnSignUpSubmit, 5);
Grid.SetColumn(BtnSignUpSubmit, 0);
Grid.SetRow(BtnGoBack, 6);
Grid.SetColumn(BtnGoBack, 0);
MyGrid.Children.Add(title);
MyGrid.Children.Add(TbUN);
MyGrid.Children.Add(TbPW);
MyGrid.Children.Add(TbCPW);
MyGrid.Children.Add(TbEmail);
MyGrid.Children.Add(BtnSignUpSubmit);
MyGrid.Children.Add(BtnGoBack);
BtnSignUp.Content = "<< Sign Up >>";
private bool IsUsernameValid(string str)
int d;
if (str.Length > 30)
MessageBox.Show("You may only use a maximum of 30 characters for your Username.\nThank you.");
return false;
for (d = 0; d < str.Length; d++)
if (str.Contains("~") || str.Contains("!") || str.Contains("@") || str.Contains("$")
|| str.Contains("#") || str.Contains("%") || str.Contains("|") || str.Contains("_"))
MessageBox.Show("Your Username may not contain any of the follwing characters: \n~ ! @ # $ % | _\nThank you.");
return false;
return true;
private void BtnSignUpSubmit_Tab(object sender, RoutedEventArgs e)
//show error if Username == Username
if (TbUN.Text.ToString() == "Username")
MessageBox.Show("You must fill in your Username in the Username textbox.\nThank you.");
return;
//make sure all fields are filled in
if (TbUN.Text.ToString() == "" || TbPW.Text.ToString() == "" || TbCPW.Text.ToString() == "")
MessageBox.Show("All fields must be filled in.\nThank you.");
return;
//make sure Password is the same as Confirm Password
if (TbPW.Text.CompareTo(TbCPW.Text) != 0)
MessageBox.Show("Your Password should be the same as Confirm Password.\nThank you.");
return;
//make sure Username contains valid characters
bool bValid = IsUsernameValid(TbUN.Text);
if (bValid)
bSignUp = true;
//disable textboxes
TbUN.IsEnabled = false;
TbPW.IsEnabled = false;
TbCPW.IsEnabled = false;
TbEmail.IsEnabled = false;
BtnSignUpSubmit.IsEnabled = false;
title.Text = "requesting...";
//make Post request top-server
//add parameters
string data = "username="+TbUN.Text+"&Password="+TbPW.Text;
if(TbEmail.Text.Contains("@") && TbEmail.Text.Contains("."))
data += "&email=" + TbEmail.Text;
System.Uri URL = new Uri("http://www.iclips.co.za/RegisterUsernameAndPassword.php");
WebRequest webRequest = WebRequest.Create(URL);
webRequest.Method = "POST";
webRequest.ContentType = "application/x-www-form-urlencoded";
webRequest.ContentLength = data.Length;
//we first obtain an input stream to which to write the body of the HTTP POST
webRequest.BeginGetRequestStream((IAsyncResult result) =>
HttpWebRequest preq = result.AsyncState as HttpWebRequest;
if (preq != null)
Stream postStream = preq.EndGetRequestStream(result);
//guess one could just accept a byte[] [via function argument] for arbitrary data types - images, audio,...
byte[] dataStream = Encoding.UTF8.GetBytes(data);
postStream.Write(dataStream, 0, dataStream.Length);
postStream.Close();
//we can then finalize the request...
preq.BeginGetResponse((IAsyncResult final_result) =>
HttpWebRequest req = final_result.AsyncState as HttpWebRequest;
if (req != null)
try
//we call the success callback as long as we get a response stream
WebResponse response = req.EndGetResponse(final_result);
success_callback(response.GetResponseStream());
catch (WebException we)
//otherwise call the error/failure callback
error_callback(we.Message);
return;
}, preq);
}, URL);
private void error_callback(string p)
if (bSignUp)
bSignUp = false;
// Show error message
MessageBox.Show("Connection Error!\n\n" + p);
//enable input
//disable textboxes
TbUN.IsEnabled = true;
TbPW.IsEnabled = true;
TbCPW.IsEnabled = true;
TbEmail.IsEnabled = true;
BtnSignUpSubmit.IsEnabled = false;
title.Text = "try again";
private void success_callback(Stream stream)
if (bSignUp)
bSignUp = false;
// Open the stream using a StreamReader for easy access.
StreamReader reader = new StreamReader(stream);
// Read the content.
string response = reader.ReadToEnd();
// Display the content.
MessageBox.Show(response);
// Clean up the streams.
reader.Close();
private void BtnGoBack_Tab(object sender, RoutedEventArgs e)
SignIn();
private void TbEmail_Tap(object sender, System.Windows.Input.GestureEventArgs e)
TbEmail.SelectAll();
private void TbCPW_Tap(object sender, System.Windows.Input.GestureEventArgs e)
TbCPW.SelectAll();
private void SignIn_Tab(object sender, RoutedEventArgs e)
if (TbUN.Text.ToString() == "" || TbPW.Text.ToString() == "")
MessageBox.Show("Your Username or Password cannot be empty.\nThank you.");
return;
private void TbUN_Tap(object sender, System.Windows.Input.GestureEventArgs e)
TbUN.SelectAll();
un.Text = "Usernames are Case-Sensitive.\n'Iclips' is not the same as 'iClips'.";
private void TbPW_Tap(object sender, System.Windows.Input.GestureEventArgs e)
TbPW.SelectAll();
protected override void OnNavigatedTo(NavigationEventArgs e)
base.OnNavigatedTo(e);
// Initialize the video recorder.
InitializeVideoRecorder();
CameraButtons.ShutterKeyHalfPressed += OnButtonHalfPress;
// The event is fired when the shutter button receives a full press.
CameraButtons.ShutterKeyPressed += OnButtonFullPress;
// The event is fired when the shutter button is released.
CameraButtons.ShutterKeyReleased += OnButtonRelease;
protected override void OnNavigatedFrom(NavigationEventArgs e)
// Dispose of camera and media objects.
DisposeVideoPlayer();
DisposeVideoRecorder();
base.OnNavigatedFrom(e);
CameraButtons.ShutterKeyHalfPressed -= OnButtonHalfPress;
CameraButtons.ShutterKeyPressed -= OnButtonFullPress;
CameraButtons.ShutterKeyReleased -= OnButtonRelease;
// Ensure that the viewfinder is upright in LandscapeRight.
protected override void OnOrientationChanged(OrientationChangedEventArgs e)
if (vcDevice != null)
if (e.Orientation == PageOrientation.LandscapeLeft)
txtDebug.Text = "LandscapeLeft";
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 90 };
//rotate logo
if (logo != null)
RotateTransform rt = new RotateTransform();
rt.Angle = 90;
//default rotation is around top left corner of the control,
//but you sometimes want to rotate around the center of the control
//to do that, you need to set the RenderTransFormOrigin
//of the item you're going to rotate
//I did not test this approach, maybe You're going to need to use actual coordinates
//so this bit is for information purposes only
logo.RenderTransformOrigin = new Point(0.5, 0.5);
logo.RenderTransform = rt;
//rotate sign in link
if (MyGrid != null)
RotateTransform rt = new RotateTransform();
rt.Angle = 90;
//default rotation is around top left corner of the control,
//but you sometimes want to rotate around the center of the control
//to do that, you need to set the RenderTransFormOrigin
//of the item you're going to rotate
//I did not test this approach, maybe You're going to need to use actual coordinates
//so this bit is for information purposes only
MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
MyGrid.RenderTransform = rt;
if (e.Orientation == PageOrientation.PortraitUp)
txtDebug.Text = "PortraitUp";
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 0 };
//rotate logo
if (logo != null)
RotateTransform rt = new RotateTransform();
rt.Angle = 0;
//default rotation is around top left corner of the control,
//but you sometimes want to rotate around the center of the control
//to do that, you need to set the RenderTransFormOrigin
//of the item you're going to rotate
//I did not test this approach, maybe You're going to need to use actual coordinates
//so this bit is for information purposes only
logo.RenderTransformOrigin = new Point(0.5, 0.5);
logo.RenderTransform = rt;
//rotate sign in link
if (MyGrid != null)
RotateTransform rt = new RotateTransform();
rt.Angle = 0;
//default rotation is around top left corner of the control,
//but you sometimes want to rotate around the center of the control
//to do that, you need to set the RenderTransFormOrigin
//of the item you're going to rotate
//I did not test this approach, maybe You're going to need to use actual coordinates
//so this bit is for information purposes only
MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
MyGrid.RenderTransform = rt;
if (e.Orientation == PageOrientation.LandscapeRight)
txtDebug.Text = "LandscapeRight";
// Rotate for LandscapeRight orientation.
//videoRecorderBrush.RelativeTransform =
//new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 180 };
//rotate logo
if (logo != null)
RotateTransform rt = new RotateTransform();
rt.Angle = -90;
//default rotation is around top left corner of the control,
//but you sometimes want to rotate around the center of the control
//to do that, you need to set the RenderTransFormOrigin
//of the item you're going to rotate
//I did not test this approach, maybe You're going to need to use actual coordinates
//so this bit is for information purposes only
logo.RenderTransformOrigin = new Point(0.5, 0.5);
logo.RenderTransform = rt;
//rotate sign in link
if (MyGrid != null)
RotateTransform rt = new RotateTransform();
rt.Angle = -90;
//default rotation is around top left corner of the control,
//but you sometimes want to rotate around the center of the control
//to do that, you need to set the RenderTransFormOrigin
//of the item you're going to rotate
//I did not test this approach, maybe You're going to need to use actual coordinates
//so this bit is for information purposes only
MyGrid.RenderTransformOrigin = new Point(0.5, 0.5);
MyGrid.RenderTransform = rt;
if (e.Orientation == PageOrientation.PortraitDown)
txtDebug.Text = "PortraitDown";
videoRecorderBrush.RelativeTransform =
new CompositeTransform() { CenterX = 0.5, CenterY = 0.5, Rotation = 270 };
// Provide auto-focus with a half button press using the hardware shutter button.
private void OnButtonHalfPress(object sender, EventArgs e)
// Focus when a capture is not in progress.
try
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "Half Button Press: Auto Focus";
catch (Exception focusError)
// Cannot focus when a capture is in progress.
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = focusError.Message;
// Capture the image with a full button press using the hardware shutter button.
private void OnButtonFullPress(object sender, EventArgs e)
// Focus when a capture is not in progress.
try
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "Full Button Press: Auto Focus";
catch (Exception focusError)
// Cannot focus when a capture is in progress.
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = focusError.Message;
// Cancel the focus if the half button press is released using the hardware shutter button.
private void OnButtonRelease(object sender, EventArgs e)
try
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "Shutter is released: Auto Focus";
catch (Exception focusError)
// Cannot focus when a capture is in progress.
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = focusError.Message;
// Update the buttons and text on the UI thread based on app state.
private void UpdateUI(ButtonState currentButtonState, string statusMessage)
// Run code on the UI thread.
Dispatcher.BeginInvoke(delegate
switch (currentButtonState)
// When the camera is not supported by the phone.
case ButtonState.CameraNotSupported:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = false;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = false;
break;
// First launch of the application, so no video is available.
case ButtonState.Initialized:
StartRecording.IsEnabled = true;
StopPlaybackRecording.IsEnabled = false;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = false;
break;
// Ready to record, so video is available for viewing.
case ButtonState.Ready:
StartRecording.IsEnabled = true;
StopPlaybackRecording.IsEnabled = false;
StartPlayback.IsEnabled = true;
PausePlayback.IsEnabled = false;
break;
// Video recording is in progress.
case ButtonState.Recording:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = true;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = false;
break;
// Video playback is in progress.
case ButtonState.Playback:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = true;
StartPlayback.IsEnabled = false;
PausePlayback.IsEnabled = true;
break;
// Video playback has been paused.
case ButtonState.Paused:
StartRecording.IsEnabled = false;
StopPlaybackRecording.IsEnabled = true;
StartPlayback.IsEnabled = true;
PausePlayback.IsEnabled = false;
break;
default:
break;
// Display a message.
txtDebug.Text = statusMessage;
// Note the current application state.
currentAppState = currentButtonState;
public void InitializeVideoRecorder()
if (captureSource == null)
// Create the VideoRecorder objects.
captureSource = new CaptureSource();
fileSink = new FileSink();
vcDevice = CaptureDeviceConfiguration.GetDefaultVideoCaptureDevice();
// Add eventhandlers for captureSource.
captureSource.CaptureFailed += new EventHandler<ExceptionRoutedEventArgs>(OnCaptureFailed);
// Initialize the camera if it exists on the phone.
if (vcDevice != null)
// Create the VideoBrush for the viewfinder.
videoRecorderBrush = new VideoBrush();
videoRecorderBrush.SetSource(captureSource);
// Display the viewfinder image on the rectangle.
viewfinderRectangle.Fill = videoRecorderBrush;
// Start video capture and display it on the viewfinder.
captureSource.Start();
// Set the button state and the message.
UpdateUI(ButtonState.Initialized, "Tap record to start recording...");
else
// Disable buttons when the camera is not supported by the phone.
UpdateUI(ButtonState.CameraNotSupported, "A camera is not supported on this phone.");
// Set recording state: start recording.
private void StartVideoRecording()
try
// Connect fileSink to captureSource.
if (captureSource.VideoCaptureDevice != null
&& captureSource.State == CaptureState.Started)
captureSource.Stop();
// Connect the input and output of fileSink.
fileSink.CaptureSource = captureSource;
fileSink.IsolatedStorageFileName = isoVideoFileName;
// Begin recording.
if (captureSource.VideoCaptureDevice != null
&& captureSource.State == CaptureState.Stopped)
captureSource.Start();
// Set the button states and the message.
UpdateUI(ButtonState.Recording, "Recording...");
StartTimer();
// If recording fails, display an error.
catch (Exception e)
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "ERROR: " + e.Message.ToString();
//start the timer
private void StartTimer()
dispatcherTimer = new System.Windows.Threading.DispatcherTimer();
dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick);
dispatcherTimer.Interval = new TimeSpan(0, 0, 1);
dispatcherTimer.Start();
startTime = System.DateTime.Now;
private void StopTimer()
dispatcherTimer.Stop();
private void dispatcherTimer_Tick(object sender, EventArgs e)
System.DateTime now = System.DateTime.Now;
txtRecTime.Text = now.Subtract(startTime).ToString();
// Set the recording state: stop recording.
private void StopVideoRecording()
try
// Stop recording.
if (captureSource.VideoCaptureDevice != null
&& captureSource.State == CaptureState.Started)
captureSource.Stop();
// Disconnect fileSink.
fileSink.CaptureSource = null;
fileSink.IsolatedStorageFileName = null;
// Set the button states and the message.
UpdateUI(ButtonState.Stopped, "Preparing viewfinder...");
StopTimer();
StartVideoPreview();
// If stop fails, display an error.
catch (Exception e)
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "ERROR: " + e.Message.ToString();
// Set the recording state: display the video on the viewfinder.
private void StartVideoPreview()
try
// Display the video on the viewfinder.
if (captureSource.VideoCaptureDevice != null
&& captureSource.State == CaptureState.Stopped)
// Add captureSource to videoBrush.
videoRecorderBrush.SetSource(captureSource);
// Add videoBrush to the visual tree.
viewfinderRectangle.Fill = videoRecorderBrush;
captureSource.Start();
// Set the button states and the message.
UpdateUI(ButtonState.Ready, "Ready to record.");
// If preview fails, display an error.
catch (Exception e)
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "ERROR: " + e.Message.ToString();
// Start the video recording.
private void StartRecording_Click(object sender, EventArgs e)
// Avoid duplicate taps.
StartRecording.IsEnabled = false;
StartVideoRecording();
// Handle stop requests.
private void StopPlaybackRecording_Click(object sender, EventArgs e)
// Avoid duplicate taps.
StopPlaybackRecording.IsEnabled = false;
// Stop during video recording.
if (currentAppState == ButtonState.Recording)
StopVideoRecording();
// Set the button state and the message.
UpdateUI(ButtonState.NoChange, "Recording stopped.");
// Stop during video playback.
else
// Remove playback objects.
DisposeVideoPlayer();
StartVideoPreview();
// Set the button state and the message.
UpdateUI(ButtonState.NoChange, "Playback stopped.");
// Start video playback.
private void StartPlayback_Click(object sender, EventArgs e)
// Avoid duplicate taps.
StartPlayback.IsEnabled = false;
// Start video playback when the file stream exists.
if (isoVideoFile != null)
VideoPlayer.Play();
// Start the video for the first time.
else
// Stop the capture source.
captureSource.Stop();
// Remove VideoBrush from the tree.
viewfinderRectangle.Fill = null;
// Create the file stream and attach it to the MediaElement.
isoVideoFile = new IsolatedStorageFileStream(isoVideoFileName,
FileMode.Open, FileAccess.Read,
IsolatedStorageFile.GetUserStoreForApplication());
VideoPlayer.SetSource(isoVideoFile);
// Add an event handler for the end of playback.
VideoPlayer.MediaEnded += new RoutedEventHandler(VideoPlayerMediaEnded);
// Start video playback.
VideoPlayer.Play();
// Set the button state and the message.
UpdateUI(ButtonState.Playback, "Playback started.");
// Pause video playback.
private void PausePlayback_Click(object sender, EventArgs e)
// Avoid duplicate taps.
PausePlayback.IsEnabled = false;
// If mediaElement exists, pause playback.
if (VideoPlayer != null)
VideoPlayer.Pause();
// Set the button state and the message.
UpdateUI(ButtonState.Paused, "Playback paused.");
private void DisposeVideoPlayer()
if (VideoPlayer != null)
// Stop the VideoPlayer MediaElement.
VideoPlayer.Stop();
// Remove playback objects.
VideoPlayer.Source = null;
isoVideoFile = null;
// Remove the event handler.
VideoPlayer.MediaEnded -= VideoPlayerMediaEnded;
private void DisposeVideoRecorder()
if (captureSource != null)
// Stop captureSource if it is running.
if (captureSource.VideoCaptureDevice != null
&& captureSource.State == CaptureState.Started)
captureSource.Stop();
// Remove the event handler for captureSource.
captureSource.CaptureFailed -= OnCaptureFailed;
// Remove the video recording objects.
captureSource = null;
vcDevice = null;
fileSink = null;
videoRecorderBrush = null;
// If recording fails, display an error message.
private void OnCaptureFailed(object sender, ExceptionRoutedEventArgs e)
this.Dispatcher.BeginInvoke(delegate()
txtDebug.Text = "ERROR: " + e.ErrorException.Message.ToString();
// Display the viewfinder when playback ends.
public void VideoPlayerMediaEnded(object sender, RoutedEventArgs e)
// Remove the playback objects.
DisposeVideoPlayer();
StartVideoPreview();
public void SetScreenResolution()
w = Application.Current.Host.Content.ActualWidth;
h = Application.Current.Host.Content.ActualHeight;
setResViewF(w, h);
public void setResViewF(double width, double height)
viewfinderRectangle.Width = width;
viewfinderRectangle.Height = height;
resMI.Content = "resolution: " + width + "*" + height;
private void resMI_Click(object sender, RoutedEventArgs e)
switch (resMI.Content.ToString())
case "resolution: 176*220":
setResViewF(240, 320);
break;
case "resolution: 240*320":
setResViewF(360, 480);
break;
case "resolution: 360*480":
setResViewF(480, 800);
break;
case "resolution: 480*800":
setResViewF(1440, 720);
break;
case "resolution: 1440*720":
setResViewF(1920, 1080);
break;
case "resolution: 1920*1080":
setResViewF(176, 220);
break;
default:
setResViewF(176, 220);
break;
public void WriteToFile(string key, string value)
var Iso_settings = System.IO.IsolatedStorage.IsolatedStorageSettings.ApplicationSettings;
if (!Iso_settings.Contains(key))
Iso_settings.Add(key, value);
Iso_settings.Save();//This will save your data in isolated storage.
public string ReadFromFile(string key)
var Iso_settings = System.IO.IsolatedStorage.IsolatedStorageSettings.ApplicationSettings;
if (Iso_settings.Contains(key))
return (string)Iso_settings[key];
else
return null;
public DispatcherTimer dispatcherTimer { get; set; }
private void ToggleZoom(MediaElement media)
if (media.Stretch != Stretch.UniformToFill)
// zoom
media.Stretch = Stretch.UniformToFill;
else
// unzoom
media.Stretch = Stretch.Uniform;
BtnSignUpSubmit_Tab is the HyperLinkButton that would trigger the web request process. I need this code to work perfectly because a lot of people will use this. If you can simplify the http web request that already feels so good. Thank you. -
Save Interactive PDF Form as static form
I have an Interactive form in a Web Dynpro page. I fill in out, hit submit, it creates a PDF file on the server. This is great but when I open up the PDf that got created, it is still editable. How do I make Web Dynpro create a static or non-editable form from the filled-in form.
hope it's possible and someone knows how to do this. thanksThanks for your suggestion. I already thought of it and was going that way until I found the "Sign & Lock" element that Markus mentioned (Re: Load PDF as template source for interactive forms based on given filena) in the Web Dynpro tab in Livecycle Designer.
I spent a long time looking for it. I have 4-5 machines with NWDS and Designer installed but only one of them has it. I don't know why this is the case. But luckily I could copy that element from that open machine and put in the others. If you dont have it on your machine, you should probably contact SAP or something.
Basically what the "sign & lock" element is a signature field with a builtin javascript snippet that locks all the fields in the form except signature fields once signed. Digital signatures aren't really ready to be used with ADS and Web Dynpro at the moment according to the thread Markus replied (see link above). I recommend not using digital signatures if your interactive form needs to be worked on multiple times. -
Axis receiver - WS-SECURITY problem
Hi all,
we need consume 3th party web service through AXIS adapter. This communication must be secured by certificate. We have imported certificate into keystore. Therefore there are needed WS-addressing and WS-security for SOAP request. We need use UsernameToken Timestamp and next sign following element in SOAP envelope: s:Body, o:UsernameToken, u:Timestamp, a:Action, a:ReplyTo, a:MessageID, a:To. Now we are able add UsernameToken, Timestamp and action addresing by adding modules in AXIS adapter. But we have problem sign needed elements.
Now we have following SOAP request
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="true">
<wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-24">
<wsu:Created>2010-12-23T16:27:30.889Z</wsu:Created>
<wsu:Expires>2010-12-23T16:32:30.889Z</wsu:Expires>
</wsu:Timestamp>
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-23">
<wsse:Username>user</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Apassword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
<wsa:MessageID soapenv:mustUnderstand="false">uuid:8a0e7b40-0eb1-11e0-97ac-8e95546643d1</wsa:MessageID>
<wsa:To soapenv:mustUnderstand="false">http://www.test.iszo.sk/interfaces/MeasuredValues/Service.svc</wsa:To>
<wsa:Action soapenv:mustUnderstand="false">http://sfera.sk/ws/xmtrade/iszo/measuredvalues/services/2008/11/01/MeasuredValuesContract/Upload</wsa:Action>
<wsa:From xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" soapenv:mustUnderstand="false">
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:From>
</soapenv:Header>
<soapenv:Body>
But we need also add Security token to SOAP request to sign needed elements (body, UsernameToken, Timestamp, etc.) as follow:
<soap:Envelope xmlns:ns="http://sfera.sk/ws/xmtrade/iszo/measuredvalues/services/2008/11/01" xmlns:ns1="http://sfera.sk/ws/xmtrade/iszo/common/types/espv1r1/2008/11/01" xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-17206535">MIIEgDCCA .... FJSC+w==</wsse:BinarySecurityToken>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-12725597">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#UsernameToken-23996530">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>TFzBLZTL5JrDmMJFc2FyJZnVJ3Q=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#Timestamp-12575106">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>7/RY2vugAOvUkBK8PH8zELTUCPI=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-21926836">
<ds:Transforms>
Have anybody some idea or example to resolution this issue? Thanks a lot for your answers.
Regards, ZoloHello Zolo, I hope you are doing wellu2026
Iu2019m sending you some info that might help you with this matter.
1)
Please check:
Advanced usage questions
1. How can I enable the WS-Security features?
Of note below:
1039369 - FAQ XI Axis Adapter
2)
Please test the SSL connection with "https://<servername>:<SSL port>".
If SSL is configured correctly, then the SAP J2EE Engineu2019s start page appears in your Web browser.
There shouldnu2019t be any "Security Alert" or warnings related with security.
3)
Please check the links below to gather further info in how to set up this scenario with certificates.
(The below links are for 7.1 systems, if you are on 7.0, just change /saphelp_nwpi71/ by /saphelp_nw70/).
Axis Framework in the SOAP adapter
http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
Message-Level Security
http://help.sap.com/saphelp_nwpi71/helpdata/EN/a8/882a40ce93185de1000000
0a1550b0/frameset.htm
Security Configuration at Message Level
http://help.sap.com/saphelp_nwpi71/helpdata/EN/ea/c91141e109ef6fe1000000
0a1550b0/frameset.htm
HTTPS Configuration for Messaging
http://help.sap.com/saphelp_nwpi71/helpdata/EN/e8/1f1041a0f6f16fe1000000
0a1550b0/frameset.htm
4) go to:
http://host:port/XIAxisAdapter/MessageServlet
The page will display the versions of the deployed components, whether the required libraries are also deployed and if Axis adapter was successfully deployed in the system.
For more specific scenarios, e.g., WS-Security, WS-ReliableMessaging, it is also necessary to have the relevant optional components deployed. The page should show status OK when all the required components are available and otherwise status Error.
Cheers,
Jorge Eidelwein
Maybe you are looking for
-
how would i put my iPod Touch in recovery mode if the screen says''iPod is disabled connect to iTunes
-
Wrong reco account in D/P request F-47
Hi support, when posting down payment request to group vendor XXXXXX using T-Code F-47, the system derives a wrong reconciliation account. It derives YYYYY instead of the statistical class 9 account 900044. The wrong derivation happens after entering
-
Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?
We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database. I have see
-
CS3 Help menu opens after every command
I have a user that every time they finish a command like create a new document or rotate and object the help menu opens. This interrupts their workflow since you have to click off the menu before continuing. I have tried deleting the preferences but
-
ok. my ipod mini is not updating all my songs. it says i have like 47 when i really have 404 in my library. the 47 songs are in my ipod. but i clicked update ipod. and it doesnt update it. i really need help quick. !!!!!!!!!! email me at [email prote