Closed rohitCodeBuddy closed 1 year ago
Hi @rohitCodeBuddy,
Please can you attach the collection that you are trying to convert? Without any info we cannot help.
Best regards
@joolfe here is the json
{
"item": [
{
"id": "11d8f789-032e-42da-b373-f53236020ba3",
"name": "MembershipSoap",
"description": { "content": "", "type": "text/plain" },
"item": [
{
"id": "878c29be-4aaa-4209-948a-e6e4ab540c46",
"name": "ChangePassword",
"request": {
"description": { "content": "", "type": "text/plain" },
"url": {
"path": [
"desktopmodules",
"telispire.webservices",
"membership.asmx"
],
"host": ["{{MembershipSoapBaseUrl}}"],
"query": [],
"variable": []
},
"header": [
{ "key": "Content-Type", "value": "text/xml; charset=utf-8" },
{
"key": "SOAPAction",
"value": "http://tempuri.org/ChangePassword"
}
],
"method": "POST",
"body": {
"mode": "raw",
"raw": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <ChangePassword xmlns=\"http://tempuri.org/\">\n <username>string</username>\n <password>string</password>\n <newPassword>string</newPassword>\n </ChangePassword>\n </soap:Body>\n</soap:Envelope>\n",
"options": { "raw": { "language": "xml" } }
}
},
"response": [
{
"id": "10bb9df0-25ca-40f2-a9ad-eb09b13fee1b",
"name": "ChangePassword response",
"originalRequest": {
"url": {
"protocol": "https",
"path": [
"desktopmodules",
"telispire.webservices",
"membership.asmx"
],
"host": ["wirelessprovisioning", "com"],
"query": [],
"variable": []
},
"header": [
{ "key": "Content-Type", "value": "text/xml; charset=utf-8" },
{
"key": "SOAPAction",
"value": "http://tempuri.org/ChangePassword"
}
],
"method": "POST",
"body": {
"mode": "raw",
"raw": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <ChangePassword xmlns=\"http://tempuri.org/\">\n <username>string</username>\n <password>string</password>\n <newPassword>string</newPassword>\n </ChangePassword>\n </soap:Body>\n</soap:Envelope>\n",
"options": { "raw": { "language": "xml" } }
}
},
"status": "OK",
"code": 200,
"header": [
{ "key": "Content-Type", "value": "text/xml; charset=utf-8" }
],
"body": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <soap:Body>\n <ChangePasswordResponse xmlns=\"http://tempuri.org/\">\n <hasError>true</hasError>\n <errorMessage>string</errorMessage>\n <passwordExpires>2022-08-29T11:03:23.127Z</passwordExpires>\n </ChangePasswordResponse>\n </soap:Body>\n</soap:Envelope>\n",
"cookie": [],
"_postman_previewlanguage": "xml"
}
],
"event": []
}
],
"event": []
},
{
"id": "e6315a14-e785-4ba8-878d-7202505fde36",
"name": "MembershipSoap12",
"description": { "content": "", "type": "text/plain" },
"item": [
{
"id": "63db1b63-08d9-4496-9ad3-ec23075a158a",
"name": "ChangePassword",
"request": {
"description": { "content": "", "type": "text/plain" },
"url": {
"path": [
"desktopmodules",
"telispire.webservices",
"membership.asmx"
],
"host": ["{{MembershipSoap12BaseUrl}}"],
"query": [],
"variable": []
},
"header": [
{ "key": "Content-Type", "value": "text/xml; charset=utf-8" },
{
"key": "SOAPAction",
"value": "http://tempuri.org/ChangePassword"
}
],
"method": "POST",
"body": {
"mode": "raw",
"raw": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap12:Envelope xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">\n <soap12:Body>\n <ChangePassword xmlns=\"http://tempuri.org/\">\n <username>string</username>\n <password>string</password>\n <newPassword>string</newPassword>\n </ChangePassword>\n </soap12:Body>\n</soap12:Envelope>\n",
"options": { "raw": { "language": "xml" } }
}
},
"response": [
{
"id": "d64dcc63-61e1-4206-94b4-a7cb95ce3646",
"name": "ChangePassword response",
"originalRequest": {
"url": {
"protocol": "https",
"path": [
"desktopmodules",
"telispire.webservices",
"membership.asmx"
],
"host": ["wirelessprovisioning", "com"],
"query": [],
"variable": []
},
"header": [
{ "key": "Content-Type", "value": "text/xml; charset=utf-8" },
{
"key": "SOAPAction",
"value": "http://tempuri.org/ChangePassword"
}
],
"method": "POST",
"body": {
"mode": "raw",
"raw": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap12:Envelope xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">\n <soap12:Body>\n <ChangePassword xmlns=\"http://tempuri.org/\">\n <username>string</username>\n <password>string</password>\n <newPassword>string</newPassword>\n </ChangePassword>\n </soap12:Body>\n</soap12:Envelope>\n",
"options": { "raw": { "language": "xml" } }
}
},
"status": "OK",
"code": 200,
"header": [
{ "key": "Content-Type", "value": "text/xml; charset=utf-8" }
],
"body": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<soap12:Envelope xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">\n <soap12:Body>\n <ChangePasswordResponse xmlns=\"http://tempuri.org/\">\n <hasError>true</hasError>\n <errorMessage>string</errorMessage>\n <passwordExpires>2022-08-29T11:03:23.132Z</passwordExpires>\n </ChangePasswordResponse>\n </soap12:Body>\n</soap12:Envelope>\n",
"cookie": [],
"_postman_previewlanguage": "xml"
}
],
"event": []
}
],
"event": []
}
],
"event": [],
"variable": [
{
"type": "any",
"value": "https://wirelessprovisioning.com",
"key": "MembershipSoapBaseUrl"
},
{
"type": "any",
"value": "https://wirelessprovisioning.com",
"key": "MembershipSoap12BaseUrl"
}
],
"info": {
"_postman_id": "2aac5946-1c65-40a7-b47c-9bc8371c82ab",
"name": "Membership",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"description": { "content": "\n", "type": "text/plain" }
}
}
Hi @rohitCodeBuddy,
The problem is that this collection seems not valid, in the schema
say that is version v2.1.0
but in the url
item the raw
property is missing.
I have import your collection to postman in last version "v9.30.0" and when ever I export again always add the "raw" property an everything works find, please review your porstamn version and try to export with the latest one.
Best Regards.
I'm unable to parse postman api. However postman app is able to import it.