What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
(Untitled)
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
Heyhey, how does your zedstub look like? Can you maybe also validate if the Transfer-class for this object is really generated?
0 -
Am getting the string in the Zed
0 -
also, i got the transfrer class inside the Generated
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
What do you mean with βAm getting the string in the Zedβ ? Can you please give some more code snippets?
0 -
This is the result am getting in zed
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
Can you maybe share some code-snippets from the yves side; for example where/how you call zed?
0 -
in yves I have written only one index controller
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
How does your HelloWorldClient getSalutationMessage() look like? I bet there is another class you call inside
getSaulationMessage()
inside the client0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
So I think there is something not working when you use the zed-stub inside the HelloWorld-Client-namespace
0 -
it might be that you facade is returning string directly. Can you check this?
Only transfers can travel in the zed call - so both sent and received data type should be Transfer.
0 -
HelloWorldStub class
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
ok, can you pls also share the method-body of your GatewayController -getSalutationMessage?
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
ok, also nothing wrong there as far as i can see. What is your getSalutationMessage() in the MessageGenerator returning? Can you paste the snippet here as well?
0 -
public function generateHelloMessage() { $helloMessages = ["Hello!", "Bonjour!", "Namaste!", "Hallo", "Hola!", "Ciao!"]; shuffle($helloMessages); return $helloMessages[0]; } }
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
ok, so for me it looks like you are not returning a Transfer-Object, but a pure string. Try to return a transfer-object pls
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
did it help?
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random