cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michael.raffenb...@t-online.de (Michael Raffenberg)
Subject Streamgenerator
Date Sat, 20 Apr 2002 12:49:14 GMT
Hi all,

i am working on a service for the RosettaNet PIP2A9.
Is it possible to accept HttpRequests with the following
MIME-Declarations by the StreamGenerator? If not, can you give me some
hints on how to accept these Requests?

MIME-Version: 1.0
Content-type: Multipart/Related; boundary="-------------------------- MIME PART -----------------------"
Content-Description: RosettaNet message


---------------------------- MIME PART ------------------------
Content-type: Application/XML; RNSubType="preamble-header"

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Preamble SYSTEM "PreamblePartMessageGuideline.dtd">
<Preamble>
    <DateTimeStamp>12345</DateTimeStamp>
    <GlobalAdministeringAuthorityCode>RosettaNet</GlobalAdministeringAuthorityCode>
    <GlobalUsageCode>Test</GlobalUsageCode>
    <VersionIdentifier>1.1</VersionIdentifier>
</Preamble>


---------------------------- MIME PART ------------------------
Content-type: Application/XML; RNSubType="service-header"

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ServiceHeader SYSTEM "ServiceHeaderPartMessageGuideline.dtd">
<ServiceHeader>
    <ProcessControl>
        <ProcessIdentity>
            <GlobalProcessCode>Query Electronic Component Technical Information</GlobalProcessCode>
            <GlobalProcessIndicatorCode>2A9</GlobalProcessIndicatorCode>
        </ProcessIdentity>
        <ServiceRoute>
            <fromService>
                <BusinessServiceDescription>
                    <GlobalBusinessServiceCode>Product Information User Service</GlobalBusinessServiceCode>
                </BusinessServiceDescription>
            </fromService>
            <toService>
                <BusinessServiceDescription>
                    <GlobalBusinessServiceCode>Product Information
                        Distributor Service</GlobalBusinessServiceCode>
                </BusinessServiceDescription>
            </toService>
        </ServiceRoute>
        <TransactionControl>
            <AttemptCount>1</AttemptCount>
            <PartnerRoleRoute>
                <fromRole>
                    <PartnerRoleDescription>
                        <GlobalPartnerRoleClassificationCode>Product
                            Information User</GlobalPartnerRoleClassificationCode>
                    </PartnerRoleDescription>
                </fromRole>
                <toRole>
                    <PartnerRoleDescription>
                        <GlobalPartnerRoleClassificationCode>Product
                            Information Distributor</GlobalPartnerRoleClassificationCode>
                    </PartnerRoleDescription>
                </toRole>
            </PartnerRoleRoute>
            <TransactionIdentity>
                <GlobalTransactionCode>Query EC Technical Information</GlobalTransactionCode>
                <InstanceIdentifier>1</InstanceIdentifier>
            </TransactionIdentity>
            <ActionControl>
                <ActionIdentity>
                    <GlobalBusinessActionCode>Technical Information
                        Query Action</GlobalBusinessActionCode>
                    <InstanceIdentifier>1</InstanceIdentifier>
                    <VersionIdentifier>1.1</VersionIdentifier>
                </ActionIdentity>
                <GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode>
                <PartnerRoute>
                    <fromPartner>
                        <PartnerDescription>
                            <BusinessDescription>
                                <GlobalBusinessIdentifier>621911718</GlobalBusinessIdentifier>
                            </BusinessDescription>
                            <GlobalPartnerClassificationCode>End User</GlobalPartnerClassificationCode>
                        </PartnerDescription>
                    </fromPartner>
                    <toPartner>
                        <PartnerDescription>
                            <BusinessDescription>
                                <GlobalBusinessIdentifier>100000003</GlobalBusinessIdentifier>
                            </BusinessDescription>
                            <GlobalPartnerClassificationCode>Distributor</GlobalPartnerClassificationCode>
                        </PartnerDescription>
                    </toPartner>
                </PartnerRoute>
            </ActionControl>
        </TransactionControl>
    </ProcessControl>
</ServiceHeader>


---------------------------- MIME PART ------------------------
Content-type: Application/XML; RNSubType="service-content"

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Pip2A9ECTechnicalInformationQuery PUBLIC "-//Si2/RosettaNet//DTD PIP2A9 1.0 20000820//EN"
                                                   "qd.dtd">
<Pip2A9ECTechnicalInformationQuery>
    <dict.identifier>-//RosettaNet//DICTIONARY EC Technical Dictionary
        20000821 1.1.1</dict.identifier>
    <query max.records="4000" starting.at="0">
        <element dicRef="RNP145">
            <name>Disclaimer</name>
            <value>test</value>
        </element>
        <element>
            <name>RosettaNet Class</name>
            <value>XJA751</value>
        </element>
    </query>
    <fromRole>
        <PartnerRoleDescription>
            <GlobalPartnerRoleClassificationCode>Product Information User</GlobalPartnerRoleClassificationCode>
            <PartnerDescription>
                <GlobalPartnerClassificationCode>End User</GlobalPartnerClassificationCode>
                <BusinessDescription>
                    <GlobalBusinessIdentifier>621911718</GlobalBusinessIdentifier>
                    <GlobalSupplyChainCode>Electronic Components</GlobalSupplyChainCode>
                </BusinessDescription>
            </PartnerDescription>
        </PartnerRoleDescription>
    </fromRole>
    <toRole>
        <PartnerRoleDescription>
            <GlobalPartnerRoleClassificationCode>Product Information Distributor</GlobalPartnerRoleClassificationCode>
            <PartnerDescription>
                <GlobalPartnerClassificationCode>100000003</GlobalPartnerClassificationCode>
                <BusinessDescription>
                    <GlobalBusinessIdentifier>Product Information Distributor</GlobalBusinessIdentifier>
                    <GlobalSupplyChainCode>Electronic Components</GlobalSupplyChainCode>
                </BusinessDescription>
            </PartnerDescription>
        </PartnerRoleDescription>
    </toRole>
    <thisDocumentGenerationDateTime>
        <DateTimeStamp>timeStamp</DateTimeStamp>
    </thisDocumentGenerationDateTime>
    <thisDocumentIdentifier>
        <ProprietaryDocumentIdentifier>unnumbered</ProprietaryDocumentIdentifier>
    </thisDocumentIdentifier>
    <GlobalDocumentFunctionCode>Request</GlobalDocumentFunctionCode>
</Pip2A9ECTechnicalInformationQuery>


---------------------------- MIME PART ------------------------

-- 
Best regards,
 Michael                          mailto:michael.raffenberg@t-online.de



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message