• 17-03-2026, 17:01:19
    #1
    Merhaba ERP sistemime Sovos entegrasyonunu uyguluyorum test ip ve WS URL bilgileriyle test mod'da ws kullanıcı ve şifre girdiğimde bir türlü giriş yapılamıyor hatalı diyor başka bir olayımı var nerede yanlış yapıyorum bir türlü aklım almadı. Yardımcı olabilecek arkadaşlarım var ise çok sevinirim.
  • 17-03-2026, 17:15:22
    #2
    api isteği sonucunda ne cevap alıyorsun onu yazarsan bir çözüm bulabilirsin.
  • 17-03-2026, 17:28:42
    #3
    mindwalker adlı üyeden alıntı: mesajı görüntüle
    api isteği sonucunda ne cevap alıyorsun onu yazarsan bir çözüm bulabilirsin.
    # Test 1: Portal username/password ile dene
    AUTH1=$(echo -n "" | base64)
    echo "Test 1 - Portal creds: adminuser"
    curl -s -w "\nHTTP:%{http_code}" -X POST \
      -H "Content-Type: text/xml; charset=utf-8" \
      -H "SOAPAction: getPartialUserList" \
      -H "Authorization: Basic $AUTH1" \
      -d '<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ein="http:/fitcons.com/eInvoice/"><soapenv:Header/><soapenv:Body><ein:getPartialUserListRequest><ein:vknTckn>1234567890</ein:vknTckn></ein:getPartialUserListRequest></soapenv:Body></soapenv:Envelope>' \
      "https://efaturawstest.fitbulut.com/ClientEInvoiceServices/ClientEInvoiceServicesPort.svc" 2>&1
    
    echo ""
    echo "---"
    
    # Test 2: CompanyCode olmadan dene
    AUTH2=$(echo -n "" | base64)
    echo "Test 2 - WS creds without company code"
    curl -s -w "\nHTTP:%{http_code}" -X POST \
      -H "Content-Type: text/xml; charset=utf-8" \
      -H "SOAPAction: getPartialUserList" \
      -H "Authorization: Basic $AUTH2" \
      -d '<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ein="http:/fitcons.com/eInvoice/"><soapenv:Header/><soapenv:Body><ein:getPartialUserListRequest><ein:vknTckn>1234567890</ein:vknTckn></ein:getPartialUserListRequest></soapenv:Body></soapenv:Envelope>' \
      "https://efaturawstest.fitbulut.com/ClientEInvoiceServices/ClientEInvoiceServicesPort.svc" 2>&1
    
    echo ""
    echo "---"
    
    # Test 3: Åžifre olduÄŸu gibi (escape yok)
    AUTH3=$(printf '%s' '' | base64)
    echo "Test 3 - Raw password with printf"
    curl -s -w "\nHTTP:%{http_code}" -X POST \
      -H "Content-Type: text/xml; charset=utf-8" \
      -H "SOAPAction: getPartialUserList" \
      -H "Authorization: Basic $AUTH3" \
      -d '<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ein="http:/fitcons.com/eInvoice/"><soapenv:Header/><soapenv:Body><ein:getPartialUserListRequest><ein:vknTckn>1234567890</ein:vknTckn></ein:getPartialUserListRequest></soapenv:Body></soapenv:Envelope>' \
      "https://efaturawstest.fitbulut.com/ClientEInvoiceServices/ClientEInvoiceServicesPort.svc" 2>&1