Prijava poslovnog prostora - Internal server error 500

Jan 5, 2015 at 1:58 PM
Pozdrav, koristim dll na IIS-u od samog početka no danas kada sam htio prijaviti poslovnu jedinicu dobijam uporno grešku Internal server error 500.

Pokušao sam detaljno pregledati xml ali nigdje ne vidim nelogičnost koja bi mi vraćala grešku:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<soapenv:Body>
<tns:PoslovniProstorZahtjev xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="signXmlId" xmlns:tns="http://www.apis-it.hr/fin/2012/types/f73">
  <tns:Zaglavlje>
    <tns:IdPoruke>8c606ff1-cce3-4b31-bd12-be1cbfe583c7</tns:IdPoruke>
    <tns:DatumVrijeme>05.01.2015T14:46:29</tns:DatumVrijeme>
  </tns:Zaglavlje>
  <tns:PoslovniProstor xmlns:tns="http://www.apis-it.hr/fin/2012/types/f73">
    <tns:Oib>22868079871</tns:Oib>
    <tns:OznPoslProstora>POSL1</tns:OznPoslProstora>
    <tns:AdresniPodatak>
      <tns:Adresa>
        <tns:Ulica>Palmoticeva</tns:Ulica>
        <tns:KucniBroj>2</tns:KucniBroj>
        <tns:BrojPoste>31400</tns:BrojPoste>
        <tns:Naselje>Djakovo</tns:Naselje>
        <tns:Opcina>
        </tns:Opcina>
      </tns:Adresa>
    </tns:AdresniPodatak>
    <tns:RadnoVrijeme>8 do 16</tns:RadnoVrijeme>
    <tns:DatumPocetkaPrimjene>05.01.2015</tns:DatumPocetkaPrimjene>
  </tns:PoslovniProstor>
  <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
      <Reference URI="#signXmlId">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
          <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <DigestValue>4q49PgCftvrMfYOh1IuGKbeHf/g=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>zhNA2TTUnwduzHf+06N3xug9SeCj7HlqlInLK92Uwa2CasgRzWfBCyW+9I9mZNtKSqqTLfuBcUFhrj/OtzeYi4DYGzPHPFeeulcEXynzfQNUn72pGi+0gfPjVD6eQ8cA/DMTjmBeSxVBr6reJ2B2qFN+0EeuG37gqX3A1/0OFCiDLUjPSAeo7eap8U2DCXz6lnoPrZhz4Da0rE+VdnVLFrS5BZFmjPQoIvmCPgx7dm83mzMA2bb0hJ/LrYlej6jPODvqr837ECYR8/Vb7TAo9xxlk3S/3pZa3ECzCl9B99bmSRpOgccp6xNzQCTGGfMjSQXmIRTaPCqTu+g63SY+tQ==</SignatureValue>
    <KeyInfo>
      <X509Data>
        <X509IssuerSerial>
          <X509IssuerName>OU=RDC, O=FINA, C=HR</X509IssuerName>
          <X509SerialNumber>1059958956</X509SerialNumber>
        </X509IssuerSerial>
        <X509Certificate>MIIEnDCCA4SgAwIBAgIEPy2wrDANBgkqhkiG9w0BAQUFADAqMQswCQYDVQQGEwJIUjENMAsGA1UEChMERklOQTEMMAoGA1UECxMDUkRDMB4XDTE1MDEwMzE0NDcwNFoXDTIwMDEwMzE1MTcwNFowVjELMAkGA1UEBhMCSFIxIjAgBgNVBAoTGUUtUkFESU9OSUNBIEhSMjI4NjgwNzk4NzExEDAOBgNVBAcMB8SQQUtPVk8xETAPBgNVBAMTCEZJU0tBTCAxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Y+6J7FCVtlBUjfppuLYMGPPFrydMQIYRxHeTzyGig67l4qvcVJTK4TPEFARzj0/uuvKfa9pPXsLj8pX5+/wJWmYR4U0L0J8u4WWiXi8d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dONNY5oDclGOaozYOXY8Lp+a//kCT39TgQbeQUzoqKJTm8iPsa5tlCppPTFcxtx34jJmAjmHJ6FocoPlI2fGwaj37eR5O7aS7iR5mQZqZlfiVoQ=</X509Certificate>
      </X509Data>
    </KeyInfo>
  </Signature>
</tns:PoslovniProstorZahtjev>
</soapenv:Body>
</soapenv:Envelope>

Molim ako netko ima volje da pogleda da li možda negdje visi nekakva greška u xml-u.
Hvala unaprijed.
Jan 5, 2015 at 2:53 PM
Edited Jan 5, 2015 at 2:54 PM
ovako od oka node općina ti nema vrijednost i fali ti node SpecNamjena sa oib-om proizvođača ili sl. softvera.
Jan 6, 2015 at 1:36 AM
Naseleje pusti prazno a Opcina upisi Djakovo i proci ce ti
Jan 8, 2015 at 1:35 PM
Generalno pravilo kod XML-a, ako nema podataka za pojedini node, onda ne treba niti kreirati taj node.
U gornjem primjeru node "Opcina" treba u potpunosti izostaviti iz XML datoteke. Ako se "Djakovo" upise pod opcina, a naselje ostavi prazno (ali je prisutno u XML-u) onda opet neće prolaziti.
Jan 8, 2015 at 2:03 PM
Riješeno.
Problem je bio sa naselje / opcina node-om :)

Zahvaljujem na pomoći!