Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After conversion getting error at execution step #7011

Open
PractiseGraphql opened this issue May 23, 2024 · 3 comments
Open

After conversion getting error at execution step #7011

PractiseGraphql opened this issue May 23, 2024 · 3 comments
Assignees

Comments

@PractiseGraphql
Copy link

PractiseGraphql commented May 23, 2024

Hello!

I am using mesh for the conversion of soap WSDL to graphql. Able to convert in graphql by using the alpha version mentioned here - #6992.

But , while executing its giving XML parser issue

{
  "errors": [
    {
      "message": "char '{' is not expected.:1:1",
      "path": [
        "impl_TestService_TestService_createTest"
      ],
      "extensions": {
        "originalError": {
          "name": "Error",
          "message": "char '{' is not expected.:1:1",
          "stack": "Error: char '{' is not expected.:1:1\n    at XMLParser.parse (C:\\WORKSPACES\\fnosoap2graphql\\node_modules\\fast-xml-parser\\src\\xmlparser\\XMLParser.js:30:21)\n    at rootValueMethod (C:\\WORKSPACES\\fnosoap2graphql\\node_modules\\@graphql-mesh\\transport-soap\\cjs\\executor.js:93:49)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async C:\\WORKSPACES\\fnosoap2graphql\\node_modules\\@envelop\\core\\cjs\\orchestrator.js:386:27\n    at async YogaServer.getResultForParams (C:\\WORKSPACES\\fnosoap2graphql\\node_modules\\graphql-yoga\\cjs\\server.js:282:26)\n    at async handle (C:\\WORKSPACES\\fnosoap2graphql\\node_modules\\graphql-yoga\\cjs\\server.js:352:25)"
        }
      }
    }
  ],
  "data": {
    "impl_TestService_TestService_createTest": null
  }
image_1v443kw image_mjtael

This is the Mutation:

mutation MyMutation {
impl_TestService_TestService_createTest(
createTestRequest:
{name: "abc", intCount: 10}
) {
name
intCount
}
}

I'm using this versions of packages:

{
  "name": "graphql.wtf-graphql-mesh",
  "private": true,
  "scripts": {
    "dev": "mesh dev"
  },
  "dependencies": {
    "@graphql-mesh/cli": "0.90.6-alpha-20240520163906-22084319331489650ea4a0ec777232715504727e",
    "@graphql-mesh/graphql": "0.98.2",
    "@graphql-mesh/runtime": "0.99.2",
    "@graphql-mesh/soap": "0.99.0-alpha-20240520163906-22084319331489650ea4a0ec777232715504727e",
    "@graphql-mesh/transform-extend": "0.98.5-alpha-20240520163906-22084319331489650ea4a0ec777232715504727e",
    "@omnigraph/soap": "0.99.0-alpha-20240520163906-22084319331489650ea4a0ec777232715504727e",
	"@graphql-mesh/plugin-response-cache": "0.98.5-alpha-20240520163906-22084319331489650ea4a0ec777232715504727e",
    "graphql": "16.8.1"
  }
}

and this is a part of my meshrc.yaml file:

sources:
  - name: TestService
    handler:
      soap:
        source: https://flexera1000-ci.flexnetoperations.com/flexnet/services/TestService?wsdl

Execution of same wsdl request through soap UI giving proper response:
image_ic04rv

@PractiseGraphql
Copy link
Author

Hi @ardatan @gilgardosh - any update on this?

@ardatan
Copy link
Owner

ardatan commented May 27, 2024

It is now part of our roadmap. We'll tackle the issue soon.
But in the meanwhile, PRs and any more contributions are welcome!

@PractiseGraphql
Copy link
Author

Hi @ardatan, May I know this issue resolve now from your side or still inprogress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants